Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MOD_ FILE CONTENTS:
- package net.minecraft.src;
- import java.util.Random;
- public class mod_tutorial extends BaseMod
- {
- //Blocks
- //Items
- public static final Item LSAxe = (new ItemAxe(1006,EnumToolMaterial.IRON).setItemName("LSAxe"));
- public void load()
- {
- LSAxe.iconIndex = ModLoader.addOverride("/gui/items.png","/Tools/lavastoneaxe.png");
- //Registering
- //Adding names
- ModLoader.addName(LSAxe, "Lava Stone Axe");
- //Crafting Recipes
- ModLoader.addRecipe(new ItemStack(mod_tutorial.LSAxe, 1), new Object[]
- {
- "XX ","XY "," 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