Skip to content

Commit

Permalink
Merge pull request #315 from Gu-ZT/Power
Browse files Browse the repository at this point in the history
修复一些问题
  • Loading branch information
Gu-ZT authored Apr 18, 2024
2 parents 96dfb2d + 1b69222 commit ff6a2eb
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Check warning on line 49 in common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java

View workflow job for this annotation

GitHub Actions / checkstyle

[Checkstyle] reported by reviewdog 🐶 Line is longer than 120 characters (found 123). Raw Output: /home/runner/work/AnvilCraftMod/AnvilCraftMod/common/src/main/java/dev/dubhe/anvilcraft/data/generator/recipe/SuperHeatingRecipesLoader.java:49:0: warning: Line is longer than 120 characters (found 123). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)
.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))
Expand Down

0 comments on commit ff6a2eb

Please sign in to comment.