use of com.builtbroken.mc.lib.recipe.item.RecipeShapedOre in project Engine by VoltzEngine-Project.
the class ItemSimpleCraftingTool method onPostInit.
@Override
public void onPostInit() {
//Hammer recipe
GameRegistry.addRecipe(new RecipeShapedOre(getHammer(), "S", "t", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK));
//Chisel recipe
GameRegistry.addRecipe(new RecipeShapedOre(getChisel(), "t", "S", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK));
//File recipe
GameRegistry.addRecipe(new RecipeTool(getFile(), "th", "Sc", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK, 'c', getChisel(), 'h', getHammer()));
GameRegistry.addRecipe(new RecipeTool(getFile(), "tc", "Sh", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK, 'c', getChisel(), 'h', getHammer()));
if (Engine.itemSheetMetalTools != null) {
GameRegistry.addRecipe(new RecipeTool(getFile(), "th", "Sc", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK, 'c', getChisel(), 'h', Engine.itemSheetMetalTools.getHammer()));
GameRegistry.addRecipe(new RecipeTool(getFile(), "tc", "Sh", 'S', OreNames.STONE, 't', OreNames.WOOD_STICK, 'c', getChisel(), 'h', Engine.itemSheetMetalTools.getHammer()));
}
//Drill recipe
GameRegistry.addRecipe(new RecipeShapedOre(getDrill(), "tGs", "Gtt", "sF ", 's', OreNames.STRING, 'G', OreNames.WOOD_GEAR, 'F', OreNames.FLINT, 't', OreNames.WOOD_STICK));
//Cutter recipe
GameRegistry.addRecipe(new RecipeTool(getCutters(), "tft", "dsh", "g g", 's', OreNames.SCREW_IRON, 'g', OreNames.ROD_IRON, 't', OreNames.INGOT_IRON, 'd', getDrill(), 'h', getHammer(), 'f', getFile()));
}
Aggregations