Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public mod_General() {
- // Items //
- Item bomb = new Item(ModLoader.getUniqueEntityId()).setItemName("bomb");
- // Register and Names //
- ModLoader.AddName(bomb, "Bombs");
- // Texture
- bomb.iconIndex = ModLoader.addOverride("/gui/items.png", "/mod/bomb.png");
- // Recipes //
- ModLoader.AddRecipe(new ItemStack(bomb, 4), new Object[] { "##", "##", Character.valueOf('#'), Block.tnt});
- // Entitys //
- ModLoader.RegisterEntityID(EntityBomb.class, "Bomb", ModLoader.getUniqueEntityId());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement