Skip to content

Commit

Permalink
小修正
Browse files Browse the repository at this point in the history
  • Loading branch information
HaooooZhang committed Aug 20, 2024
1 parent 09e35f4 commit f52c5b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected void addTranslations() {
add("tooltip.whispergrove.sliced_long_dan_cao","");
add("item.whispergrove.mo_yu_gu","Cuttleflsh Bone");
add("tooltip.whispergrove.mo_yu_gu","");
add("item.whispergrove.shu_fu_pian","Roasted Prepared Common Monkshood Daughter Root,");
add("item.whispergrove.shu_fu_pian","Roasted Prepared Common Monkshood Daughter Root");
add("tooltip.whispergrove.shu_fu_pian","");
add("item.whispergrove.bone_fragment","Bone Fragment");
add("tooltip.whispergrove.bone_fragment","");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ protected void buildRecipes(RecipeOutput output) {
.unlockedBy("has_iron_ingot", has(Items.IRON_INGOT))
.save(output);

// SimpleCookingRecipeBuilder.smelting(
// Ingredient.of(Items.KELP),//输入
// RecipeCategory.FOOD,//配方类型
// Items.DIAMOND,//产物,也可以是ItemStack
// 0.1f,//经验值
// 200//烹饪时间
// )
// .unlockedBy("has_kelp", has(Blocks.KELP))
// .save(output, "dried_kelp_smelting");

SimpleCookingRecipeBuilder.smelting(
Ingredient.of(MO_YU_GU),//输入
RecipeCategory.MISC,//配方类型
Expand All @@ -64,16 +54,16 @@ protected void buildRecipes(RecipeOutput output) {
200//烹饪时间
)
.unlockedBy("has_kelp", has(Blocks.KELP))
.save(output, "mo_yu_smelting");
.save(output, "mo_yu_gu_smelting");

SimpleCookingRecipeBuilder.smelting(
Ingredient.of(Items.LILAC),//输入
Ingredient.of(Items.BONE),//输入
RecipeCategory.MISC,//配方类型
new ItemStack((Holder<Item>) CHAO_DING_XIANG),//产物,也可以是ItemStack
new ItemStack((Holder<Item>) DUAN_LONG_GU),//产物,也可以是ItemStack
0.1f,//经验值
100//烹饪时间
)
.unlockedBy("has_lilac", has(Blocks.LILAC))
.save(output, "dried_lilac_smelting");
.unlockedBy("has_lilac", has(Items.BONE))
.save(output, "duan_long_gu_smelting");
}
}

0 comments on commit f52c5b4

Please sign in to comment.