• 0

    posted a message on TechGuy's Modding Tutorials
    ok i got a new error i know what it is it can't find the texture in the folder i specified so can someone please tell me what i should write here
    Namehere.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/pathtoyourfile/image.png");
    and excactly where i should put my png's for testing not for final version (just tell me what you do when your testing)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on DrWho mod (1.2.4) (Early Development)
    this part of the modding thread is for mods that don't have downloads yet and im not ready to release my mod if you read earlier posts you will see there will be a download sometime in april
    Posted in: Mods Discussion
  • 0

    posted a message on TechGuy's Modding Tutorials
    here is the crash report for my error (6 posts up)

    Mods loaded: 1
    ModLoader 1.2.4
    
    	  Minecraft has crashed!	  
    	  ----------------------	  
    
    Minecraft has stopped running because it encountered a problem.
    
    
    
    
    --- BEGIN ERROR REPORT 2f72aab9 --------
    Generated 30/03/12 5:16 PM
    
    Minecraft: Minecraft 1.2.4
    OS: Windows XP (x86) version 5.1
    Java: 1.7.0_03, Oracle Corporation
    VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    LWJGL: 2.4.2
    OpenGL: ATI Radeon Xpress 1150 x86/MMX/3DNow!/SSE2 version 2.0.6388 WinXP Release, ATI Technologies Inc.
    
    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:286)
    	at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1278)
    	at net.minecraft.src.ModLoader.init(ModLoader.java:848)
    	at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:156)
    	at net.minecraft.src.RenderManager.<init>(RenderManager.java:85)
    	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:12)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:422)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:783)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    	at net.minecraft.src.Block.<init>(Block.java:242)
    	at net.minecraft.src.mod_gallifrey.<clinit>(mod_gallifrey.java:7)
    	... 15 more
    --- END ERROR REPORT aa40f8dc ----------
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    hi can somebody please help me out i get an error on startup because i put all my mod_ classes into 1 it worked before i had 3 separate classes
    package net.minecraft.src;
    
    import java.util.Map;
    
    public class mod_gallifrey extends BaseMod
    {
    public static final Block cheese = new Block(160, null).setBlockName("cheese").setHardness(1F).setResistance(2F).setLightValue(3F);
    	
    	
    	   public void load()
    	   {
    				  /* sontaran */
    	   		ModLoader.registerEntityID(sontaran.class,   "sontaran.png", ModLoader.getUniqueEntityId());
    	   		ModLoader.addSpawn(sontaran.class, 12, 4, 10, EnumCreatureType.monster);
    	   		
    	   		/* cheese Block */
    	   		cheese.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/mods/cheese.png");
    	   		ModLoader.registerBlock(cheese);
    	   		ModLoader.addName(cheese, "cheeseblock");
    	   		ModLoader.addRecipe(new ItemStack(cheese, 9), new Object [] {"###", 3, Character.valueOf('#'), Item.bucketMilk});
    	   		
    	   		/* cyberman */
    	   		ModLoader.registerEntityID(cyberman.class, "cyberman.png", ModLoader.getUniqueEntityId());
    	   		ModLoader.addSpawn(cyberman.class, 12, 3, 8, EnumCreatureType.monster);
    	   }
    	  
    	   public void addRenderer(Map map)
    	   {
    	   		map.put(sontaran.class, new RenderBiped(new ModelBiped(), 0.5F));
    	   }
    	  
    	   public String getVersion()
    	   {
    	   		return "1.2.4";
    	   }
    	  
    }
     package net.minecraft.src;
    
    import java.util.Random;
    
    public class cyberman extends EntityMob
    {
    public cyberman(World world)
    {
    	super(world);
    	texture = "cyberman.png";
    	moveSpeed = 0.05F;
    attackStrength = 100;
    }
    
    public int getMaxHealth()
    {
    	return 14;
    }
    protected String getLivingSound()
    {
    		return "mob.slime.default";
    }
    
    protected String getHurtSound()
    {
    		return "mob.slime.defaulthurt";
    }
    
    protected String getDeathSound()
    {
    		return "mob.slime.defaultdeath";
    }
    
    protected int getDropItemId()
    {
    		return Item.ingotIron.shiftedIndex;
    }
    
    protected boolean canDespawn()
    {
    		return true;
    }
    
    }
    package net.minecraft.src;
    
    import java.util.Random;
    
    public class sontaran extends EntityMob
    {
       	 public sontaran(World world)
       	 {
    		   	 super(world);
    		   	 texture = "sontaran.png";
    		   	 moveSpeed = 0.2F;
       	 attackStrength = 6;
       	 }
    		
       	 public int getMaxHealth()
       	 {
    		   	 return 30;
       	 }
    
    		protected String getHurtSound()
    		{
    				return "mob.villager.defaulthurt";
    		}
    
    		protected String getDeathSound()
    		{
    				return "mob.villager.defaultdeath";
    		}
    
    		protected int getDropItemId()
    		{
    				return Item.ingotIron.shiftedIndex;
    		}
    		
    		protected boolean canDespawn()
    		{
    				return true;
    		}
    
    }

    there is all the classes i have added to the game but i get an error when i start minecraft
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on DrWho mod (1.2.4) (Early Development)
    I am Aware of the other doctor who mod being developed but that is not set to be released for quite some time so this will fill your doctor who cravings until then because theirs will be much better than ours because they have a lot more people
    Posted in: Mods Discussion
  • 0

    posted a message on TechGuy's Modding Tutorials
    heres the sontaran.java
    package net.minecraft.src;
    import java.util.Random;
    public class sontaran extends EntityMob
    {
    	    public sontaran(World world)
    	    {
    			    super(world);
    			    texture = "sontaran.png";
    			    moveSpeed = 0.2F;
    	    attackStrength = 6;
    	    }
    	    public int getMaxHealth()
    	    {
    			    return 30;
    	    }
    	    protected String getHurtSound()
    	    {
    			    return "mob.villager.defaulthurt";
    	    }
    	    protected String getDeathSound()
    	    {
    			    return "mob.villager.defaultdeath";
    	    }
    	    protected int getDropItemId()
    	    {
    			    return Item.ingotIron.shiftedIndex;
    	    }
    	   
    	    protected boolean canDespawn()
    	    {
    			    return true;
    	    }
    }

    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    ok thanks heres my error

    package net.minecraft.src;
    import java.util.Map;
    public class mod_gallifrey extends BaseMod
    {
    public static final Block cheese = new Block(160, null).setBlockName("cheese").setHardness(1F).setResistance(2F).setLightValue(3F);
       
       
    	   public void load()
    	   {
    				  /* sontaran */
    			   ModLoader.registerEntityID(sontaran.class,   "sontaran.png", ModLoader.getUniqueEntityId());
    			   ModLoader.addSpawn(sontaran.class, 12, 4, 10, EnumCreatureType.monster);
    			  
    			   /* cheese Block */
    			   cheese.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/mods/cheese.png");
    			   ModLoader.registerBlock(cheese);
    			   ModLoader.addName(cheese, "cheeseblock");
    			   ModLoader.addRecipe(new ItemStack(cheese, 9), new Object [] {"###", 3, Character.valueOf('#'), Item.bucketMilk});
    	   }
    	 
    	   public void addRenderer(Map map)
    	   {
    			   map.put(sontaran.class, new RenderBiped(new ModelBiped(), 0.5F));
    	   }
    	 
    	   public String getVersion()
    	   {
    			   return "1.2.4";
    	   }
    	 
    }


    Mods loaded: 1
    ModLoader 1.2.4
    	  Minecraft has crashed!	 
    	  ----------------------	 
    Minecraft has stopped running because it encountered a problem.
    
    
    --- BEGIN ERROR REPORT 2f72aab9 --------
    Generated 28/03/12 7:01 PM
    Minecraft: Minecraft 1.2.4
    OS: Windows XP (x86) version 5.1
    Java: 1.7.0_03, Oracle Corporation
    VM: Java HotSpotâ„¢ Client VM (mixed mode), Oracle Corporation
    LWJGL: 2.4.2
    OpenGL: ATI Radeon Xpress 1150 x86/MMX/3DNow!/SSE2 version 2.0.6388 WinXP Release, ATI Technologies Inc.
    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:286)
        at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1278)
        at net.minecraft.src.ModLoader.init(ModLoader.java:848)
        at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:156)
        at net.minecraft.src.RenderManager.&--#60;init&--#62;(RenderManager.java:85)
        at net.minecraft.src.RenderManager.&--#60;clinit&--#62;(RenderManager.java:12)
        at net.minecraft.client.Minecraft.startGame(Minecraft.java:422)
        at net.minecraft.client.Minecraft.run(Minecraft.java:783)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
        at net.minecraft.src.Block.&--#60;init&--#62;(Block.java:242)
        at net.minecraft.src.mod_gallifrey.&--#60;clinit&--#62;(mod_gallifrey.java:7)
        ... 15 more
    --- END ERROR REPORT 3f90236b ----------



    the error is definitely in the mod_ file because it was working when i had more than 1 mod_ file then i gave it to my friend to put the codes into 1 mod_ file and i tried it and it didn't work this error occurred on start up. I didn't compile before testing if that makes a difference (my friend compiles before testing)

    p.s to make code tags you MUST type code in capse e.g [CODE1] works but [code1] does not
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    how do you post code or spoilers i can't figure out how? i have an error but i don't want to post it cause it will be massive

    also can you please do a tutorial on making ranged mobs?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on DrWho mod (1.2.4) (Early Development)
    We are progressing incredibly fast but even so this won't be completely finished for at least 3 months but hopefully there will be a download sometime in April.
    Posted in: Mods Discussion
  • 1

    posted a message on DrWho mod (1.2.4) (Early Development)
    Hi, me and my friend making a mod for minecraft 1.2.4
    It is a DrWho themed mod here are my ideas so far:

    you will spawn on Gallifrey with the red grass and three suns. you will then find your TARDIS nearby (will be a 3x2x2 block) when you right click on the door side it will open a GUI with a few different places from DrWho episodes (i will add more as time goes by).

    you will have a 50% chance of going to that place and a 50% chance of going to another random place on the list where you will land in the open (not in your TARDIS).you have to solve a problem and save the universe to find your TARDIS to move on to the next place (you will not be able to go back to Gallifrey, all DrWho fans will know why). I will also add a sonic screwdriver to open iron doors with a right click and blow up TNT from 10 blocks away.

    These are my ideas but i welcome more ideas from you. Please don't get angry with my ideas or if yours don't make it into the mod.

    also can you guys please post your favorite DrWho creatures/episodes?
    Posted in: Mods Discussion
  • 0

    posted a message on TechGuy's Modding Tutorials
    Hi, how would i make an item that when you right clicked on an iron door with it it would open?

    I'm trying to make a dr who mod (sonic screwdriver)
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on TechGuy's Modding Tutorials
    hey when I'm making a block where should i put the path for the image while I'm testing the mod?

    also what is the code you type in to add milk bucket into a crafting recipe (like block.stone is stone)
    Posted in: Mapping and Modding Tutorials
  • 1

    posted a message on GLORIUSNESS tekkit 2.1.1 server
    can i please be whitlisted
    ign:harrisonthegreat
    i have had prior experience as a mod but i will not go aggro if i don't get it.
    i was playing yesterday and already have a small base with pigkebab38 and wish to continue because i really got attached to it.
    also i am from Australia so i can monitor the server when your not awake
    Posted in: PC Servers
  • 0

    posted a message on Want to play 1.8 Early? Here's How!
    guys i ko'ed an enderman it drops ender pearls yayayayay then i almost got killed by skeleton lol
    Posted in: Minecraft News
  • 0

    posted a message on Want to play 1.8 Early? Here's How!
    mesa found enderman omg im so happy :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
    Posted in: Minecraft News
  • To post a comment, please or register a new account.