From aabec68f49daf885153693e01f1861b11088498f Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Wed, 19 Jun 2024 19:39:13 +0200 Subject: [PATCH] Fix Upgrade Core recipe --- .../.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 6 +++--- .../transmutation/transmutation/upgrade_core.json | 2 +- .../forcecraft/recipes/transmutation/upgrade_core.json | 2 +- .../forcecraft/datagen/data/ForceRecipeProvider.java | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index 91a1c0f1..e123e180 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,4 +1,4 @@ -// 1.20.4 2024-06-13T23:35:46.9712488 Recipes +// 1.20.4 2024-06-19T19:44:29.9781709 Recipes 336bd70bf0493a85ea26c5c55c7a0f3c6471dbf0 data/forcecraft/advancements/recipes/building_blocks/force_black_torch.json fbc6710f4224d531b5bba07f413f06838cb299ee data/forcecraft/advancements/recipes/building_blocks/force_blue_torch.json 8e907873e2ff90f9e39f2306846e7dabc767618e data/forcecraft/advancements/recipes/building_blocks/force_brick.json @@ -299,7 +299,7 @@ a60f3fa6e61866e9501eb5fb6a13830072725ac4 data/forcecraft/advancements/recipes/tr ceeab0b24d0872a031d4c71f9109810bb368ab33 data/forcecraft/advancements/recipes/transmutation/transmutation/stick_from_wooden_sword.json d92a82de62880e255504c142c62a2a7f045a7a68 data/forcecraft/advancements/recipes/transmutation/transmutation/string_from_bow.json 7aa66975ecee88e5d2632fcc9028461b22c708fd data/forcecraft/advancements/recipes/transmutation/transmutation/tripwire_hook_from_crossbow.json -85aeb930e95bca65f08900d66d736f52bc440ac0 data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json +0e7fb4394f47fce059d50f92e3658629ced112ff data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json 95624ba0c7ba6b6b77086bbcecc3e223a21aa70d data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_tome.json 19bad840f1cec8b476ca6d990a1e6d6c2c7abc4f data/forcecraft/recipes/baconator.json 8526c208fcd8a97fd02f9e9f057b6ea98110e393 data/forcecraft/recipes/black_force_furnace_from_dye.json @@ -628,7 +628,7 @@ a361232e985df1002d4d8fade4861f76b9c17ef0 data/forcecraft/recipes/transmutation/s 94f6aea5071adf60ae8dadfec8900db06f2afbc1 data/forcecraft/recipes/transmutation/stick_from_wooden_sword.json b35719087f4f9f437680290cad42ff950fb67cab data/forcecraft/recipes/transmutation/string_from_bow.json 4467733170edd8d4c1f4c83bc251f6cc8c313e8f data/forcecraft/recipes/transmutation/tripwire_hook_from_crossbow.json -c200c5d635eaf05683a619291e6c9f7f1c946aae data/forcecraft/recipes/transmutation/upgrade_core.json +b3ffa8c5244a11de6304840692fde8f812a6c813 data/forcecraft/recipes/transmutation/upgrade_core.json b7af9467900cd5fb9676acce1c3ac6abcaad0f0d data/forcecraft/recipes/transmutation/upgrade_tome.json e4a67eda1975b707da50ea8df57e758e5e123c38 data/forcecraft/recipes/treasure_core.json a5c99703bbf4bb6794ef97fa8d114988ee5c729c data/forcecraft/recipes/white_force_furnace_from_dye.json diff --git a/src/generated/resources/data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json b/src/generated/resources/data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json index 366f3126..790119fb 100644 --- a/src/generated/resources/data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json +++ b/src/generated/resources/data/forcecraft/advancements/recipes/transmutation/transmutation/upgrade_core.json @@ -6,7 +6,7 @@ "items": [ { "items": [ - "forcecraft:experience_core" + "forcecraft:experience_tome" ] } ] diff --git a/src/generated/resources/data/forcecraft/recipes/transmutation/upgrade_core.json b/src/generated/resources/data/forcecraft/recipes/transmutation/upgrade_core.json index 29df09a6..fcc693f6 100644 --- a/src/generated/resources/data/forcecraft/recipes/transmutation/upgrade_core.json +++ b/src/generated/resources/data/forcecraft/recipes/transmutation/upgrade_core.json @@ -6,7 +6,7 @@ }, { "type": "neoforge:nbt", - "item": "forcecraft:experience_core", + "item": "forcecraft:experience_tome", "tag": "{Experience:100}" } ], diff --git a/src/main/java/com/mrbysco/forcecraft/datagen/data/ForceRecipeProvider.java b/src/main/java/com/mrbysco/forcecraft/datagen/data/ForceRecipeProvider.java index 4ac32b82..8a8e733b 100644 --- a/src/main/java/com/mrbysco/forcecraft/datagen/data/ForceRecipeProvider.java +++ b/src/main/java/com/mrbysco/forcecraft/datagen/data/ForceRecipeProvider.java @@ -1764,13 +1764,13 @@ private void addTransmutationRecipes(RecipeOutput output) { .unlockedBy("has_book", has(Items.BOOK)) .save(output, new ResourceLocation(Reference.MOD_ID, "transmutation/upgrade_tome")); - ItemStack upgradeStack = new ItemStack(ForceRegistry.EXPERIENCE_CORE.get()); - CompoundTag tag = upgradeStack.getOrCreateTag(); + ItemStack experienceTomeStack = new ItemStack(ForceRegistry.EXPERIENCE_TOME.get()); + CompoundTag tag = experienceTomeStack.getOrCreateTag(); tag.putInt("Experience", 100); - upgradeStack.setTag(tag); + experienceTomeStack.setTag(tag); TransmutationRecipeBuilder.transmutation(ForceRegistry.UPGRADE_CORE.get()) - .requires(NBTIngredient.of(false, upgradeStack)) - .unlockedBy("has_experience_tome", has(ForceRegistry.EXPERIENCE_CORE.get())) + .requires(NBTIngredient.of(false, experienceTomeStack)) + .unlockedBy("has_experience_tome", has(ForceRegistry.EXPERIENCE_TOME.get())) .save(output, new ResourceLocation(Reference.MOD_ID, "transmutation/upgrade_core")); }