Skip to content

Commit 75064e9

Browse files
committed
add bowl recipe
1 parent 992f572 commit 75064e9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/main/java/com/github/gtexpert/gtwp/integration/natura/recipes/NaturaWoodRecipe.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ public static void miscRecipe() {
402402
ItemStack TrapDoor = Mods.Natura.getItem(entry.woodName + "_trap_door");
403403
ItemStack Workbench = Mods.Natura.getItem("nether_workbenches", 1, meta);
404404
ItemStack Bookshelf = Mods.Natura.getItem("nether_bookshelves", 1, meta);
405+
ItemStack Bowl = Mods.Natura.getItem("empty_bowls", 1, meta);
405406

406407
// Stick
407408
ModHandler.removeRecipeByName(
@@ -484,6 +485,16 @@ public static void miscRecipe() {
484485
.buildAndRegister();
485486
OreDictUnifier.registerOre(Bookshelf, new ItemMaterialInfo(
486487
new MaterialStack(Materials.Paper, M * 9), new MaterialStack(Materials.Wood, M * 6)));
488+
// bowl
489+
if (ConfigHolder.recipes.hardWoodRecipes) {
490+
ModHandler.removeRecipeByName(new ResourceLocation(mcModId,
491+
"nether/bowls/" + entry.woodName + "_bowl"));
492+
ModHandler.addShapedRecipe(mcModId + "/nether/bowls/" + entry.woodName + "_bowl",
493+
GTUtility.copy(3, Bowl), " k ", "PPP",
494+
'P', entry.planks);
495+
}
496+
OreDictUnifier.registerOre(Bowl,
497+
new ItemMaterialInfo(new MaterialStack(Materials.Wood, M / 4)));
487498
}
488499
}
489500
}

0 commit comments

Comments
 (0)