Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- public class mod_animalfoods extends BaseMod
- {
- public mod_animalfoods()
- {
- //Do texture override also for all of these.
- BaconRaw.iconIndex = ModLoader.addOverride("/gui/items.png", "/GlackPac/BaconRaw.png");
- BeefRaw.iconIndex = ModLoader.addOverride("/gui/items.png", "GlackPac/BeefRaw.png");
- ChickenRaw.iconIndex = ModLoader.addOverride("/gui/items.png", "GlackPac/ChickenRaw.png");
- BaconCooked.iconIndex = ModLoader.addOverride("/gui/items.png", "GlackPac/BaconCooked.png");
- BeefCooked.iconIndex = ModLoader.addOverride("/gui/items.png", "GlackPac/BeefCooked.png");
- ChickenCooked.iconIndex = ModLoader.addOverride("/gui/items.png", "GlackPac/ChickenCooked.png");
- ModLoader.AddName(BaconRaw, "Raw Bacon");
- ModLoader.AddName(BeefRaw, "Raw Beef");
- ModLoader.AddName(ChickenRaw, "Raw Chicken");
- ModLoader.AddName(BaconCooked, "Cooked Bacon");
- ModLoader.AddName(BeefCooked, "Cooked Beef");
- ModLoader.AddName(ChickenCooked, "Cooked Chicken");
- ModLoader.AddSmelting(Item.BaconRaw.shiftedIndex, new ItemStack(Item.BaconCooked));
- ModLoader.AddSmelting(Item.BeefRaw.shiftedIndex, new ItemStack(Item.BeefCooked));
- Modloader.AddSmelting(Item.ChickenRaw.shiftedIndex, new ItemStack(Item.ChickenCooked));
- }
- public String Version()
- {
- return "Beta 1.7.# - By GlackPac";
- }
- {
- // Do it for all of these, like i did Bacon Raw.
- public static Item BaconRaw = new BaconRaw(5001).setItemName("BaconRaw");
- public static Item BeefRaw = new BeefRaw(5002).setItemName("BeefRaw");
- public static Item ChickenRaw = new ChickenRaw(5003).setItemName("ChickenRaw");
- public static Item BaconCooked = new BaconCooked(5004).setItemName("BaconCooked");
- public static Item BeefCooked = new BeefCooked(5005).setItemName("BeefCooked");
- public static Item ChickenCooked = new ChickenCooked(5006).setItemName("ChickenCooked");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement