• 0

    posted a message on how do i make a poll?
    wow, thanks i can't believe i didn't notice that
    Posted in: Forum Discussion & Info
  • 0

    posted a message on [1.3.2] Cardboard [Modloader]
    Quote from Kick_ur_244

    Looks neat but I find no use in it besides goofing off, it's still good effort, but paper is harder to get than leather

    maybe in your experience but i always have TONS of reeds.



    Quote from krackalot

    I'm wondering if it's all flammable? Maybe mix the tube with blaze powder to make a powerful, but not very durable weapon, and make it easy to catch on fire if you're wearing the armor? That would make it more interesting in my opinion.

    sorry i forgot to mention ALL blocks are flamable. umm how do you become more flamable i mean really what difference is there. please explainalso i am working on an extra that will add mobs.
    *hint: my picture right there is a screen shot of my current paper crane mob. they are still a work in progress.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.3.2] Cardboard [Modloader]
    i believe this was a common argument when i first released the mod. its not quite "usefull" as it is "something to do" or "something fun". thus the reason i like to add the "why not". as for an actual use i usually just use the armor because its really easy to obtain. besides it wasn't my idea it was someone else's and there is another cardboard mod that is somewhat popular already but mine was created first. i think i'll stop myself here.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.3.2] Cardboard [Modloader]
    The Original
    Cardboard Mod

    Why not!


    this mod adds cardboard to the game and is a REVIVAL of my first mod!

    you start with paper

    then you make card:

    ID: 2256

    then you make cardboard:

    ID: 2257

    Then you can make the cardboard tube:

    It does 1 heart of damage and has the same durability of wood. Makes TWO tubes
    ID: 2262

    or a Cardboard Box

    ID: 222

    or maybe some Cardboard Stairs:

    ID: 225

    and even some Cardboard Slabs:

    ID: 224

    You can also make the armor which looks like:

    they are crafted the same as regular armor and are just slightly worse than leather
    IDs: 2258-2261

    There currently ARE cardboard storage boxes BUT they aren't functional yet.
    They have the ID: 223

    Download:
    1.3.2

    Older Versions:



    requires modloader available Here


    version history:
    1.3.2 added blocks and items to creative inventory
    1.3.1 updated
    1.2.5 added stairs, slabs, and a temporary storage box
    1.1 updated
    1.0 updated
    1.8_v3 actual cardboard boxes
    1.8_v2 receive two tubes
    1.8 release

    INTSALLATION:






    1) Download and install Modloader following the directions there
    2) Run Minecraft and make sure it works
    3) Download the mod
    4) Place the .zip folder in the mod folder in the .minecraft directory
    5) Play Minecraft and enjoy hitting things with a tube!

    Banners By ME:

    New One:

    Just copy this into your signature:
    [url="http://www.minecraftforum.net/topic/1442575-132-cardboard-modloader/"][img]http://img100.imageshack.us/img100/9097/banner2wt.png[/img][/url]


    Or use this old one:

    Copy this into your sig:

    [url="http://www.minecraftforum.net/topic/1442575-132-cardboard-modloader/"][img]http://img845.imageshack.us/img845/2144/20111112101630.png[/img][/url]


    It Would be appreciated if someone could make a video for me

    thanks for reading/downloading
    Please post comments!
    Posted in: Minecraft Mods
  • 0

    posted a message on void cannot be dereferenced
    hello one more problem.

    errors:
    == MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
    # found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
    ram csvs, astyle, astyle config
    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"C:\Program Files\Java\jdk1.7.0_05\bin\javac" -Xlint:-options -deprecation -g -
    source 1.6 -target 1....' failed : 1
    == ERRORS FOUND ==
    src\minecraft\net\minecraft\src\mod_cardboard.java:20: error: void cannot be der
    eferenced
       public static final Block cardboardSlab = new Block(cSlabID, 0, Material.wood
    ).setHardness(0.5F).setStepSound(Block.soundWoodFootstep).setBlockBounds(0.0F, 0
    .0F, 0.0F, 1.0F, 0.5F, 1.0F).isOpaqueCube(false).renderAsNormalBlock(false).setB
    lockName("cardboardSlab");
    
    						    ^
    1 error
    ==================
    !! Can not find server sources, try decompiling !!
    Press any key to continue . . .



    my main class:
    package net.minecraft.src;
    import java.util.Random;
    import java.util.Map;
    public class mod_cardboard extends BaseMod
    {
       @MLProp public static int cBoxID = 222;
       @MLProp public static int sBoxID = 223;
       @MLProp public static int cSlabID = 223;
       @MLProp public static int cStairID = 223;
       @MLProp public static int cardID = 2000;
       @MLProp public static int cardboardID = 2001;
       @MLProp public static int cHelmID = 2002;
       @MLProp public static int cBodyID = 2003;
       @MLProp public static int cLegsID = 2004;
       @MLProp public static int cBootID = 2005;
       @MLProp public static int cSwordID = 2006;
       public static final Block cardboardBox = new BlockCardboardBox(cBoxID, 0).setHardness(0.5F).setStepSound(Block.soundWoodFootstep).setBlockName("cardboardBox");
       public static final Block storageBox = new BlockStorageBox(sBoxID).setHardness(1F).setStepSound(Block.soundWoodFootstep).setBlockName("storageBox");
       public static final Block cardboardSlab = new Block(cSlabID, 0, Material.wood).setHardness(0.5F).setStepSound(Block.soundWoodFootstep).setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 0.5F, 1.0F).isOpaqueCube(false).renderAsNormalBlock(false).setBlockName("cardboardSlab");
       public static final Block cardboardStair = new BlockStairs(sBoxID, cardboardBox).setBlockName("cardboardStair").setRequiresSelfNotify();
       public static final Item card = new ItemCard(cardID).setItemName("card");
       public static final Item cardboard = new ItemCardboard(cardboardID).setItemName("cardboard");
       public static final Item cardboardHelmet = (new ItemArmor(cHelmID, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 0)).setItemName("cardboardHelmet");
       public static final Item cardboardBody = (new ItemArmor(cBodyID, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 1)).setItemName("cardboardBody");
       public static final Item cardboardLegs = (new ItemArmor(cLegsID, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 2)).setItemName("cardboardLegs");
       public static final Item cardboardBoots = (new ItemArmor(cBootID, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 3)).setItemName("cardboardBoots");
       public static final Item cardboardSword = (new CardboardTube(cSwordID, EnumToolMaterialCardboard.CARDBOARD)).setItemName("cardboardSword");
      
       public static int cardboardBoxBottom;
      
       public mod_cardboard() {
    	  try
    	  {
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[cBoxID] = 30;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 1)))[cBoxID] = 60;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[sBoxID] = 40;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 1)))[sBoxID] = 80;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[cSlabID] = 30;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 1)))[cSlabID] = 60;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[cStairID] = 30;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 1)))[cStairID] = 60;
    	  }
    	  catch(java.lang.SecurityException exception)
    	  {
    		  System.out.println("Security exception thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.IllegalArgumentException exception)
    	  {
    		  System.out.println("Illegal argument thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.NoSuchFieldException exception)
    	  {
    		  System.out.println("No such field thrown.");
    		  exception.printStackTrace();
    	  }
    	  ModLoader.registerBlock(cardboardBox);
    	  ModLoader.registerBlock(storageBox);
    	  cardboardBox.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/cardboard/box.png");
    	  storageBox.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/cardboard/storage.png");
    	  cardboardSlab.blockIndexInTexture = cardboardBox.blockIndexInTexture;
    	  cardboardBoxBottom = ModLoader.addOverride("/terrain.png", "/cardboard/top.png");
    	  card.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/card.png");
    	  cardboard.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/cardboard.png");
    	  cardboardHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/hat.png");
    	  cardboardBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/chest.png");
    	  cardboardLegs.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/pants.png");
    	  cardboardBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/shoes.png");
    	  cardboardSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/tube.png");
    	  ModLoader.addName(cardboardBox, "Cardboard Box");
    	  ModLoader.addName(storageBox, "Empty Cardboard Box");
    	  ModLoader.addName(cardboardSlab, "Cardboard Slab");
    	  ModLoader.addName(cardboardStair, "Cardboard Stairs");
    	  ModLoader.addName(card, "Card");
    	  ModLoader.addName(cardboard, "Cardboard");
    	  ModLoader.addName(cardboardHelmet, "Cardboard Helmet");
    	  ModLoader.addName(cardboardBody, "Cardboard Chestplate");
    	  ModLoader.addName(cardboardLegs, "Cardboard Leggings");
    	  ModLoader.addName(cardboardBoots, "Cardboard Boots");
    	  ModLoader.addName(cardboardSword, "Cardboard Tube");;
    	  ModLoader.addRecipe(new ItemStack(cardboardBox, 1), new Object[] {
    		    "||", "||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(storageBox, 1), new Object[] {
    		    "|||", "| |", "|||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardSlab, 6), new Object[] {
    		    "|||", Character.valueOf('|'), cardboardBox
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardStair, 4), new Object[] {
    		    "|||", " ||", "  |", Character.valueOf('|'), cardboardBox
    	    });
    	  ModLoader.addRecipe(new ItemStack(card, 1), new Object[] {
    		    "|", "|", Character.valueOf('|'), Item.paper
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboard, 1), new Object[] {
    		    "|", "|", Character.valueOf('|'), card
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardHelmet, 1), new Object[] {
    		    "|||", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardBody, 1), new Object[] {
    		    "| |", "|||", "|||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardLegs, 1), new Object[] {
    		    "|||", "| |", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardBoots, 1), new Object[] {
    		    "| |", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardSword, 2), new Object[] {
    		    "|", "|", "|", Character.valueOf('|'), cardboard
    	    });
       }
       public void load()
       {
      
       }
    
       public String getVersion()
       {
    	  return "1.2.5";
       }
    }
    Posted in: Modification Development
  • 0

    posted a message on How do you update MCP to 1.3.1?
    lol, ikr. i don't use forge but i still get it. sometimes its MCP that doesn't update
    Posted in: Modification Development
  • 0

    posted a message on R3D CRAFT - Play Minecraft in High Definition (04.04.17)
    Nice Texture Pack. i like this one the most of all the 3d ones
    Posted in: Resource Packs
  • 0

    posted a message on model rendering problem?
    wow, thanks. i was iffy about those lines when they were written but they were generated by techne so iassumed they were needed thank you and +1
    Posted in: Modification Development
  • 0

    posted a message on model rendering problem?
    hi. im back i was trying to create a mob for my mod and it re-compiles and reobfuscates without error, but when i install it into the client or use the client inside MCP is has a boot problem or something. and it doesn't give me an error log so here's the script in the command console:
    == MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
    [19:59:07] 27 achievements
    [19:59:07] 182 recipes
    [19:59:07] LWJGL Version: 2.4.2
    [19:59:09] ModLoader 1.2.5 Initializing...
    [19:59:09] CONFLICT @ 2006
    [19:59:09] Overriding /gui/items.png with /cardboard/crane.png @ 38. 84 left.
    [19:59:09] Mod Initialized: mod_cardboard2 1.2.5
    [19:59:09] Mod Loaded: mod_cardboard2 1.2.5
    [19:59:09] Done.
    [19:59:09] Exception in thread "Minecraft main thread" java.lang.ExceptionInInit
    ializerError
    [19:59:09]	 at net.minecraft.client.Minecraft.startGame(Minecraft.java:424)
    [19:59:09]	 at net.minecraft.client.Minecraft.run(Minecraft.java:786)
    [19:59:09]	 at java.lang.Thread.run(Thread.java:722)
    [19:59:09] Caused by: java.lang.NullPointerException
    [19:59:09]	 at net.minecraft.src.ModelCrane.<init>(ModelCrane.java:68)
    [19:59:09]	 at net.minecraft.src.mod_cardboard2.addRenderer(mod_cardboard2.j
    ava:27)
    [19:59:09]	 at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:16
    3)
    [19:59:09]	 at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
    [19:59:09]	 at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:1
    2)
    [19:59:09]	 ... 3 more
    Press any key to continue . . .

    and here are my classes:

    mod_cardboard2:
    package net.minecraft.src;
    import java.util.Map;
    public class mod_cardboard2 extends BaseMod
    {
    public static final Item crane = new ItemCrane(2006).setItemName("crane");
    public mod_cardboard2()
    {
    	 crane.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/crane.png");
    	 ModLoader.addName(crane, "Origami Crane");
    	 ModLoader.addRecipe(new ItemStack(crane, 1), new Object[] {
    		 " | ", "|#|", Character.valueOf('|'), Item.paper, Character.valueOf('#'), Block.slowSand
    	 });
    }
    public void load()
    {
    	 ModLoader.registerEntityID(EntityCrane.class, "Crane", ModLoader.getUniqueEntityId());
    	 ModLoader.addSpawn(EntityCrane.class, 15, 5, 7, EnumCreatureType.creature);
    }
    public void addRenderer(Map map)
    {
    	 map.put(EntityCrane.class, new RenderCrane(new ModelCrane(), 0.5F));
    }
    public String getVersion()
    {
    	 return "1.2.5";
    }
    }

    ItemCrane:
    package net.minecraft.src;
    public class ItemCrane extends Item
    {
    
    public ItemCrane(int i)
    {
    	 super(i);
    	 maxStackSize = (64);
    }
    public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
    {
    	 world.spawnEntityInWorld(new EntityCrane(world));
    	 return itemstack;
    }
    }

    RenderCrane:
    package net.minecraft.src;
    import org.lwjgl.opengl.GL11;
    public class RenderCrane extends RenderLiving
    {
    	 protected ModelCrane modelCraneMain;
    	 protected float field_40296_d;
    	 public RenderCrane(ModelCrane par1ModelCrane, float par2)
    	 {
    			 this(par1ModelCrane, par2, 1.0F);
    			 modelCraneMain = par1ModelCrane;
    	 }
    	 public RenderCrane(ModelCrane par1ModelCrane, float par2, float par3)
    	 {
    			 super(par1ModelCrane, par2);
    			 modelCraneMain = par1ModelCrane;
    			 field_40296_d = par3;
    	 }
    }

    ModelCrane:
    // Date: 7/31/2012 5:57:28 PM
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX
    
    package net.minecraft.src;
    public class ModelCrane extends ModelBase
    {
    //fields
    	 ModelRenderer body;
    	 ModelRenderer bodytop;
    	 ModelRenderer neck;
    	 ModelRenderer tail;
    	 ModelRenderer head;
    	 ModelRenderer leftwing;
    	 ModelRenderer rightwing;
    
    public ModelCrane()
    {
    	 textureWidth = 28;
    	 textureHeight = 9;
    	
    	 body = new ModelRenderer(this, 4, 3);
    	 body.addBox(-0.5F, -1F, -2F, 1, 2, 4);
    	 body.setRotationPoint(0F, 23F, -1F);
    	 body.setTextureSize(28, 9);
    	 body.mirror = true;
    	 setRotation(body, 0F, 0F, 0F);
    	
    	 bodytop = new ModelRenderer(this, 6, 0);
    	 bodytop.addBox(-0.5F, -0.4666667F, -1F, 1, 1, 2);
    	 bodytop.setRotationPoint(0F, 21.5F, -1F);
    	 bodytop.setTextureSize(28, 9);
    	 bodytop.mirror = true;
    	 setRotation(bodytop, 0F, 0F, 0F);
    	
    	 neck = new ModelRenderer(this, 14, 4);
    	 neck.addBox(-0.5F, -4F, -1F, 1, 4, 1);
    	 neck.setRotationPoint(0F, 24F, -2.5F);
    	 neck.setTextureSize(28, 9);
    	 neck.mirror = true;
    	 setRotation(neck, 0.4833219F, 0F, 0F);
    	
    	 tail = new ModelRenderer(this, 0, 3);
    	 tail.addBox(-0.5F, -5F, 0F, 1, 5, 1);
    	 tail.setRotationPoint(0F, 24F, 0F);
    	 tail.setTextureSize(28, 9);
    	 tail.mirror = true;
    	 setRotation(tail, -0.7853982F, 0F, 0F);
    	
    	 head = new ModelRenderer(this, 0, 0);
    	 head.addBox(-0.5F, -0.5F, -1.5F, 1, 1, 2);
    	 head.setRotationPoint(0F, 21F, -5F);
    	 head.setTextureSize(28, 9);
    	 head.mirror = true;
    	 setRotation(head, 0F, 0F, 0F);
    	
    	 leftwing = new ModelRenderer(this, 18, 0);
    	 leftwing.addBox(0F, -5F, -2F, 1, 5, 4);
    	 leftwing.setRotationPoint(-0.5F, 23F, -1F);
    	 leftwing.setTextureSize(28, 9);
    	 leftwing.mirror = true;
    	 setRotation(leftwing, 0F, 0F, 0.5235988F);
    	
    	 rightwing.mirror = true;
    	 rightwing = new ModelRenderer(this, 18, 0);
    	 rightwing.addBox(-1F, -5F, -2F, 1, 5, 4);
    	 rightwing.setRotationPoint(0.5F, 23F, -1F);
    	 rightwing.setTextureSize(28, 9);
    	 rightwing.mirror = true;
    	 setRotation(rightwing, 0F, 0F, -0.5235988F);
    	 rightwing.mirror = false;
    }
    
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    	 super.render(entity, f, f1, f2, f3, f4, f5);
    	 setRotationAngles(f, f1, f2, f3, f4, f5);
    	 body.render(f5);
    	 bodytop.render(f5);
    	 neck.render(f5);
    	 tail.render(f5);
    	 head.render(f5);
    	 leftwing.render(f5);
    	 rightwing.render(f5);
    }
    
    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    	 model.rotateAngleX = x;
    	 model.rotateAngleY = y;
    	 model.rotateAngleZ = z;
    }
    
    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    	 super.setRotationAngles(f, f1, f2, f3, f4, f5);
    }
    
    }

    EntityCrane:
    package net.minecraft.src;
    import java.util.Random;
    public class EntityCrane extends EntityCreature
    {
    public EntityCrane(World world)
    {
    		 super(world);
    		 texture = "/mob/crane.png";
    		 moveSpeed = 0.5F;
    		 isImmuneToFire = false;
    }
    public int getMaxHealth()
    {
    		 return 6;
    }
    protected String getLivingSound()
    {
    		 return "mob.villager.default";
    }
    protected String getHurtSound()
    {
    		 return "mob.villager.defaulthurt";
    }
    protected String getDeathSound()
    {
    		 return "mob.villager.defaultdeath";
    }
    protected int getDropItemId()
    {
    		 return Item.paper.shiftedIndex;
    }
    protected boolean canDespawn()
    {
    	 return false;
    }
    }


    I've tried many varied things even using different methods but i can't fix it and i don't want to start over. oh, and this isn't completely finished yet.
    Posted in: Modification Development
  • 0

    posted a message on GUI opening problem and another error
    ah ha! i was supplying it too many variables from a separate class that i didn't put here

    oh, posted before looking. ill try your suggestion too
    thanks for your help everyone. and Apophenia thank you. my way messed up a bunch of other stuff.
    Posted in: Modification Development
  • 0

    posted a message on GUI opening problem and another error
    thanks but the GUI opening problem still remains
    Posted in: Modification Development
  • 0

    posted a message on GUI opening problem and another error
    i plan on updating my mod again and i decided to add an awaited storage block.
    but when i recompile i get these errors:

    == MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
    # found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
    ram csvs, astyle, astyle config
    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"C:\Program Files\Java\jdk1.7.0_05\bin\javac" -Xlint:-options -deprecation -g -
    source 1.6 -target 1....' failed : 1
    == ERRORS FOUND ==
    src\minecraft\net\minecraft\src\BlockStorageBox.java:17: error: constructor BoxG
    ui in class BoxGui cannot be applied to given types;
    	  ModLoader.openGUI(entityplayer, new BoxGui());
    									  ^
      required: World,EntityPlayer,Minecraft
      found: no arguments
      reason: actual and formal argument lists differ in length
    src\minecraft\net\minecraft\src\mod_cardboard.java:8: error: cannot find symbol
       public static final Block storageBox = new BlockStorageBox(223, 0).sethardnes
    s(1F).setStepSound(Block.soundWoodFootstep).setblockName("storageBox");
    																	 ^
      symbol:   method sethardness(float)
      location: class BlockStorageBox
    2 errors
    ==================
    !! Can not find server sources, try decompiling !!
    Press any key to continue . . .


    here are the classes you need:

    BlockStorageBox:

    package net.minecraft.src;
    import java.util.Random;
    public class BlockStorageBox extends Block
    {
       public BlockStorageBox(int i, int j)
       {
    	  super(i, Material.wood);
    	  blockIndexInTexture = j;
    	   
       }
      
       public void onBlockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
       {
    	  ModLoader.openGUI(entityplayer, new BoxGui());
       }
      
    }


    mod_cardboard:

    package net.minecraft.src;
    import java.util.Random;
    import java.util.Map;
    public class mod_cardboard extends BaseMod
    {
       public static final Block cardboardBox = new BlockCardboardBox(222, 0).setHardness(0.5F).setStepSound(Block.soundWoodFootstep).setBlockName("cardboardBox");
       public static final Block storageBox = new BlockStorageBox(223, 0).sethardness(1F).setStepSound(Block.soundWoodFootstep).setblockName("storageBox");
       public static final Item card = new ItemCard(2000).setItemName("card");
       public static final Item cardboard = new ItemCardboard(2001).setItemName("cardboard");
       public static final Item cardboardHelmet = (new ItemArmor(2002, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 0)).setItemName("cardboardHelmet");
       public static final Item cardboardBody = (new ItemArmor(2003, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 1)).setItemName("cardboardBody");
       public static final Item cardboardLegs = (new ItemArmor(2004, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 2)).setItemName("cardboardLegs");
       public static final Item cardboardBoots = (new ItemArmor(2005, EnumArmorMaterial.CLOTH, ModLoader.addArmor("cardboard"), 3)).setItemName("cardboardBoots");
       public static final Item cardboardSword = (new CardboardTube(2006, EnumToolMaterialCardboard.CARDBOARD)).setItemName("cardboardSword");
      
       public static int cardboardBoxBottom;
      
       public mod_cardboard() {
    	  try
    	  {
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[222] = 30;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 1)))[222] = 60;
    	  }
    	  catch(java.lang.SecurityException exception)
    	  {
    		  System.out.println("Security exception thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.IllegalArgumentException exception)
    	  {
    		  System.out.println("Illegal argument thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.NoSuchFieldException exception)
    	  {
    		  System.out.println("No such field thrown.");
    		  exception.printStackTrace();
    	  }
    	  try
    	  {
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 0)))[223] = 30;
    		  ((int[]) (ModLoader.getPrivateValue(BlockFire.class, Block.fire, 2)))[223] = 60;
    	  }
    	  catch(java.lang.SecurityException exception)
    	  {
    		  System.out.println("Security exception thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.IllegalArgumentException exception)
    	  {
    		  System.out.println("Illegal argument thrown.");
    		  exception.printStackTrace();
    	  }
    	  catch(java.lang.NoSuchFieldException exception)
    	  {
    		  System.out.println("No such field thrown.");
    		  exception.printStackTrace();
    	  }
    	  ModLoader.registerBlock(cardboardBox);
    	  ModLoader.registerBlock(storageBox);
    	  cardboardBox.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/cardboard/box.png");
    	  storageBox.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/cardboard/top.png");
    	  cardboardBoxBottom = ModLoader.addOverride("/terrain.png", "/cardboard/top.png");
    	  card.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/card.png");
    	  cardboard.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/cardboard.png");
    	  cardboardHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/hat.png");
    	  cardboardBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/chest.png");
    	  cardboardLegs.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/pants.png");
    	  cardboardBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/shoes.png");
    	  cardboardSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/cardboard/tube.png");
    	  ModLoader.addName(cardboardBox, "Cardboard Box");
    	  ModLoader.addName(storageBox, "Empty Cardboard Box");
    	  ModLoader.addName(card, "Card");
    	  ModLoader.addName(cardboard, "Cardboard");
    	  ModLoader.addName(cardboardHelmet, "Cardboard Helmet");
    	  ModLoader.addName(cardboardBody, "Cardboard Chestplate");
    	  ModLoader.addName(cardboardLegs, "Cardboard Leggings");
    	  ModLoader.addName(cardboardBoots, "Cardboard Boots");
    	  ModLoader.addName(cardboardSword, "Cardboard Tube");;
    	  ModLoader.addRecipe(new ItemStack(cardboardBox, 1), new Object[] {
    		    "||", "||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(storageBox, 1), new Object[] {
    		    "|||", "| |", "|||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(card, 1), new Object[] {
    		    "|", "|", Character.valueOf('|'), Item.paper
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboard, 1), new Object[] {
    		    "|", "|", Character.valueOf('|'), card
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardHelmet, 1), new Object[] {
    		    "|||", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardBody, 1), new Object[] {
    		    "| |", "|||", "|||", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardLegs, 1), new Object[] {
    		    "|||", "| |", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardBoots, 1), new Object[] {
    		    "| |", "| |", Character.valueOf('|'), cardboard
    	    });
    	  ModLoader.addRecipe(new ItemStack(cardboardSword, 2), new Object[] {
    		    "|", "|", "|", Character.valueOf('|'), cardboard
    	    });
       }
       public void load()
       {
      
       }
    
       public String getVersion()
       {
    	  return "1.2.5";
       }
    }
    Posted in: Modification Development
  • 0

    posted a message on Request: Update my mod?
    nope, sorry. i really have to stick with my own mods
    other's confuse me because i have no idea whats going on
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Request: Update my mod?
    working on it. (last time i tried this i failed horribly. [i tried to update the better blocks mod])
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on A Mod
    sorry, but i don't think anyone can help you very much. not enough info. and what do you mean by texture pack friendly
    Posted in: Requests / Ideas For Mods
  • To post a comment, please .