Skip to content

Commit

Permalink
Fix Wooden sign recipes (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungOnionMC authored Oct 6, 2024
1 parent 44de8a0 commit f6ea016
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@ public static void registerWoodTypeRecipe(Consumer<FinishedRecipe> provider, @No
String recipeName = hasSignRecipe ? entry.signRecipeName : name + "_sign";
if (ConfigHolder.INSTANCE.recipes.hardWoodRecipes) {
VanillaRecipeHelper.addShapedRecipe(provider, recipeName + "_iron", new ItemStack(entry.sign),
"LLL", "rPr", "sSd",
"LLL", "RPR", "sSd",
'P', entry.planks,
'r', new UnificationEntry(screw, Iron),
'R', new UnificationEntry(screw, Iron),
'L', entry.slab,
'S', entry.getStick());

Expand All @@ -509,9 +509,9 @@ public static void registerWoodTypeRecipe(Consumer<FinishedRecipe> provider, @No
.duration(200).EUt(4).save(provider);

VanillaRecipeHelper.addShapedRecipe(provider, recipeName + "_steel", new ItemStack(entry.sign, 2),
"LLL", "rPr", "sSd",
"LLL", "RPR", "sSd",
'P', entry.planks,
'r', new UnificationEntry(screw, Steel),
'R', new UnificationEntry(screw, Steel),
'L', entry.slab,
'S', entry.getStick());

Expand Down Expand Up @@ -550,9 +550,9 @@ public static void registerWoodTypeRecipe(Consumer<FinishedRecipe> provider, @No
String recipeName = hasTrapdoorRecipe ? entry.trapdoorRecipeName : name + "_trapdoor";
if (ConfigHolder.INSTANCE.recipes.hardWoodRecipes) {
VanillaRecipeHelper.addShapedRecipe(provider, recipeName + "_iron", new ItemStack(entry.trapdoor),
"bPS", "PdP", "SPb",
"BPS", "PdP", "SPB",
'P', entry.planks,
'b', new UnificationEntry(bolt, Iron),
'B', new UnificationEntry(bolt, Iron),
'S', entry.getStick());

// plank -> trapdoor assembling
Expand All @@ -564,9 +564,9 @@ public static void registerWoodTypeRecipe(Consumer<FinishedRecipe> provider, @No
.duration(200).EUt(4).save(provider);

VanillaRecipeHelper.addShapedRecipe(provider, recipeName + "_steel", new ItemStack(entry.trapdoor, 2),
"bPS", "PdP", "SPb",
"BPS", "PdP", "SPB",
'P', entry.planks,
'b', new UnificationEntry(bolt, Steel),
'B', new UnificationEntry(bolt, Steel),
'S', entry.getStick());

// plank -> trapdoor assembling
Expand Down

0 comments on commit f6ea016

Please sign in to comment.