use of net.minecraftforge.oredict.ShapedOreRecipe in project BetterWithAddons by DaedalusGame.
the class InteractionBWM method registerCompressRecipe.
private static void registerCompressRecipe(ItemStack small, ItemStack big, String oreSmall, String oreBig) {
// ingot -> block
GameRegistry.addRecipe(new ShapedOreRecipe(big, "###", "###", "###", '#', oreSmall));
// block -> 9 ingot
small = small.copy();
small.setCount(9);
GameRegistry.addRecipe(new ShapelessOreRecipe(small, oreBig));
}
use of net.minecraftforge.oredict.ShapedOreRecipe in project AgriCraft by AgriCraft.
the class BlockWaterChannel method registerRecipes.
@Override
public void registerRecipes() {
// "Correct" wooden bowl recipe, so that may register channel recipe.
RegisterHelper.removeRecipe(new ItemStack(Items.BOWL));
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Items.BOWL, 4), "w w", " w ", 'w', "slabWood"));
// Register channel recipe.
CustomWoodRecipeHelper.registerCustomWoodRecipe(this, 6, true, "w w", " w ", 'w', CustomWoodRecipeHelper.MATERIAL_PARAMETER);
}
use of net.minecraftforge.oredict.ShapedOreRecipe in project AgriCraft by AgriCraft.
the class ItemNugget method registerRecipes.
@Override
public void registerRecipes() {
for (AgriNuggetType type : AgriNuggetType.values()) {
ItemStack nugget = new ItemStack(this, 9, type.ordinal());
ItemStack ingot = OreDictHelper.getIngot(type.ingot);
AgriCore.getLogger("agricraft").debug("Registering Nugget: {0} For: {1}", type.nugget, type.ingot);
if (ingot != null) {
GameRegistry.addRecipe(new ShapedOreRecipe(ingot, "nnn", "nnn", "nnn", 'n', type.nugget));
GameRegistry.addRecipe(new ShapelessOreRecipe(nugget, type.ingot));
}
}
}
use of net.minecraftforge.oredict.ShapedOreRecipe in project AgriCraft by AgriCraft.
the class ItemRake method registerRecipes.
@Override
public void registerRecipes() {
// Normal Rake Recipe
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(this, 1, 0), "fs", 'f', "fenceWood", 's', "stickWood"));
// Iron Rake Recipe
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(this, 1, 1), "fs", 'f', Blocks.IRON_BARS, 's', "stickWood"));
}
use of net.minecraftforge.oredict.ShapedOreRecipe in project ICBM-Classic by BuiltBrokenModding.
the class BlockSpikes method genRecipes.
@Override
public void genRecipes(List<IRecipe> recipes) {
recipes.add(new ShapedOreRecipe(new ItemStack(this, 6), "CCC", "BBB", 'C', Blocks.cactus, 'B', Items.iron_ingot));
recipes.add(new ShapedOreRecipe(new ItemStack(this, 1, 1), "E", "S", 'E', ICBMClassic.itemPoisonPowder, 'S', this));
recipes.add(new ShapedOreRecipe(new ItemStack(this, 1, 2), "E", "S", 'E', "dustSulfur", 'S', this));
}
Aggregations