Mopped up dat purple drank
This commit is contained in:
parent
02e6be9d0e
commit
a03d865d4d
13 changed files with 340 additions and 605 deletions
90
common/MysticOres/Util/ToolRecipes.java
Normal file
90
common/MysticOres/Util/ToolRecipes.java
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
package MysticOres.Util;
|
||||
|
||||
import MysticOres.Items.ItemHandler;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class ToolRecipes
|
||||
{
|
||||
public static void SwordRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"#", "#", "S", 'S', "stickWood", '#', input));
|
||||
}
|
||||
|
||||
public static void PickaxeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"###", " S ", " S ", 'S', "stickWood", '#', input));
|
||||
}
|
||||
|
||||
public static void ShovelRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"#", "S", "S", 'S', "stickWood", '#', input));
|
||||
}
|
||||
|
||||
public static void AxeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"## ", "#S ", " S ", 'S', "stickWood", '#', input));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"## ", "S# ", "S ", 'S', "stickWood", '#', input));
|
||||
}
|
||||
|
||||
public static void HoeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"## ", " S ", " S ", 'S', "stickWood", '#', input));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(output, 1),
|
||||
"## ", "S ", "S ", 'S', "stickWood", '#', input));
|
||||
}
|
||||
|
||||
|
||||
public static void AdvancedSwordRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"#", "#", "S", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
}
|
||||
|
||||
public static void AdvancedPickaxeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"###", " S ", " S ", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
}
|
||||
|
||||
public static void AdvancedShovelRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"#", "S", "S", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
}
|
||||
|
||||
public static void AdvancedAxeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"## ", "#S ", " S ", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"## ", "S# ", "S ", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
}
|
||||
|
||||
public static void AdvancedHoeRecipe(Item output, ItemStack input)
|
||||
{
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"## ", " S ", " S ", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(output, 1), new Object[] {
|
||||
"## ", "S ", "S ", 'S', new ItemStack(ItemHandler.Resource, 1, 13), '#', input
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue