• 0

    posted a message on [1, Aug, 2012] FullMetalScripting *NEW Entity Extensions!*
    hey are these tutorials working for 1.3.1?
    Posted in: Tutorials
  • 0

    posted a message on [MC/Forge][1.6.4] Gulliver the Resizing Mod (v0.14.3 *Oct 21*): changing your perspective of Minecraft [OVER 900,000 downloads]
    Quote from UncleMion

    Very very carefully ;)

    But seriously, the POV changes are kinda intertwined throughout a bunch of classes, EntityRenderer for starters.

    Actually, I'm planning on having a sort of Gulliver API once I finish getting features added, code cleaned up and better compatibility with other mods. What are you attempting to do that requires writing your own resizing mod? It's not a simple undertaking.


    I'm just making a mod like mini miner except you get changed smaller

    edit I think I might just wait for your mod to come out though :P
    Posted in: Minecraft Mods
  • 0

    posted a message on TechGuy's Modding Tutorials
    hey techguy sorry for bringing this up again but I looked all over the entity player class and the render player class but I still couldn't find where to change the players view height please help :(
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [MC/Forge][1.6.4] Gulliver the Resizing Mod (v0.14.3 *Oct 21*): changing your perspective of Minecraft [OVER 900,000 downloads]
    hey uncle mion this is a really cool mod and I love it so diamonds for you :Diamond: :Diamond: :Diamond:

    but I'm making my own resizing mod and I was wondering how did you change the players view height?
    Posted in: Minecraft Mods
  • 0

    posted a message on TechGuy's Modding Tutorials
    hey techguy answering that conversation we had I could not find where to change the players view height I even decompiled an old mod that does this but I still couldn't find it please help :(
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    Quote from TechGuy543

    Just make your entity class extend theirs. Except, new mobs are invisible at the moment without adding them into EntityTracker so you'll have to do that as well.


    Check your PMs.


    Blocks use blockID instead of shiftedIndex.
    public int idDropped(int i, Random random, int j)
    {
    return mod_zombie.dirt.blockID;
    }



    Add one more} after the generateSurface method and before getVersion().


    The title of the NPC tutorials are not green. Therefore they are not updated. Therefore they will not work. The top of the OP states not to ask about updates or I will get this thread locked.


    Just don't add the AchievementList part of it.

    public static final Achievement nameHere = new Achievement(4560, "nameHere", 5, 7, Item.diamond, null).registerAchievement();
    public static final Achievement nameHere2 = new Achievement(4560, "nameHere", 5, 7, Item.diamond, nameHere).registerAchievement();
    Haven't tested it but it should work.


    In the super statement in the constructor of the block class you need to add in the blockIndexInTexture parameter, j.

    super(i, j, Material.plants);



    You need to edit RenderBiped. I haven't found another way to do it yet.


    Do you mean you want to add a button to the player's inventory?


    Just change the 0 next to the block's id in the public static final line of the block. Then delete the
    nameHere.blockIndexInTexture = ModLoader.addOverride(/*etc.*/); 
    line


    Have a look around in EntityPlayer. I think there is something in there for that.


    sorry but I have already looked in there and in renderplayer but it isn't there but I will check again :(
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    hey techguy sorry I keep asking question after question but I am wondering how do you change the players view height?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.0.0]MiniMiner - COMPATIBLE WITH CLAY SOLDIERS![SP]
    hey I'm working on my own shrinkinator mod and I was wondering how you changed the players view height?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2][1.5.1][1.5.0][1.4.2][1.3.2] Not Just About Boobs
    does this mod have any prerequiries?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2][1.5.1][1.5.0][1.4.2][1.3.2] Not Just About Boobs
    Quote from 2Upclock

    Oh no, Minecraft has shapes! HAAAAAH RUUUUN!! "jumps out the buildinng"


    lol love your pick how did you get it?
    Quote from newcoleco

    Er... skeletons are just bones.... and boobs aren't made of bones.


    ok
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2][1.5.1][1.5.0][1.4.2][1.3.2] Not Just About Boobs
    shouldn't skeletons have boobs too?
    Posted in: Minecraft Mods
  • 0

    posted a message on TechGuy's Modding Tutorials

    thanks diesel9012 :)

    you helped me fix most problems but now I have this problem please help



    == 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.6.0_24\bin\javac" -Xlint:-options -deprecation -g -
    source 1.6 -target 1....' failed : 1

    == ERRORS FOUND ==

    src\minecraft\net\minecraft\src\mod_motools.java:165: cannot find symbol
    symbol : class Minecraft
    location: class net.minecraft.src.mod_motools
    public boolean onTickInGame(float f, Minecraft minecraft)
    ^

    src\minecraft\net\minecraft\src\mod_motools.java:173: cannot find symbol
    symbol : class Minecraft
    location: class net.minecraft.src.mod_motools
    public boolean onTickInGUI(float f, Minecraft minecraft, GuiScreen guiscreen)
    ^

    src\minecraft\net\minecraft\src\mod_motools.java:178: cannot find symbol
    symbol : class List
    location: class net.minecraft.src.mod_motools
    List list = ((ContainerCreative)container).itemList;
    ^

    3 errors
    ==================

    !! Can not find server sources, try decompiling !!
    Press any key to continue . . .
    and here is my code

    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_motools extends BaseMod
    {
    
    //Declare Amathestore
    public static Block m_Amathestore = new Amathestore(190, 0)
    .setHardness(5F).setResistance(1F)
    .setLightValue(0.0F).setBlockName("m_Amathestore");
    
    //Declare Zirconiumore
    public static Block m_Zirconiumore = new Zirconiumore(191, 0)
    .setHardness(5F).setResistance(5F)
    .setLightValue(0.0F).setBlockName("m_Zirconiumore");
    
    //Declare Bloodrockore
    public static Block m_Bloodrockore = new Bloodrockore(192, 0)
    .setHardness(5F).setResistance(4F)
    .setLightValue(0.0F).setBlockName("m_Bloodrockore");
    
    //Declare Lightoniumore
    public static Block m_Lightoniumore = new Lightoniumore(193, 0)
    .setHardness(7F).setResistance(8F)
    .setLightValue(0.0F).setBlockName("m_Lightoniumore");
    
    //Declare Onyxore
    public static Block m_Onyxore = new Onyxore(194, 0)
    .setHardness(7F).setResistance(7F)
    .setLightValue(0.0F).setBlockName("m_Onyxore");
    
    //Declare Amathestshard
    public static final Item m_Amathestshard = new Amathestshard(2267)
    .setItemName("m_Amathestshard");
    
    //Declare Zirconiumingot
    public static final Item m_Zirconiumingot = new Zirconiumingot(2268)
    .setItemName("m_Zirconiumingot");
    
    //Declare Bloodshard
    public static final Item m_Bloodshard = new Bloodshard(2269)
    .setItemName("m_Bloodshard");
    
    //Declare Lightoniumshard
    public static final Item m_Lightoniumshard = new Lightoniumshard(2270)
    .setItemName("m_Lightoniumshard");
    
    //Declare Onyxgem
    public static final Item m_Onyxgem = new Onyxgem(2271)
    .setItemName("m_Onyxgem");
    
    //Declare Amathest Pickaxe
    public static final Item m_AmathestPickaxe = new ItemPickaxeAmathest(4748, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestPickaxe");
    
    //Declare Amathest Shovel
    public static final Item m_AmathestShovel = new ItemShovelAmathest(4749, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestShovel");
    
    //Declare Amathest Axe
    public static final Item m_AmathestAxe = new ItemAxeAmathest(4750, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestAxe");
    
    //Declare Amathest Hoe
    public static final Item m_AmathestHoe = new ItemHoeAmathest(4751, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestHoe");
    
    //Declare Amathest Sword
    public static final Item m_AmathestSword = new ItemSwordAmathest(4752, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestSword");
    
    //Declare Zirconium Pickaxe
    public static final Item m_ZirconiumPickaxe = new ItemPickaxeZirconium(2273, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumPickaxe");
    
    //Declare Zirconium Shovel
    public static final Item m_ZirconiumShovel = new ItemShovelZirconium(2274, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumShovel");
    
    //Declare Zirconium Axe
    public static final Item m_ZirconiumAxe = new ItemAxeZirconium(2275, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumAxe");
    
    //Declare Zirconium Hoe
    public static final Item m_ZirconiumHoe = new ItemHoeZirconium(2276, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumHoe");
    
    //Declare Zirconium Sword
    public static final Item m_ZirconiumSword = new ItemSwordZirconium(2277, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumSword");
    
    //Declare Lightonium Pickaxe
    public static final Item m_LightoniumPickaxe = new ItemPickaxeLightonium(2274, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumPickaxe");
    
    //Declare Lightonium Shovel
    public static final Item m_LightoniumShovel = new ItemShovelLightonium(2275, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumShovel");
    
    //Declare Lightonium Axe
    public static final Item m_LightoniumAxe = new ItemAxeLightonium(2276, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumAxe");
    
    //Declare Lightonium Hoe
    public static final Item m_LightoniumHoe = new ItemHoeLightonium(2277, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumHoe");
    
    //Declare Lightonium Sword
    public static final Item m_LightoniumSword = new ItemSwordLightonium(2278, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumSword");
    
    //Declare BloodRock Pickaxe
    public static final Item m_BloodRockPickaxe = new ItemPickaxeBloodRock(2275, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockPickaxe");
    
    //Declare BloodRock Shovel
    public static final Item m_BloodRockShovel = new ItemShovelBloodRock(2276, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockShovel");
    
    //Declare BloodRock Axe
    public static final Item m_BloodRockAxe = new ItemAxeBloodRock(2277, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockAxe");
    
    //Declare BloodRock Hoe
    public static final Item m_BloodRockHoe = new ItemHoeBloodRock(2278, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockHoe");
    
    //Declare BloodRock Sword
    public static final Item m_BloodRockSword = new ItemSwordBloodRock(2279, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockSword");
    
    //Declare Onyx Pickaxe
    public static final Item m_OnyxPickaxe = new ItemPickaxeOnyx(2276, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxPickaxe");
    
    //Declare Onyx Shovel
    public static final Item m_OnyxShovel = new ItemShovelOnyx(2277, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxShovel");
    
    //Declare Onyx Axe
    public static final Item m_OnyxAxe = new ItemAxeOnyx(2278, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxAxe");
    
    //Declare Onyx Hoe
    public static final Item m_OnyxHoe = new ItemHoeOnyx(2279, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxHoe");
    
    //Declare Onyx Sword
    public static final Item m_OnyxSword = new ItemSwordOnyx(2280, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxSword");
    
    public String getVersion()
    {
    return "motools 1.0.0";
    }
    public void load()
    {
    
    ModLoader.setInGameHook(this, true, false);
    
    ModLoader.setInGUIHook(this, true, false);
    
    }
    
    public boolean onTickInGame(float f, Minecraft minecraft)
    {
    if(minecraft.currentScreen == null)
    {
    creativeInventory = null;
    }
    return true;
    }
    public boolean onTickInGUI(float f, Minecraft minecraft, GuiScreen guiscreen)
    {
    if((guiscreen instanceof GuiContainerCreative) && !(creativeInventory instanceof GuiContainerCreative) && !minecraft.theWorld.isRemote)
    {
    Container container = ((GuiContainer)guiscreen).inventorySlots;
    List list = ((ContainerCreative)container).itemList;
    int i = 0;
    list.add(new ItemStack(m_Amathestore, 1, i));
    list.add(new ItemStack(m_Zirconiumore, 1, i));
    list.add(new ItemStack(m_Onyxore, 1, i));
    }
    creativeInventory = guiscreen;
    return true;
    }
    
    
    private static GuiScreen creativeInventory;
    
    public mod_motools()
    {
    ModLoader.registerBlock(m_Amathestore); //Amathestore
    ModLoader.registerBlock(m_Zirconiumore); //Zirconiumore
    ModLoader.registerBlock(m_Bloodrockore); //Bloodrockore
    ModLoader.registerBlock(m_Lightoniumore); //Lightoniumore
    ModLoader.registerBlock(m_Onyxore); //Onyxore
    
    //Add Tooltips
    //Blocks
    ModLoader.addName(m_Amathestore, "Amathest Ore"); //Amathestore
    ModLoader.addName(m_Zirconiumore, "Zirconium Ore"); //Zirconiumore
    ModLoader.addName(m_Bloodrockore, "Blood Rock Ore"); //Bloodrockore
    ModLoader.addName(m_Lightoniumore, "Lightonium Ore"); //Lightoniumore
    ModLoader.addName(m_Onyxore, "Onyx Ore"); //Onyxore
    //Items
    ModLoader.addName(m_Amathestshard, "Amathest Shard"); //Amathestshard
    ModLoader.addName(m_Zirconiumingot, "Zirconium Ingot"); //Zirconiumingot
    ModLoader.addName(m_Bloodshard, "Blood Shard"); //Bloodshard
    ModLoader.addName(m_Lightoniumshard, "Lightonium Shard"); //Lightoniumshard
    ModLoader.addName(m_Onyxgem, "Onyx Gem"); //Onyxgem
    //Armor Sets
    //ToolSets
    ModLoader.addName(m_AmathestPickaxe, "Amathest Pickaxe"); //Amathest Pickaxe
    ModLoader.addName(m_AmathestShovel, "Amathest Shovel"); //Amathest Shovel
    ModLoader.addName(m_AmathestAxe, "Amathest Axe"); //Amathest Axe
    ModLoader.addName(m_AmathestHoe, "Amathest Hoe"); //Amathest Hoe
    ModLoader.addName(m_AmathestSword, "Amathest Sword"); //Amathest Sword
    
    ModLoader.addName(m_ZirconiumPickaxe, "Zirconium Pickaxe"); //Zirconium Pickaxe
    ModLoader.addName(m_ZirconiumShovel, "Zirconium Shovel"); //Zirconium Shovel
    ModLoader.addName(m_ZirconiumAxe, "Zirconium Axe"); //Zirconium Axe
    ModLoader.addName(m_ZirconiumHoe, "Zirconium Hoe"); //Zirconium Hoe
    ModLoader.addName(m_ZirconiumSword, "Zirconium Sword"); //Zirconium Sword
    
    ModLoader.addName(m_LightoniumPickaxe, "Lightonium Pickaxe"); //Lightonium Pickaxe
    ModLoader.addName(m_LightoniumShovel, "Lightonium Shovel"); //Lightonium Shovel
    ModLoader.addName(m_LightoniumAxe, "Lightonium Axe"); //Lightonium Axe
    ModLoader.addName(m_LightoniumHoe, "Lightonium Hoe"); //Lightonium Hoe
    ModLoader.addName(m_LightoniumSword, "Lightonium Sword"); //Lightonium Sword
    
    ModLoader.addName(m_BloodRockPickaxe, "BloodRock Pickaxe"); //BloodRock Pickaxe
    ModLoader.addName(m_BloodRockShovel, "BloodRock Shovel"); //BloodRock Shovel
    ModLoader.addName(m_BloodRockAxe, "BloodRock Axe"); //BloodRock Axe
    ModLoader.addName(m_BloodRockHoe, "BloodRock Hoe"); //BloodRock Hoe
    ModLoader.addName(m_BloodRockSword, "BloodRock Sword"); //BloodRock Sword
    
    ModLoader.addName(m_OnyxPickaxe, "Onyx Pickaxe"); //Onyx Pickaxe
    ModLoader.addName(m_OnyxShovel, "Onyx Shovel"); //Onyx Shovel
    ModLoader.addName(m_OnyxAxe, "Onyx Axe"); //Onyx Axe
    ModLoader.addName(m_OnyxHoe, "Onyx Hoe"); //Onyx Hoe
    ModLoader.addName(m_OnyxSword, "Onyx Sword"); //Onyx Sword
    
    
    //Textures
    //Blocks
    m_Amathestore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools//motools/blocks/Amathestore.png");
    m_Zirconiumore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Zirconiumore.png");
    m_Bloodrockore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/BloodRockore.png");
    m_Lightoniumore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Lightoniumore.png");
    m_Onyxore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Onyxore.png");
    //Items
    m_Amathestshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestshard.png");
    m_Zirconiumingot.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumingot.png");
    m_Bloodshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodshard.png");
    m_Lightoniumshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumshard.png");
    m_Onyxgem.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxgem.png");
    //ToolSets
    m_AmathestPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestpickaxe.png");
    m_AmathestShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestshovel.png");
    m_AmathestAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestaxe.png");
    m_AmathestHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathesthoe.png");
    m_AmathestSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestsword.png");
    
    m_ZirconiumPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumpickaxe.png");
    m_ZirconiumShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumshovel.png");
    m_ZirconiumAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumaxe.png");
    m_ZirconiumHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumhoe.png");
    m_ZirconiumSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/mottools/items/Zirconiumsword.png");
    
    m_LightoniumPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumpickaxe.png");
    m_LightoniumShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumshovel.png");
    m_LightoniumAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumaxe.png");
    m_LightoniumHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumhoe.png");
    m_LightoniumSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumsword.png");
    
    m_BloodRockPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockpickaxe.png");
    m_BloodRockShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockshovel.png");
    m_BloodRockAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockaxe.png");
    m_BloodRockHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockhoe.png");
    m_BloodRockSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrocksword.png");
    
    m_OnyxPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxpickaxe.png");
    m_OnyxShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxshovel.png");
    m_OnyxAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxaxe.png");
    m_OnyxHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxhoe.png");
    m_OnyxSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxsword.png");
    
    
    //Recipes
    //Amathest Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Zirconium Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Lightonium Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //Onyx Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    
    //Furnace Recipes
    //Zirconiumore Smelting Recipe
    ModLoader.addSmelting
    (m_Zirconiumore.blockID, new ItemStack(m_Zirconiumingot, 1) );
    
    }
    
    public void GenerateSurface(World worldMod, Random rand, int i, int j)
    {
    for(int eexeop = 0; eexeop < 16; eexeop++)
    {
    int j6 = i + rand.nextInt(2);
    int k9 = rand.nextInt(16);
    int j12 = j + rand.nextInt(2);
    new WorldGenMinable(m_Zirconiumore.blockID, 2).generate(worldMod, rand, j6, k9, j12);
    }
    for(int uewg = 0; uewg < 16; uewg++)
    {
    int j6 = i + rand.nextInt(2);
    int k9 = rand.nextInt(16);
    int j12 = j + rand.nextInt(2);
    new WorldGenMinable(m_Bloodrockore.blockID, 4).generate(worldMod, rand, j6, k9, j12);
    }
    for(int vrxegsw = 0; vrxegsw < 128; vrxegsw++)
    {
    int j6 = i + rand.nextInt(16);
    int k9 = rand.nextInt(128);
    int j12 = j + rand.nextInt(16);
    new WorldGenMinable(m_Onyxore.blockID, 2).generate(worldMod, rand, j6, k9, j12);
    }
    }
    }


    please help :(

    Edit: yay spoilers worked :)


    nvm I fixed it that was a fail on my part

    :D
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    Quote from THeo_sA80

    hi @TechGuy543 how do you make a model walk? ive used techne to make a model but it just 'slides' if that. Please help.


    look at model biped
    from java 92
    to java 105

    just copy the legs and arms and that into your own model but change to suit your model

    hope I helped :)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    thanks diesel9012 :)

    you helped me fix most problems but now I have this problem please help



    == 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.6.0_24\bin\javac" -Xlint:-options -deprecation -g -
    source 1.6 -target 1....' failed : 1

    == ERRORS FOUND ==

    src\minecraft\net\minecraft\src\mod_motools.java:165: cannot find symbol
    symbol : class Minecraft
    location: class net.minecraft.src.mod_motools
    public boolean onTickInGame(float f, Minecraft minecraft)
    ^

    src\minecraft\net\minecraft\src\mod_motools.java:173: cannot find symbol
    symbol : class Minecraft
    location: class net.minecraft.src.mod_motools
    public boolean onTickInGUI(float f, Minecraft minecraft, GuiScreen guiscreen)
    ^

    src\minecraft\net\minecraft\src\mod_motools.java:178: cannot find symbol
    symbol : class List
    location: class net.minecraft.src.mod_motools
    List list = ((ContainerCreative)container).itemList;
    ^

    3 errors
    ==================

    !! Can not find server sources, try decompiling !!
    Press any key to continue . . .
    and here is my code

    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_motools extends BaseMod
    {
    
    //Declare Amathestore
    public static Block m_Amathestore = new Amathestore(190, 0)
    .setHardness(5F).setResistance(1F)
    .setLightValue(0.0F).setBlockName("m_Amathestore");
    
    //Declare Zirconiumore
    public static Block m_Zirconiumore = new Zirconiumore(191, 0)
    .setHardness(5F).setResistance(5F)
    .setLightValue(0.0F).setBlockName("m_Zirconiumore");
    
    //Declare Bloodrockore
    public static Block m_Bloodrockore = new Bloodrockore(192, 0)
    .setHardness(5F).setResistance(4F)
    .setLightValue(0.0F).setBlockName("m_Bloodrockore");
    
    //Declare Lightoniumore
    public static Block m_Lightoniumore = new Lightoniumore(193, 0)
    .setHardness(7F).setResistance(8F)
    .setLightValue(0.0F).setBlockName("m_Lightoniumore");
    
    //Declare Onyxore
    public static Block m_Onyxore = new Onyxore(194, 0)
    .setHardness(7F).setResistance(7F)
    .setLightValue(0.0F).setBlockName("m_Onyxore");
    
    //Declare Amathestshard
    public static final Item m_Amathestshard = new Amathestshard(2267)
    .setItemName("m_Amathestshard");
    
    //Declare Zirconiumingot
    public static final Item m_Zirconiumingot = new Zirconiumingot(2268)
    .setItemName("m_Zirconiumingot");
    
    //Declare Bloodshard
    public static final Item m_Bloodshard = new Bloodshard(2269)
    .setItemName("m_Bloodshard");
    
    //Declare Lightoniumshard
    public static final Item m_Lightoniumshard = new Lightoniumshard(2270)
    .setItemName("m_Lightoniumshard");
    
    //Declare Onyxgem
    public static final Item m_Onyxgem = new Onyxgem(2271)
    .setItemName("m_Onyxgem");
    
    //Declare Amathest Pickaxe
    public static final Item m_AmathestPickaxe = new ItemPickaxeAmathest(4748, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestPickaxe");
    
    //Declare Amathest Shovel
    public static final Item m_AmathestShovel = new ItemShovelAmathest(4749, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestShovel");
    
    //Declare Amathest Axe
    public static final Item m_AmathestAxe = new ItemAxeAmathest(4750, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestAxe");
    
    //Declare Amathest Hoe
    public static final Item m_AmathestHoe = new ItemHoeAmathest(4751, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestHoe");
    
    //Declare Amathest Sword
    public static final Item m_AmathestSword = new ItemSwordAmathest(4752, EnumToolAmathest.AMATHEST)
    .setItemName("m_AmathestSword");
    
    //Declare Zirconium Pickaxe
    public static final Item m_ZirconiumPickaxe = new ItemPickaxeZirconium(2273, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumPickaxe");
    
    //Declare Zirconium Shovel
    public static final Item m_ZirconiumShovel = new ItemShovelZirconium(2274, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumShovel");
    
    //Declare Zirconium Axe
    public static final Item m_ZirconiumAxe = new ItemAxeZirconium(2275, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumAxe");
    
    //Declare Zirconium Hoe
    public static final Item m_ZirconiumHoe = new ItemHoeZirconium(2276, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumHoe");
    
    //Declare Zirconium Sword
    public static final Item m_ZirconiumSword = new ItemSwordZirconium(2277, EnumToolZirconium.ZIRCONIUM)
    .setItemName("m_ZirconiumSword");
    
    //Declare Lightonium Pickaxe
    public static final Item m_LightoniumPickaxe = new ItemPickaxeLightonium(2274, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumPickaxe");
    
    //Declare Lightonium Shovel
    public static final Item m_LightoniumShovel = new ItemShovelLightonium(2275, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumShovel");
    
    //Declare Lightonium Axe
    public static final Item m_LightoniumAxe = new ItemAxeLightonium(2276, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumAxe");
    
    //Declare Lightonium Hoe
    public static final Item m_LightoniumHoe = new ItemHoeLightonium(2277, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumHoe");
    
    //Declare Lightonium Sword
    public static final Item m_LightoniumSword = new ItemSwordLightonium(2278, EnumToolLightonium.LIGHTONIUM)
    .setItemName("m_LightoniumSword");
    
    //Declare BloodRock Pickaxe
    public static final Item m_BloodRockPickaxe = new ItemPickaxeBloodRock(2275, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockPickaxe");
    
    //Declare BloodRock Shovel
    public static final Item m_BloodRockShovel = new ItemShovelBloodRock(2276, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockShovel");
    
    //Declare BloodRock Axe
    public static final Item m_BloodRockAxe = new ItemAxeBloodRock(2277, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockAxe");
    
    //Declare BloodRock Hoe
    public static final Item m_BloodRockHoe = new ItemHoeBloodRock(2278, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockHoe");
    
    //Declare BloodRock Sword
    public static final Item m_BloodRockSword = new ItemSwordBloodRock(2279, EnumToolBloodRock.BLOODROCK)
    .setItemName("m_BloodRockSword");
    
    //Declare Onyx Pickaxe
    public static final Item m_OnyxPickaxe = new ItemPickaxeOnyx(2276, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxPickaxe");
    
    //Declare Onyx Shovel
    public static final Item m_OnyxShovel = new ItemShovelOnyx(2277, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxShovel");
    
    //Declare Onyx Axe
    public static final Item m_OnyxAxe = new ItemAxeOnyx(2278, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxAxe");
    
    //Declare Onyx Hoe
    public static final Item m_OnyxHoe = new ItemHoeOnyx(2279, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxHoe");
    
    //Declare Onyx Sword
    public static final Item m_OnyxSword = new ItemSwordOnyx(2280, EnumToolOnyx.ONYX)
    .setItemName("m_OnyxSword");
    
    public String getVersion()
    {
    return "motools 1.0.0";
    }
    public void load()
    {
    
    ModLoader.setInGameHook(this, true, false);
    
    ModLoader.setInGUIHook(this, true, false);
    
    }
    
    public boolean onTickInGame(float f, Minecraft minecraft)
    {
    if(minecraft.currentScreen == null)
    {
    creativeInventory = null;
    }
    return true;
    }
    public boolean onTickInGUI(float f, Minecraft minecraft, GuiScreen guiscreen)
    {
    if((guiscreen instanceof GuiContainerCreative) && !(creativeInventory instanceof GuiContainerCreative) && !minecraft.theWorld.isRemote)
    {
    Container container = ((GuiContainer)guiscreen).inventorySlots;
    List list = ((ContainerCreative)container).itemList;
    int i = 0;
    list.add(new ItemStack(m_Amathestore, 1, i));
    list.add(new ItemStack(m_Zirconiumore, 1, i));
    list.add(new ItemStack(m_Onyxore, 1, i));
    }
    creativeInventory = guiscreen;
    return true;
    }
    
    
    private static GuiScreen creativeInventory;
    
    public mod_motools()
    {
    ModLoader.registerBlock(m_Amathestore); //Amathestore
    ModLoader.registerBlock(m_Zirconiumore); //Zirconiumore
    ModLoader.registerBlock(m_Bloodrockore); //Bloodrockore
    ModLoader.registerBlock(m_Lightoniumore); //Lightoniumore
    ModLoader.registerBlock(m_Onyxore); //Onyxore
    
    //Add Tooltips
    //Blocks
    ModLoader.addName(m_Amathestore, "Amathest Ore"); //Amathestore
    ModLoader.addName(m_Zirconiumore, "Zirconium Ore"); //Zirconiumore
    ModLoader.addName(m_Bloodrockore, "Blood Rock Ore"); //Bloodrockore
    ModLoader.addName(m_Lightoniumore, "Lightonium Ore"); //Lightoniumore
    ModLoader.addName(m_Onyxore, "Onyx Ore"); //Onyxore
    //Items
    ModLoader.addName(m_Amathestshard, "Amathest Shard"); //Amathestshard
    ModLoader.addName(m_Zirconiumingot, "Zirconium Ingot"); //Zirconiumingot
    ModLoader.addName(m_Bloodshard, "Blood Shard"); //Bloodshard
    ModLoader.addName(m_Lightoniumshard, "Lightonium Shard"); //Lightoniumshard
    ModLoader.addName(m_Onyxgem, "Onyx Gem"); //Onyxgem
    //Armor Sets
    //ToolSets
    ModLoader.addName(m_AmathestPickaxe, "Amathest Pickaxe"); //Amathest Pickaxe
    ModLoader.addName(m_AmathestShovel, "Amathest Shovel"); //Amathest Shovel
    ModLoader.addName(m_AmathestAxe, "Amathest Axe"); //Amathest Axe
    ModLoader.addName(m_AmathestHoe, "Amathest Hoe"); //Amathest Hoe
    ModLoader.addName(m_AmathestSword, "Amathest Sword"); //Amathest Sword
    
    ModLoader.addName(m_ZirconiumPickaxe, "Zirconium Pickaxe"); //Zirconium Pickaxe
    ModLoader.addName(m_ZirconiumShovel, "Zirconium Shovel"); //Zirconium Shovel
    ModLoader.addName(m_ZirconiumAxe, "Zirconium Axe"); //Zirconium Axe
    ModLoader.addName(m_ZirconiumHoe, "Zirconium Hoe"); //Zirconium Hoe
    ModLoader.addName(m_ZirconiumSword, "Zirconium Sword"); //Zirconium Sword
    
    ModLoader.addName(m_LightoniumPickaxe, "Lightonium Pickaxe"); //Lightonium Pickaxe
    ModLoader.addName(m_LightoniumShovel, "Lightonium Shovel"); //Lightonium Shovel
    ModLoader.addName(m_LightoniumAxe, "Lightonium Axe"); //Lightonium Axe
    ModLoader.addName(m_LightoniumHoe, "Lightonium Hoe"); //Lightonium Hoe
    ModLoader.addName(m_LightoniumSword, "Lightonium Sword"); //Lightonium Sword
    
    ModLoader.addName(m_BloodRockPickaxe, "BloodRock Pickaxe"); //BloodRock Pickaxe
    ModLoader.addName(m_BloodRockShovel, "BloodRock Shovel"); //BloodRock Shovel
    ModLoader.addName(m_BloodRockAxe, "BloodRock Axe"); //BloodRock Axe
    ModLoader.addName(m_BloodRockHoe, "BloodRock Hoe"); //BloodRock Hoe
    ModLoader.addName(m_BloodRockSword, "BloodRock Sword"); //BloodRock Sword
    
    ModLoader.addName(m_OnyxPickaxe, "Onyx Pickaxe"); //Onyx Pickaxe
    ModLoader.addName(m_OnyxShovel, "Onyx Shovel"); //Onyx Shovel
    ModLoader.addName(m_OnyxAxe, "Onyx Axe"); //Onyx Axe
    ModLoader.addName(m_OnyxHoe, "Onyx Hoe"); //Onyx Hoe
    ModLoader.addName(m_OnyxSword, "Onyx Sword"); //Onyx Sword
    
    
    //Textures
    //Blocks
    m_Amathestore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools//motools/blocks/Amathestore.png");
    m_Zirconiumore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Zirconiumore.png");
    m_Bloodrockore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/BloodRockore.png");
    m_Lightoniumore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Lightoniumore.png");
    m_Onyxore.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/motools/motools/blocks/Onyxore.png");
    //Items
    m_Amathestshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestshard.png");
    m_Zirconiumingot.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumingot.png");
    m_Bloodshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodshard.png");
    m_Lightoniumshard.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumshard.png");
    m_Onyxgem.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxgem.png");
    //ToolSets
    m_AmathestPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestpickaxe.png");
    m_AmathestShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestshovel.png");
    m_AmathestAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestaxe.png");
    m_AmathestHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathesthoe.png");
    m_AmathestSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Amathestsword.png");
    
    m_ZirconiumPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumpickaxe.png");
    m_ZirconiumShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumshovel.png");
    m_ZirconiumAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumaxe.png");
    m_ZirconiumHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Zirconiumhoe.png");
    m_ZirconiumSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/mottools/items/Zirconiumsword.png");
    
    m_LightoniumPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumpickaxe.png");
    m_LightoniumShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumshovel.png");
    m_LightoniumAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumaxe.png");
    m_LightoniumHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumhoe.png");
    m_LightoniumSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Lightoniumsword.png");
    
    m_BloodRockPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockpickaxe.png");
    m_BloodRockShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockshovel.png");
    m_BloodRockAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockaxe.png");
    m_BloodRockHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrockhoe.png");
    m_BloodRockSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Bloodrocksword.png");
    
    m_OnyxPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxpickaxe.png");
    m_OnyxShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxshovel.png");
    m_OnyxAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxaxe.png");
    m_OnyxHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxhoe.png");
    m_OnyxSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/motools/motools/items/Onyxsword.png");
    
    
    //Recipes
    //Amathest Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Amathest Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_AmathestSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Amathestshard
    , Character.valueOf('z'), Item.stick });
    //Zirconium Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Zirconium Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_ZirconiumSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Zirconiumingot
    , Character.valueOf('z'), Item.stick });
    //Lightonium Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //Lightonium Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_LightoniumSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Lightoniumshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //BloodRock Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_BloodRockSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Bloodshard
    , Character.valueOf('z'), Item.stick });
    //Onyx Pickaxe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxPickaxe, 1), new Object []{ "yyy" , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Shovel Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxShovel, 1), new Object []{ " y " , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Axe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxAxe, 1), new Object []{ "yy " , "yz " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Hoe Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxHoe, 1), new Object []{ "yy " , " z " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    //Onyx Sword Recipe
    ModLoader.addRecipe(new ItemStack(m_OnyxSword, 1), new Object []{ " y " , " y " , " z " ,
    Character.valueOf('y'), m_Onyxgem
    , Character.valueOf('z'), Item.stick });
    
    //Furnace Recipes
    //Zirconiumore Smelting Recipe
    ModLoader.addSmelting
    (m_Zirconiumore.blockID, new ItemStack(m_Zirconiumingot, 1) );
    
    }
    
    public void GenerateSurface(World worldMod, Random rand, int i, int j)
    {
    for(int eexeop = 0; eexeop < 16; eexeop++)
    {
    int j6 = i + rand.nextInt(2);
    int k9 = rand.nextInt(16);
    int j12 = j + rand.nextInt(2);
    new WorldGenMinable(m_Zirconiumore.blockID, 2).generate(worldMod, rand, j6, k9, j12);
    }
    for(int uewg = 0; uewg < 16; uewg++)
    {
    int j6 = i + rand.nextInt(2);
    int k9 = rand.nextInt(16);
    int j12 = j + rand.nextInt(2);
    new WorldGenMinable(m_Bloodrockore.blockID, 4).generate(worldMod, rand, j6, k9, j12);
    }
    for(int vrxegsw = 0; vrxegsw < 128; vrxegsw++)
    {
    int j6 = i + rand.nextInt(16);
    int k9 = rand.nextInt(128);
    int j12 = j + rand.nextInt(16);
    new WorldGenMinable(m_Onyxore.blockID, 2).generate(worldMod, rand, j6, k9, j12);
    }
    }
    }


    please help :(

    Edit: yay spoilers worked :)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    Quote from diesel9012

    @mynamedotorgdotcom is it for 1.3.1 or 1.2.5? if it is for 1.2.5, then put the ModLoader.setInGameHook, and the ModLoader.setInGUIHook in the public void load() method. You also want to put in the addOverride, addName, recipies, registerblock in there as well as you have nothing in the load() method which is where most of the code should be (if I read it correctly as you forgot the code tags, and spoiler for the classes/errors). If it is for 1.3.1 I have no idea how to add them as setInGUIHook isn't working correctly, and that is what I believe when risugami meant by he still has to fix them as it is a preliminary update(You need that method for adding in creative unless someone found another way as I cant find it / figure it out)


    thanks and it is for 1.2.5

    I'm gonna make it for 1.2.5 and then update it to 1.3.1

    btw how do you make a spoiler?
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .