Member
Level 7
Apprentice System
3

Forum Posts

1 - 12 of 12

    funkey100
    12/25/2011 10:38 am
    Level 7 : Apprentice System
    Thank you for the no help you gave me. I made the mod and will be uploading it soon.
    1
    funkey100
    12/24/2011 3:46 pm
    Level 7 : Apprentice System
    Can google check my code? No. Is my code right? And why doesn't anyone just tell me, you don't have to be so harsh, this is my first mod.

    package net.minecraft.src; //Location of class file

    import java.util.Random; //Not sure why we need a random?

    public class mod_MoreRecords extends BaseMod{ //"extends BaseMod" Needed for modding with modloader
    public String getVersion()
    {
    return "1.0"; // Version, you can put whatever you want in the "" marks
    }

    public mod_MoreRecords() // Add crafting recipes, names, smelting recipes, icons, etc. here!
    {
    public void load()
    {
    ModLoader.AddName(revenge, "Revenge"); // In-Game Name

    revenge.iconIndex = ModLoader.addOverride("/gui/items.png", "/records/revenge.png"); //Image location and override

    ModLoader.AddRecipe(new ItemStack(revenge, 1), new Object[]{ //Adding a crafting recipe
    "EEE","ERE","EEE", Character.valueOf('E'), Block.stone, Character.valueOf('R'), Item.gunpowder
    });
    }
    }
    public static final Item revenge = (new ItemRecord(756,"Revenge")).setItemName("Revenge").setMaxStackSize(16); //Declares that you are adding an Item
    }
    1
    funkey100
    12/24/2011 3:21 pm
    Level 7 : Apprentice System
    Please people, stay on topic and help me fix the reobfuscate problem!
    1
    funkey100
    12/24/2011 3:10 pm
    Level 7 : Apprentice System
    Haha very funny...

    Warhawker
    SourC00kie
    WarhawkerYour using eclipse thats why.

    Use eclipse for plugins, not for mods.
    I use edit rocket.


    "You're using Eclipse" isn't an excuse. State one reason why Eclipse should only be used for plugins and not mods for mod creators.

    I really hate it when people hate on Eclipse when they don't even know what they are talking about.


    I use eclipse for plugins, But I Hear that eclipse is not good for minecraft modding, something about it creating errors when re-compiling. Maybe it's a mac thing. I was told to just stick with edit rocket for mods. Eclipse is a bit confusing as well, especially for someone who can't google.
    1
    funkey100
    12/24/2011 3:09 pm
    Level 7 : Apprentice System
    Now I have a reobfuscate error...

    1
    funkey100
    12/24/2011 2:39 pm
    Level 7 : Apprentice System
    So I replace this:
    public String Version()
    {
    return "1.0";
    }


    To this:
    GetVersion()
    {
    return "1.0";
    }


    Is that right?
    1
    funkey100
    12/24/2011 2:34 pm
    Level 7 : Apprentice System
    I did, 8th line.
    1
    funkey100
    12/24/2011 9:51 am
    Level 7 : Apprentice System
    Yeah, this IS a test. If it works, I'm planning to put more records. That's the name of the mod, More Records. Thank you for your support for my first mod!
    1
    funkey100
    12/24/2011 9:34 am
    Level 7 : Apprentice System
    I suggest you to learn Java first, find some tutorials on Youtube about Java and after your familiar with Java, find some tutorials on Youtube about modding.
    1
    funkey100
    12/17/2011 11:22 am
    Level 7 : Apprentice System
    ABCDEFGHIJKLMNOPQRSTUVWXY and X. Now I know my ABCs, next time why don't you sing with me?
    1

1 - 12 of 12

Welcome