• 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    Quote from EvenGu

    [Spoiler]


    <
    package net.minecraft.src;

    import java.util.Random;

    public class mod_Agronyst extends BaseMod
    {
    public static final Item AgronystPickaxe = (new ItemPickaxe(200, EnumToolMaterial.MATERIALAgronyst)).setItemName("AgronystPickaxe");
    public static final Item AgronystAxe = (new ItemAxe(201, EnumToolMaterial.MATERIALAgronyst)).setItemName("AgronystAxe");
    public static final Item AgronystShovel = (new ItemSpade(202, EnumToolMaterial.MATERIALAgronyst)).setItemName("AgronystShovel");
    public static final Item AgronystSword = (new ItemSword(203, EnumToolMaterial.MATERIALAgronyst)).setItemName("AgronystSword");
    public static final Item AgronystHoe = (new ItemHoe(204, EnumToolMaterial.MATERIALAgronyst)).setItemName("AgronystHoe");
    public static final Block AgronystOre = new BlockAgronystOre(160, 0).setStepSound(Block.soundStoneFootstep).setBlockName("oreAgronyst").setHardness(4.5F).setResistance(5F).setCreativeTab(CreativeTabs.tabBlock);;
    public static final Item Agronyst = new Agronyst(5000).setItemName("Agronyst");

    public void load()
    {
    AgronystPickaxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/AgronystPickaxe.png");
    AgronystAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/AgronystAxe.png");
    AgronystShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/AgronystShovel.png");
    AgronystSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/AgronystSword.png");
    AgronystHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/AgronystHoe.png");

    ModLoader.addRecipe(new ItemStack(AgronystPickaxe, 1), new Object [] {"###", " X ", " X ", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystShovel, 1), new Object [] {"#", "X", "X", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystSword, 1), new Object [] {"#", "#", "X", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystAxe, 1), new Object [] {"##", "#X ", " X", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystAxe, 1), new Object [] {"##", "X#", "X ", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystHoe, 1), new Object [] {"##", " X", " X", ('#'), Agronyst, ('X'), Item.stick});
    ModLoader.addRecipe(new ItemStack(AgronystHoe, 1), new Object [] {"##", "X ", "X ", ('#'), Agronyst, ('X'), Item.stick});

    ModLoader.addName(AgronystPickaxe, "Agronyst Pickaxe");
    ModLoader.addName(AgronystAxe, "Agronyst Axe");
    ModLoader.addName(AgronystShovel, "Agronyst Shovel");
    ModLoader.addName(AgronystSword, "Agronyst Sword");
    ModLoader.addName(AgronystHoe, "Agronyst Hoe");

    AgronystOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/textures/AgronystOre.png");
    ModLoader.registerBlock(AgronystOre);
    ModLoader.addName(AgronystOre, "AgronystOre");

    Agronyst.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/Agronyst.png");

    ModLoader.addName(Agronyst, "Agronyst");

    Agronyst.setTabToDisplayOn(CreativeTabs.tabMaterials);
    }



    public String getVersion()
    {
    return "1.3.2";
    }
    }
    >

    [Spoiler/]

    This is the error i get when using the code above. This mod is supposed to make an agronyst ore with tools.

    [Spoiler]

    <
    Minecraft has crashed!
    ----------------------

    Minecraft has stopped running because it encountered a problem; ModLoader has failed to initialize.
    This error has been saved to C:\mcp\jars\.\crash-reports\crash-2012-09-10_17.03.02-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.



    --- BEGIN ERROR REPORT 797403af --------
    Generated 10.09.12 17:03

    - Minecraft Version: 1.3.2
    - Operating System: Windows 7 (amd64) version 6.1
    - Java Version: 1.7.0_04, Oracle Corporation
    - Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
    - Memory: 958279384 bytes (913 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    - JVM Flags: 3 total; -Xincgc -Xms1024M -Xmx1024M
    - ModLoader: Mods loaded: 2
    ModLoader 1.3.2
    mod_Agronyst 1.3.2


    java.lang.NullPointerException
    at net.minecraft.src.CraftingManager.addRecipe(CraftingManager.java:189)
    at net.minecraft.src.ModLoader.addRecipe(ModLoader.java:507)
    at net.minecraft.src.mod_Agronyst.load(mod_Agronyst.java:23)
    at net.minecraft.src.ModLoader.init(ModLoader.java:952)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:186)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:86)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:404)
    at net.minecraft.client.Minecraft.run(Minecraft.java:724)
    at java.lang.Thread.run(Thread.java:722)
    --- END ERROR REPORT 5977b2b6 ----------
    >

    [Spoiler/]

    Hope you can help me JBond:)

    PS:Sorry, i dont know how to make spoilers:(


    i'm not sure if this will help but, i think it's something wrong with the crafting recipe, i think the " Agronyst" is supposed to be "mod_ Agronyst.nameofitem" or something, not sure but test it.
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    Quote from jbond98

    You need a texture overlay. Look in the armor folder in minecraft.jar

    i can't get it to work, might you go more indepth? sorry if i have spelled anything wrong. ;)
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    Quote from jbond98

    Where it says ModLoader.addArmor() you need to use one word for the armor such as ModLoader.addArmor("BHelmet") And then you have to put two textures called BHelmet_1 and BHelmet_2 inside of the folder that you specified.

    What kind of texture? the one used in "BHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/B helm.png");"? ore a new one?
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    Quote from jbond98

    I explained that in the tutorial. You just have to make the textures for the armor overlays and put the textures in the folder specified.

    i have done that, but it will not work.
    here is an image on how it looks when it's on...


    here is the code:
    package net.minecraft.src;
    public class mod_Barmor extends BaseMod
    {
    public static final Item BHelmet = new ItemArmor(5001, EnumArmorMaterial.Block, ModLoader.addArmor("Block Helmet"), 0).setItemName("yourHelmet");
    public static final Item BChestplate = new ItemArmor(5002, EnumArmorMaterial.Block, ModLoader.addArmor("Block Chestplate"), 1).setItemName("yourChestplate");
    public static final Item BLeggings = new ItemArmor(5003, EnumArmorMaterial.Block, ModLoader.addArmor("Block Leggings"), 2).setItemName("yourLeggings");
    public static final Item BBoots = new ItemArmor(5004, EnumArmorMaterial.Block, ModLoader.addArmor("Block Boots"), 3).setItemName("yourBoots");
    public void load()
    {
    	 BHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/B helm.png");
    	 BChestplate.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/B body.png");
    	 BLeggings.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/B legs.png");
    	 BBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/B boots.png");
    	 ModLoader.addRecipe(new ItemStack(BHelmet, 1), new Object [] {"###", "# #", '#', mod_blockblock.Blockblock});
    	 ModLoader.addRecipe(new ItemStack(BChestplate, 1), new Object [] {"# #", "###", "###", '#', mod_blockblock.Blockblock});
    	 ModLoader.addRecipe(new ItemStack(BLeggings, 1), new Object [] {"###", "# #", "# #", '#', mod_blockblock.Blockblock});
    	 ModLoader.addRecipe(new ItemStack(BBoots, 1), new Object [] {"# #", "# #", '#', mod_blockblock.Blockblock});
    	 ModLoader.addName(BHelmet, "Block Helmet");
    	 ModLoader.addName(BChestplate, "Block Chestplate");
    	 ModLoader.addName(BLeggings, "Block Leggings");
    	 ModLoader.addName(BBoots, "Block Boots");
    }
    public String getVersion()
    {
    	 return "1.3.2";
    }
    }
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    How to you add texture to armor that's on the player? and nice tutorials!
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    Hey JBond, my minecraft crashes when i make a new block!
    May you please help me?
    mod_newblock
    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_newblock extends BaseMod{
    
    
    public static final Block NewStone =(new NewBlock(5000, ModLoader.addOverride("/terrain.png", "/textures/Block.png")).setHardness(5F).setResistance(5F).setBlockName("newBlock").setStepSound(Block.soundStoneFootstep));
    
    public void load() {
     
      ModLoader.registerBlock(NewStone);
      ModLoader.addName(NewStone, "New Block");
     
    }
    
    public String getVersion() {
      return "New Block Mod for MineCraft 1.3.1!";
    }
    
    
    public void genarateSurface (World world, Random rand, int y, int z){
     
      for(int a = 0; a < 15; a++) {
      
       int i = y+rand.nextInt(16);
       int j = rand.nextInt(100);
       int k = z + rand.nextInt(16);
       (new WorldGenMinable(mod_newblock.NewStone.blockID, 15)).generate(world, rand, i, j, k);
    	
      }
     
    }
    
    }


    NewBlock
    package net.minecraft.src;
    public class NewBlock extends Block
    {
        protected NewBlock(int par1, int par2)
        {
    	    super(par1, par2, Material.ground);
    	    this.setCreativeTab(CreativeTabs.tabBlock);
        }
    }


    Crash:
      Minecraft has crashed!	 
    	  ----------------------	 
    Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader
    This error has been saved to C:\Users\Markus Karlsen\Desktop\MC Modding\jars\.\crash-reports\crash-2012-09-08_11.38.17-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
    --- BEGIN ERROR REPORT 10e4f942 --------
    Generated 08.09.12 11:38
    - Minecraft Version: 1.3.2
    - Operating System: Windows 7 (x86) version 6.1
    - Java Version: 1.7.0_07, Oracle Corporation
    - Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    - Memory: 971872872 bytes (926 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
    - JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    - ModLoader: Mods loaded: 1
    ModLoader 1.3.2
    
    java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.src.ModLoader.addMod(ModLoader.java:378)
    at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1369)
    at net.minecraft.src.ModLoader.init(ModLoader.java:944)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:186)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:86)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:404)
    at net.minecraft.client.Minecraft.run(Minecraft.java:724)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 5000
    at net.minecraft.src.Block.<init>(Block.java:266)
    at net.minecraft.src.Block.<init>(Block.java:300)
    at net.minecraft.src.NewBlock.<init>(NewBlock.java:7)
    at net.minecraft.src.mod_newblock.<clinit>(mod_newblock.java:11)
    ... 15 more
    --- END ERROR REPORT cc777276 ----------
    Posted in: Tutorials
  • 0

    posted a message on [1.4.7] Jbond98's Beginner/Advanced ModLoader Minecraft Modding Tutorials! -Everything Updated to 1.4.7! [Updated 1/23/2013]
    im getting this error while trying to create a item!
    here is my code:
    package net.minecraft.src;
    import java.util.Random;
    public class mod_stick extends BaseMod
    {
    public static final Item stick = new ItemBlock(5000).setItemName("stick");
    public void load()
    {
    stick.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/stick.png");
    ModLoader.addName(stick, "Stick");
    stick.setTabToDisplayOn(CreativeTabs.tabMaterials);
    }
    public String getVersion()
    {
    return "1.3.2";
    }
    }


    here is the error/crash report:
    	  Minecraft has crashed!	 
    	  ----------------------	 
    Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader
    This error has been saved to C:\Users\Markus Karlsen\Desktop\MC Modding\jars\.\crash-reports\crash-2012-09-07_18.09.58-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.
    
    --- BEGIN ERROR REPORT b0cf8fc3 --------
    Generated 07.09.12 18:09
    - Minecraft Version: 1.3.2
    - Operating System: Windows 7 (x86) version 6.1
    - Java Version: 1.7.0_07, Oracle Corporation
    - Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    - Memory: 976045080 bytes (930 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
    - JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    - ModLoader: Mods loaded: 1
    ModLoader 1.3.2
    
    java.lang.ExceptionInInitializerError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.src.ModLoader.addMod(ModLoader.java:378)
    at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1369)
    at net.minecraft.src.ModLoader.init(ModLoader.java:944)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:186)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:86)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:404)
    at net.minecraft.client.Minecraft.run(Minecraft.java:724)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 5256
    at net.minecraft.src.ItemBlock.<init>(ItemBlock.java:14)
    at net.minecraft.src.mod_stick.<clinit>(mod_stick.java:5)
    ... 15 more
    --- END ERROR REPORT 82a7a1df ----------
    Posted in: Tutorials
  • 1

    posted a message on Revenge - A Minecraft Parody of Ushers DJ Got Us Fallin in Love - Speed up
    i made a speed up of this song



    Posted in: Videos
  • 0

    posted a message on [creation] pixel art v1.0
    plizzz tell me if you find any bugs tell me. :smile.gif:
    Posted in: Maps
  • 0

    posted a message on [creation] pixel art v1.0
    Quote from minibase

    HIPO!!!!!!!!!! btw i like the map

    thx
    Posted in: Maps
  • 0

    posted a message on [creation] pixel art v1.0
    hi
    here is a map that i made
    i have worked on this for 2 weeks
    i will add more and it's more on the map
    tell me what you think and what i should build next
    here is some pics:




    banner:
    
    

    use if you want :wink.gif: :rolleyes:

    download here: http://www.mediafire.com/?3k1oangdkbgj3e1 :laugh.gif:
    Posted in: Maps
  • 0

    posted a message on [Creating Mods] Making a new music disc with ModLoader [24/7/11]
    how to i make a nice .png file to minecraft?
    Posted in: Tutorials
  • 0

    posted a message on need help to make a map.
    Quote from Tomaestro97

    in game name: Tomaestro97
    age: 14
    are you a good buider: yes i am a great builder and i am skilled with redstone as well as organic builds. I am very active and will be able to work constantly.

    Hope you choose me!

    ok here is it.
    hamachi: mc builder server
    pass:123
    Posted in: Maps
  • 0

    posted a message on need help to make a map.
    Quote from Jeman101

    umm i cant connect do i need hamachi or is there a missing portforward or something?

    hamachi name: mc server builder
    pass:123
    Posted in: Maps
  • 0

    posted a message on need help to make a map.
    the server is online
    Posted in: Maps
  • To post a comment, please or register a new account.