Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- import java.util.Random;
- public class mod_tutorial extends BaseMod
- {
- //Blocks
- //Items
- public static final Item LSSpade = (new ItemSpade(1005,EnumToolMaterial.IRON).setItemName("LSSpade"));
- public void load()
- {
- LSSpade.iconIndex = ModLoader.addOverride("/gui/items.png","/Tools/lavastoneshovel.png");
- //Registering
- //Adding names
- ModLoader.addName(LSSpade, "Lava Stone Shovel");
- //Crafting Recipes
- ModLoader.addRecipe(new ItemStack(mod_tutorial.LSSpade, 1), new Object[]
- {
- " X "," Y "," Y ", 'X', mod_tutorial.LavaStone, 'Y', Item.stick //Crafting Line
- });
- //Smelting Recipes
- //Shapeless Recipes
- }
- public String getVersion()
- {
- return "1.2.5";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment