Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
- // Jad home page: http://www.kpdus.com/jad.html
- // Decompiler options: packimports(3) braces deadcode
- public class mod_YOURMOD extends BaseMod
- {
- public mod_YOURMOD()
- {
- YOURITEM = new ItemYOURITEM(3000/*number between 256-32000*/).setIconIndex(0/*numbers between 0 and 255 OR you can use ModLoader.addOverride("/gui/items.png", "/gui/tank.png") to use another 16x16 .pgn file*/).setItemName("YOURITEM");
- ModLoader.AddName(YOURITEM, "YOURITEM"); //used for the popup that says what the item is
- }
- public String Version()
- {
- return "1.3_01";
- }
- public void AddRecipes(CraftingManager craftingmanager)
- {
- craftingmanager.addRecipe(new ItemStack(YOURITEM, 1), new Object[] {
- " ##","#X#","###", Character.valueOf('X'), Block.stoneOvenIdle, Character.valueOf('#'), Item.ingotIron
- });//check the Item file and the Block file for usable names
- }
- public static Item YOURITEM;
- static
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement