• 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    I did that and killed a few of my mobs but they didn't drop anything, maybe it's just bad luck? But then Minecraft crashed and I got this:
    Mods loaded: 2
    ModLoader Beta 1.8.1
    net.minecraft.src.mod_Vampire 1.7.3
    
          Minecraft has crashed!      
          ----------------------      
    
    Minecraft has stopped running because it encountered a problem.
    
    If you wish to report this, please copy this entire text and email it to [email protected].
    Please include a description of what you did when the error occured.
    
    
    
    --- BEGIN ERROR REPORT 4cafb5d3 --------
    Generated 9/23/11 9:26 PM
    
    Minecraft: Minecraft Beta 1.8.1
    OS: Windows Vista (x86) version 6.0
    Java: 1.7.0, Oracle Corporation
    VM: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    LWJGL: 2.4.2
    OpenGL: Intel Cantiga version 2.0.0 - Build 7.15.10.1637, Intel
    
    java.lang.NullPointerException
    	at net.minecraft.src.Entity.moveEntity(Entity.java:484)
    	at net.minecraft.src.EntityLiving.moveEntityWithHeading(EntityLiving.java:600)
    	at net.minecraft.src.EntityLiving.onLivingUpdate(EntityLiving.java:753)
    	at net.minecraft.src.EntityLiving.onUpdate(EntityLiving.java:255)
    	at net.minecraft.src.World.updateEntityWithOptionalForce(World.java:1558)
    	at net.minecraft.src.World.updateEntity(World.java:1534)
    	at net.minecraft.src.World.updateEntities(World.java:1442)
    	at net.minecraft.client.Minecraft.runTick(Minecraft.java:1157)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:483)
    	at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 2a95137a ----------
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from Rabisu

    Could you (re?)post your code? It looks like you have two return statements, so one is being called before the method can reach the second.

    Sure, here it is:
    package net.minecraft.src;
    
    public class EntityVampire extends EntityCreature
    {
    
            public EntityVampire(World world)
            {
                    super(world);
                    texture = "/mob/vampire.png";
                    moveSpeed = 0.5F;
                    isImmuneToFire = false;
            }
    
            protected int getDropItemId()
            {
                    return Item.silk.shiftedIndex;
    				return Block.obsidian.blockID;
            }
            public boolean canBreatheUnderwater()
            {
                    return false;
            }
            protected boolean canDespawn()
            {
                    return true;
            }
            public void onEntityDeath()
            {
                    //If you know what you're doing, you can make it
                    //do cool things. e.g. explode like creeper.
            }
    }
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from StrongJoshua

    It's
    Block.obsidian.blockID

    ModLoader.AddSpawn has changed, now you need to add two more integers, the first is for the minimum amount of the mob per chunk and the second is the maximum.
    ModLoader.AddSpawn(EntityVampire.class, 250, MINIMUM, MAXIMUM, EnumCreatureType.creature);


    Are you sure? Because I got this error:
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\EntityVampire.java:17: unreachable statement
    return Block.obsidian.blockID;
    ^
    
    1 error
    ==================
    
    > Done in 10.61 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    More errors :sad.gif:
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\EntityVampire.java:17: cannot find symbol
    symbol  : variable obsidian
    location: class net.minecraft.src.Item
    return Item.obsidian.blockID;
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:12: cannot find symbol
    symbol  : method AddSpawn(java.lang.Class<net.minecraft.src.EntityVampire>,int,n
    et.minecraft.src.EnumCreatureType)
    location: class net.minecraft.src.ModLoader
    ModLoader.AddSpawn(EntityVampire.class, 250, EnumCreatureType.creature);
    ^
    
    2 errors
    ==================
    
    > Done in 11.59 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from Strengthowns

    @_Dayanna_, did you initially decompile minecraft with modloader installed on the jar? Also you need to delete "META-INF".

    Oh, that might have been the problem. I'll try decompiling again.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from StrongJoshua

    ModLoader is spelled ModLoader not Modloader. Also, are you sure you have the correct package statement? It should be
    package net.minecraft.src;


    I have the correct package statement and I corrected the lowercase but I still have a few errors:
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\EntityVampire.java:11: cannot find symbol
    symbol  : variable attackStrength
    location: class net.minecraft.src.EntityVampire
    attackStrength = 1;
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:12: cannot find symbol
    symbol  : method AddSpawn(java.lang.Class<net.minecraft.src.EntityVampire>,int,n
    et.minecraft.src.EnumCreatureType)
    location: class net.minecraft.src.ModLoader
    ModLoader.AddSpawn(EntityVampire.class, 250, EnumCreatureType.creature);
    ^
    
    2 errors
    ==================
    
    > Done in 14.00 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Quote from Strengthowns

    Change the ":" to ";". I'll get to work on sorting out this 1.8.1 code and try to update tutorials. Please be patient.

    I tried it... but then I got more errors! Sorry if I was bothering you^^; Here's the code:
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:4: cannot find symbol
    symbol: class BaseMod
    public class mod_Vampire extends BaseMod
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:14: cannot find symbol
    symbol  : variable Modloader
    location: class net.minecraft.src.mod_Vampire
    Modloader.RegisterEntityID(EntityVampire.class, "Vampire", Modloader.getUniqueEn
    tityID());
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:14: cannot find symbol
    symbol  : variable Modloader
    location: class net.minecraft.src.mod_Vampire
    Modloader.RegisterEntityID(EntityVampire.class, "Vampire", Modloader.getUniqueEn
    tityID());
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:16: cannot find symbol
    symbol  : variable Modloader
    location: class net.minecraft.src.mod_Vampire
    Modloader.AddSpawn(EntityVampire.class, 500, EnumCreatureType.creature);
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:21: cannot find symbol
    symbol  : class RenderVampire
    location: class net.minecraft.src.mod_Vampire
    map.put(EntityVampire.class, new RenderVampire(new ModelVampire(), 0.5F));
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:21: cannot find symbol
    symbol  : class ModelVampire
    location: class net.minecraft.src.mod_Vampire
    map.put(EntityVampire.class, new RenderVampire(new ModelVampire(), 0.5F));
    ^
    
    6 errors
    ==================
    
    > Done in 6.37 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    Oh, ok, thanks! So I changed the files but now I get this! Where do I put the ";"?
    Here is the code:
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:9: ';' expected
    AddMobs():
    ^
    
    1 error
    ==================
    
    > Done in 3.76 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader][1.8.1] Strength's Tutorials/Help (28/11/11) *Generation*
    I got an error when I tried this.
    == MCP v4.4 ==
    > Recompiling client...
    javac.exe -g -source 1.6 -target 1.6 -classpath "lib/;lib/*;jars/bin/minecraft.j
    ar;jars/bin/jinput.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath s
    rc/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/mine
    craft\net\minecraft\isom\*.java src/minecraft\net\minecraft\src\*.java  conf/pat
    ches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\EntityVampire.java:17: cannot find symbol
    symbol  : variable string
    location: class net.minecraft.src.Item
    return Item.string.shiftedIndex;
    ^
    
    src\minecraft\net\minecraft\src\EntityVampire.java:18: cannot find symbol
    symbol  : variable BlockID
    location: class net.minecraft.src.Block
    return Block.obsidian.BlockID;
    ^
    
    src\minecraft\net\minecraft\src\mod_Vampire.java:16: cannot find symbol
    symbol  : method AddSpawn(java.lang.Class<net.minecraft.src.EntityVampire>,int,n
    et.minecraft.src.EnumCreatureType)
    location: class net.minecraft.src.ModLoader
    ModLoader.AddSpawn(EntityVampire.class, 500, EnumCreatureType.creature);
    ^
    
    3 errors
    ==================
    
    > Done in 14.91 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader1.7.3] Adding Custom MOBs and MORE!
    Quote from Muserae

    Where ever there's an error, there will be a red underline. put your mouse over that and it will give ways to fix it.

    But I don't see any red line.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader1.7.3] Adding Custom MOBs and MORE!
    Quote from Muserae

    You forgot a ";" on line 9 in mod_vampire.

    Use Eclipse.

    I know but I don't know where I'm supposed to put the ";". I used Eclipse but I just got it and I'm not sure how to check for errors.
    Posted in: Tutorials
  • 0

    posted a message on [ModLoader1.7.3] Adding Custom MOBs and MORE!
    My only error from MCP is this:
    src\minecraft\net\minecraft\src\mod_Vampire.java:9: ';' expected
    AddMobs():
    ^
    Can someone help?
    Posted in: Tutorials
  • 0

    posted a message on [1.7.3] Aether Collaboration Mod - V1.02 - NEW MOBS, FIXES, ITEMS AND FEATURES!
    Quote from Anima_Swordking

    Hello. I installed the mod. I followed all the directions, even watched a tutorial to see what i was doing wrong. i did everything right and it just won't work. i got Risugami's Modloader too because i thought i needed it. that didn't work. and yes i deleted the META-inf folder. if there was a secret friday update like everyone was saying could that have messed up the mod? also before friday toomanyitems worked fine. then it stoppen on friday. please respond when you have the time.

    Maybe it's the order you installed? I remember when I installed there was a certain order you had to follow.
    Posted in: Minecraft Mods
  • 0

    posted a message on 1.8 Updates: Changing the Chests
    Quote from Spider101

    Something is odd to the left of the chest...

    I think it's sand block in Steve's left hand but it could be a higher sand block.
    Posted in: Minecraft News
  • 0

    posted a message on 1.8 Updates: Changing the Chests
    Quote from Jharm99

    Is the thing behind the cactus a shelf maybe?

    No I'm sure it's a chest.
    Posted in: Minecraft News
  • To post a comment, please .