• 0

    posted a message on Stuck with one Error
    RegisterEntityID takes a Class, String, and int. Perhaps you mean:
    Modloader.RegisterEntityID(EntityInsaneMiner.class, "InsaneMiner", Modloader.getUniqueEntityId());
    Posted in: Mods Discussion
  • 1

    posted a message on The essentials?
    Have you looked in the tutorials section?
    Posted in: Mods Discussion
  • 0

    posted a message on Recompiles fine, Game Doesn't work. Help?
    Probably mis-matched lengths for the strings in the recipe.
    Posted in: Mods Discussion
  • 0

    posted a message on HELP With Error(s) Please.
    IMHO, learn some Java before trying to mod. Variables, methods, argument lists - these are all covered in the early lessons of Java tutorials, the New Boston videos, etc.
    Posted in: Mods Discussion
  • 0

    posted a message on HELP With Error(s) Please.
    foo(int,int) is not the same as foo(int) or foo(). Java 101.
    Posted in: Mods Discussion
  • 0

    posted a message on LightPlank
    Install a clean minecraft.jar into MCP/jars/bin, and then install ModLoader into that as normal. Run updatemcp next, and then decompile.
    Posted in: Mods Discussion
  • 0

    posted a message on LightPlank
    ModLoader.AddName(lightPlank, "Light Plank");
    int textureID = ModLoader.addOverride("/terrain.png", "/myfolder/myimg.png");

    But that's if you're using ModLoader. If you are not, then things get a bit harder, and your mod may be incompatible with other mods that add blocks or items.

    Without ModLoader, the change to the lang file looks OK, so not sure why it is working. I've only had my images work if they are in the jar in MCP/jars/bin, but that's with 16x16 images for ModLoader - I have no experience modifying the terrain.png.
    Posted in: Mods Discussion
  • 1

    posted a message on Hey could I just ask a quick question?
    Whatever you think is best. Most mods with multiple items, blocks, etc, use one mod_ file. There is no reason you couldn't have a different mod_file for every individual object.

    Of course, the mod_ file doesn't define the objects, so you may or may not need individual classes for those depending of if you are just using base classes or defining/extending your own.

    And then there are related files and classes, depending on the object. For example, a block might require a tile entity and even a container and GUI,
    Posted in: Mods Discussion
  • 0

    posted a message on Will anyone help me make a mod
    Then there are lots of tutorials in that section of the forum, and more on YouTube.
    Posted in: Mods Discussion
  • 0

    posted a message on Will anyone help me make a mod
    Do you know any Java? If not, I would start there.
    Posted in: Mods Discussion
  • 0

    posted a message on Is There a No Rain Mod
    CJB's ModPack has a weather control function. SPC probably does too. I'm not aware of any mod that only stops rain.
    Posted in: Mods Discussion
  • 0

    posted a message on How to verify an inventory item
    Is MountItem an integer? Is it a shifted item ID?
    Posted in: Mods Discussion
  • 0

    posted a message on [HELP] I have a weird error
    Quote from Slay3R?

    You can't do the following:
    BlockUpgrade = new BlockUpgrade(221,0);


    You're creating a variable that has the same name as the class, rename the variable to something different (EG upgradeBlock).

    Actually, that is legal Java. However, I recommend against it since it can confuse the person coding or reading the code.

    As already stated, the problem is with the constructor being called vs. the constructor that was declared. Java 101. (C++ 101 too, ftw)
    Posted in: Mods Discussion
  • 0

    posted a message on Help!
    How to install a mod:
    1) Force update to get a clean version of MC
    2) Install the mod according to directions
    3) Force update to get a clean version of MC
    4) Install the mod according to directions
    5) Force update to get a clean version of MC
    6) Install the mod according to directions

    Repeat for infinity. (Or stop at step 2 if you want to keep the mod installed.)
    Posted in: Mods Discussion
  • 0

    posted a message on MCP Recomplie error
    Using MCP: Install a clean jar, install ModLoader, decompile, updatemcp

    Using some magic mod maker: ask in the thread for that magic mod maker
    Posted in: Mods Discussion
  • To post a comment, please or register a new account.