diff --git a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java index edad1fed3..026fe140d 100644 --- a/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java +++ b/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java @@ -42,14 +42,12 @@ public static void init(RegistrateRecipeProvider provider) { .save(provider, AnvilCraft.of("heating/" + BuiltInRegistries.BLOCK.getKey(Blocks.LAVA).getPath())); AnvilRecipe.Builder.create(RecipeCategory.MISC) .icon(Items.LAVA_BUCKET) - .hasBlock(ModBlocks.HEATER.get(), new Vec3(0.0, -2.0, 0.0), Map.entry(HeaterBlock.LIT, true)) + .hasBlock(ModBlocks.HEATER.get(), new Vec3(0.0, -2.0, 0.0), Map.entry(OVERLOAD, false)) .hasBlock(Blocks.CAULDRON) .hasItemIngredient(new Vec3(0.0, -1.0, 0.0), 1, ModItemTags.STONE_FORGE) .setBlock(Blocks.LAVA_CAULDRON) - .unlockedBy(AnvilCraftDatagen.hasItem(ModItemTags.STONE_FORGE), - AnvilCraftDatagen.has(ModItemTags.STONE_FORGE)) - .save(provider, AnvilCraft - .of("heating/" + BuiltInRegistries.BLOCK.getKey(Blocks.LAVA).getPath()) + "_forge"); + .unlockedBy(AnvilCraftDatagen.hasItem(ModItemTags.STONE_FORGE), AnvilCraftDatagen.has(ModItemTags.STONE_FORGE)) + .save(provider, AnvilCraft.of("heating/" + BuiltInRegistries.BLOCK.getKey(Blocks.LAVA).getPath())); AnvilRecipe.Builder.create(RecipeCategory.MISC) .icon(ModItems.ROYAL_STEEL_INGOT) .hasBlock(ModBlocks.HEATER.get(), new Vec3(0.0, -2.0, 0.0), Map.entry(OVERLOAD, false))