• 1

    posted a message on [GUI] Button help.

    Learn Java. Try again.

    How can you assume that they don't know java from this question?
    Posted in: Modification Development
  • 1

    posted a message on [HELP][FIXED}nullpointer exception (read reply 5).
    Well, I'm not completely sure what your asking, but if I understand, you want to add that code to onTickInGame()? In that case just get the player from the minecraft instance like mc.thePlayer.inventory.getCurrentItem()
    Edit:Ninja'd xD
    Posted in: Modification Development
  • 1

    posted a message on mcp won't create files
    You have to add a minecraft.jar to the jars folder. Check the MCP site for a tutorial on how to set it up.
    Posted in: Modification Development
  • 1

    posted a message on Inventory Stack Size Help
    In TileEntityChest, there's a method getInventoryStackLimit(). I believe that's what you want.
    Posted in: Modification Development
  • 1

    posted a message on Change texture on right click.
    You'll have to use multiple id's or metadata, else it will change all of your blocks to the same texture.
    Posted in: Modification Development
  • 1

    posted a message on Help with errors when recompiling?
    Your very welcome. I would be more than thankful if you could hit the little green plus button in the bottom right of my post :smile.gif:
    Posted in: Modification Development
  • 1

    posted a message on Help with errors when recompiling?
    You need to capitalize enumtoolcrystal like you did in the EnumToolCrystal class.
    Also please use [code] tags.
    Posted in: Modification Development
  • 1

    posted a message on Help with errors when recompiling?
    src/minecraft/net/minecraft/src/ItemToolCrystal.java:29: operator + cannot be applied to int,enumtoolcrystal.getDamageVsEntity
    damageVsEntity = j + enumtoolcrystal.getDamageVsEntity();

    getDamageVsEntity() isn't returning an integer.

    src/minecraft/net/minecraft/src/ItemToolCrystal.java:20: cannot find symbol
    symbol : class enumtoolcrystal
    location: class net.minecraft.src.ItemToolCrystal
    protected ItemToolCrystal(int i, int j, enumtoolcrystal enumtoolcrystal, Block ablock[])

    It can't find a class named enumtoocrystal.
    I might be able to help if you could show me ItemToolCrystal and enumtoolcrystal.
    Posted in: Modification Development
  • 1

    posted a message on Mod Crash
    Quote from Mindlessweezal


    ModLoader.AddRecipe(new ItemStack(present1, 4), new Object[]{
    " XX", " XX", " ", Character.valueOf('X'), Block.cloth
    });
    ModLoader.AddRecipe(new ItemStack(present2, 4), new Object[]{
    " XX", " X ", " ", Character.valueOf('X'), Block.cloth
    });
    ModLoader.AddRecipe(new ItemStack(present3, 4), new Object[]{
    " XX", " XX", "X ", Character.valueOf('X'), Block.cloth
    });
    ModLoader.AddRecipe(new ItemStack(present4, 4), new Object[]{
    " XX", " XX", "XX ", Character.valueOf('X'), Block.cloth
    });
    ModLoader.AddRecipe(new ItemStack(SuperPresent, 4), new Object[]{
    " XY", " ZA", " ", Character.valueOf('X'), mod_Christmas.present1, Character.valueOf('Y'), mod_Christmas.present2, Character.valueOf('Z'), mod_Christmas.present3, Character.valueOf('A'), mod_Christmas.present4
    });



    Remove the whitespace in your recipes, so they should look like this:
    ModLoader.AddRecipe(new ItemStack(present1, 4), new Object[]{
    			"XX", "XX",Character.valueOf('X'), Block.cloth
    		});
    Posted in: Modification Development
  • 1

    posted a message on Mod Crash
    Block id's can't be over 255. Change them to 200 or something.
    Posted in: Modification Development
  • To post a comment, please .