Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Created by Fury157. Do not distribute.*/
- package net.minecraft.src;
- import java.util.Map;
- public class mod_C4 extends BaseMod
- {
- public mod_C4()
- {
- /*Names the C4*/
- ModLoader.addName( C4, "C4" );
- /*adds recipe*/
- ModLoader.addRecipe( new ItemStack( C4, 1 ), new Object[] {
- "$", "#","#", Character.valueOf('$'),Item.silk, Character.valueOf('#'), Item.gunpowder
- });
- /*adds the graphic*/
- C4.iconIndex = ModLoader.addOverride("/gui/items.png", "/C4/C4.png");
- /*----------------*/
- }
- public String getVersion()
- {
- return ("1.2.5");
- }
- /*makes the item*/
- public static Item C4;
- /*--------------*/
- static
- {
- C4 = (new Item (1501)).setIconCoord(8, 7).setItemName("C4");
- }
- public void load()
- {
- }
- public void addRenderer(Map map)
- {
- map.put(net.minecraft.src.EntityC4.class, new RenderC4(mod_C4.C4.iconIndex));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment