• 0

    posted a message on Moar Food Please! (mod request)
    I'll make it if you want
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on The animal egg mod!
    It wasnt a joke, because animals are persistent now they wont respawn once you kill them, so if u killed enough of them, you would have an animal-less world. Animal breeding is being introduced so that more animals become available.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Fixing This Error? and more
    Thanks for the help everyone, it works now. i should of realized about that line. oh well.

    Anyone know where to change the texture of the boat when you place it down? and which line of the code you need to modify so it never breaks unless the player hits it a couple of times?


    EDIT: i think i found where, in the EntityIronBoat.java file, but dont know what to change it to. not sure if its the right line though

    public boolean canBeCollidedWith()
        {
            return !isDead;
        }
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    Quote from Ercinee

    Psst:

    public static final Item ItemGlasses = new ItemGlasses(801).setItemName("ig");
    itemGlasses.iconIndex = ModLoader.addOverride("/gui/items.png", "/glass.png");
    ModLoader.AddName(itemGlasses "ItemGlasses");


    One of these is not like the others. :biggrin.gif:

    Hint: Yeah. Case error.



    Thankyou!!!!! for all your help, a bit of trial and error fixed it (public static final!)
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    Sorry, now ive got more

    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_Glasses.java:11: error: cannot find symbol
    itemGlasses.iconIndex = ModLoader.addOverride("/gui/items.png", "/glass.png");
    ^
    
    symbol:   variable itemGlasses
    location: class mod_Glasses
    src\minecraft\net\minecraft\src\mod_Glasses.java:12: error: cannot find symbol
    ModLoader.AddName(itemGlasses, "ItemGlasses");
    ^
    
    symbol:   variable itemGlasses
    location: class mod_Glasses
    src\minecraft\net\minecraft\src\mod_Glasses.java:13: error: cannot find symbol
    ModLoader.AddRecipe(new ItemStack(itemGlasses , 12), new Object []{
    ^
    
    symbol:   variable itemGlasses
    location: class mod_Glasses
    3 errors
    1 warning
    ==================
    
    > Done in 10.48 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .



    I'm guessing this is another case issue but i cant find any errors
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    Thanks! Almost all errors gone now


    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_Glasses.java:14: error: '}' expected
    "* *", "* *", "***", Character.valueOf('*'), block.glass;
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:14: error: ';' expected
    "* *", "* *", "***", Character.valueOf('*'), block.glass;
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:15: error: illegal start of exp
    ression
    });
    ^
    
    3 errors
    1 warning
    ==================
    
    > Done in 2.47 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .


    Know anything about the illegal start of expression error i keep getting? also, do you think that Henry The Coder does good modding tutorials? because whenever i try and do it, even if i have my code identical to his, i get errors
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    still getting these after fixing that. I get the illegal start of type error on almost every mod. always at the same place. is there a different way to do it?


    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_Glasses.java:12: error: ')' expected
    ModLoader.AddName(itemGlasses "ItemGlasses");
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:12: error: illegal start of exp
    ression
    ModLoader.AddName(itemGlasses "ItemGlasses");
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:14: error: '}' expected
    "* *", "* *", "***" Character.valueOf('*') = block.glass;
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:15: error: illegal start of typ
    e
    });
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:18: error: class, interface, or
     enum expected
    public String Version()
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:21: error: class, interface, or
     enum expected
    }
    ^
    
    6 errors
    1 warning
    ==================
    
    > Done in 2.47 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .
    Posted in: Modification Development
  • 0

    posted a message on Help Please!! Error when recompiling
    i am trying to make a glass which will eventually be part of a drinks mod. when recompiling i receive these 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_Glasses.java:4: error: '{' expected
    public class mod_Glasses extends BaseMod
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:11: error: ')' expected
    ModLoader.AddName(itemGlasses "ItemGlasses");
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:11: error: illegal start of exp
    ression
    ModLoader.AddName(itemGlasses "ItemGlasses");
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:13: error: '}' expected
    "* *", "* *", "***" Character.valueOf('*') = block.glass;
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:14: error: illegal start of typ
    e
    });
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:17: error: class, interface, or
     enum expected
    public String Version()
    ^
    
    src\minecraft\net\minecraft\src\mod_Glasses.java:20: error: class, interface, or
     enum expected
    }
    ^
    
    7 errors
    1 warning
    ==================
    
    > Done in 2.43 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .




    Here is my mod_Glasses.java file

    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_Glasses extends BaseMod
    
    	public static final Item ItemGlasses = new ItemGlasses(801).setItemName("ig");
    	
    	public mod_Glasses()
    	{
    		itemGlasses.iconIndex = ModLoader.addOverride("/gui/items.png", "/glass.png");
    		ModLoader.AddName(itemGlasses "ItemGlasses");
    		ModLoader.AddRecipe(new ItemStack(itemHenry, 12), new object []{
    			"* *", "* *", "***" Character.valueOf('*') = block.glass;
    		});
    	}
    
    	public String Version()
    	{
    		return "3.14159265";
    	}
    }




    Here is my ItemGlasses.java file


    package net.minecraft.src;
    
    public class ItemGlasses extends Item
    {
    	public ItemGlasses (int i)
    	{
    		
    		super (i);
    		maxStackSize = 64;
    	}
    }
    Posted in: Modification Development
  • 0

    posted a message on Fixing This Error? and more
    Thanks!!!!


    I tried to recompile after fixing those and came up with only these

    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_ironboat.java:4: error: mod_ironboat is not
    abstract and does not override abstract method Version() in BaseMod
    public class mod_ironboat extends BaseMod
    ^
    
    src\minecraft\net\minecraft\src\mod_ironboat.java:17: error: cannot return a val
    ue from method whose result type is void
    return "3.14159265";
    ^
    
    2 errors
    1 warning
    ==================
    
    > Done in 12.01 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .



    Here is my mod_ironboat.java:

    package net.minecraft.src;
    import java.util.Random;
    
    public class mod_ironboat extends BaseMod
    {
    	public static final Item itemIronBoat = new ItemIronBoat(850).setItemName("iboat");
    	public mod_ironboat()
    	{
    		itemIronBoat.iconIndex = ModLoader.addOverride("/gui/items.png", "/ironboat.png");
    		ModLoader.AddName(itemIronBoat, "ItemIronBoat");
    		ModLoader.AddRecipe(new ItemStack(itemIronBoat, 1), new Object[] {
    			"#B#", "C#C", Character.valueOf('#'), Block.blockSteel, Character.valueOf('C'), Item.ingotIron
    	});
    
    
    	{
    		return "3.14159265";
    	}
    }
    }
    Posted in: Modification Development
  • 0

    posted a message on Fixing This Error? and more
    Quote from Ercinee

    Since it's in ItemIronBoat.java, I'm pretty sure, my hunch was right. It's kind of weird, that javac doesn't whine for the wrong class name first. It already knows it wont work by the time it gets to

    public class ItemIronBoatSomethingElse {


    I've tested it earlier today, and it results in the exact same error. :]



    Thanks for the help, I found the error, it was in the public class line of ItemIronBoat. I had ItemBIronBoat instead.


    After I fixed that, I ran into more errors recompiling


    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_boat.java:4: error: mod_boat is not abstract
     and does not override abstract method Version() in BaseMod
    public class mod_boat extends BaseMod
    ^
    
    src\minecraft\net\minecraft\src\mod_boat.java:9: error: non-static variable icon
    Index cannot be referenced from a static context
    ItemIronBoat.iconIndex = ModLoader.addOverride("/gui/items.png", "/ironboat.png"
    );
    ^
    
    src\minecraft\net\minecraft\src\mod_boat.java:10: error: cannot find symbol
    ModLoader.AddName(itemIronBoat, ItemIronBoat);
    ^
    
    symbol:   variable ItemIronBoat
    location: class mod_boat
    src\minecraft\net\minecraft\src\mod_boat.java:11: error: cannot find symbol
    ModLoader.AddRecipe(new ItemStack(ItemIronBoat, 1), new Object[] {
    ^
    
    symbol:   variable ItemIronBoat
    location: class mod_boat
    src\minecraft\net\minecraft\src\mod_boat.java:12: error: cannot find symbol
    "#B#", "C#C", Character.valueOf('#'), Block.blockIron, Character.valueOf('C'), I
    tem.ingotiron.shiftedIndex
    ^
    
    symbol:   variable blockIron
    location: class Block
    src\minecraft\net\minecraft\src\mod_boat.java:12: error: cannot find symbol
    "#B#", "C#C", Character.valueOf('#'), Block.blockIron, Character.valueOf('C'), I
    tem.ingotiron.shiftedIndex
    ^
    
    symbol:   variable ingotiron
    location: class Item
    src\minecraft\net\minecraft\src\mod_boat.java:17: error: cannot return a value f
    rom method whose result type is void
    return "3.14159265";
    ^
    
    7 errors
    1 warning
    ==================
    
    > Done in 12.01 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .






    here's my ItemIronBoat.java

    package net.minecraft.src;
    
    
    // Referenced classes of package net.minecraft.src:
    //            Item, EntityPlayer, Vec3D, MathHelper, 
    //            World, MovingObjectPosition, EnumMovingObjectType, Block, 
    //            EntityBoat, ItemStack
    
    public class ItemIronBoat extends Item
    {
    
        public ItemIronBoat(int i)
        {
            super(i);
            maxStackSize = 1;
        }
    
        public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
        {
            float f = 1.0F;
            float f1 = entityplayer.prevRotationPitch + (entityplayer.rotationPitch - entityplayer.prevRotationPitch) * f;
            float f2 = entityplayer.prevRotationYaw + (entityplayer.rotationYaw - entityplayer.prevRotationYaw) * f;
            double d = entityplayer.prevPosX + (entityplayer.posX - entityplayer.prevPosX) * (double)f;
            double d1 = (entityplayer.prevPosY + (entityplayer.posY - entityplayer.prevPosY) * (double)f + 1.6200000000000001D) - (double)entityplayer.yOffset;
            double d2 = entityplayer.prevPosZ + (entityplayer.posZ - entityplayer.prevPosZ) * (double)f;
            Vec3D vec3d = Vec3D.createVector(d, d1, d2);
            float f3 = MathHelper.cos(-f2 * 0.01745329F - 3.141593F);
            float f4 = MathHelper.sin(-f2 * 0.01745329F - 3.141593F);
            float f5 = -MathHelper.cos(-f1 * 0.01745329F);
            float f6 = MathHelper.sin(-f1 * 0.01745329F);
            float f7 = f4 * f5;
            float f8 = f6;
            float f9 = f3 * f5;
            double d3 = 5D;
            Vec3D vec3d1 = vec3d.addVector((double)f7 * d3, (double)f8 * d3, (double)f9 * d3);
            MovingObjectPosition movingobjectposition = world.rayTraceBlocks_do(vec3d, vec3d1, true);
            if(movingobjectposition == null)
            {
                return itemstack;
            }
            if(movingobjectposition.typeOfHit == EnumMovingObjectType.TILE)
            {
                int i = movingobjectposition.blockX;
                int j = movingobjectposition.blockY;
                int k = movingobjectposition.blockZ;
                if(!world.multiplayerWorld)
                {
                    if(world.getBlockId(i, j, k) == Block.snow.blockID)
                    {
                        j--;
                    }
                    world.entityJoinedWorld(new EntityBoat(world, (float)i + 0.5F, (float)j + 1.0F, (float)k + 0.5F));
                }
                itemstack.stackSize--;
            }
            return itemstack;
        }
    }



    its the same as the standard ItemBoat.java but with the names changed
    Posted in: Modification Development
  • 0

    posted a message on Slime mod?
    I decompiled the mod and looked at the code, everything seems like it should work with the 1.8

    But I'm just starting at Java so I wouldnt know. Sorry.
    Posted in: Modification Development
  • 0

    posted a message on Fixing This Error? and more
    Trying to make an iron boat, I get this when i try to recompile:

    == 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 ==
    
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\ItemIronBoat.java:12: error: invalid method decl
    aration; return type required
    public ItemIronBoat(int i)
    ^
    
    1 error
    1 warning
    ==================
    
    > Done in 10.68 seconds
    > Recompiling server...
    !! Can not find server sources !!
    Press any key to continue . . .




    Anyone know how to fix the problem?

    Any suggestions greatly appreciated
    Posted in: Modification Development
  • 0

    posted a message on Mod Requests
    Quote from warfighter67

    Mo' Boats

    Make some more boats:

    Iron boat:


    Can be used in lava and won't break if you crash it. Destroying the boat returns it to the player.

    Motor boat engine:


    Combine an iron boat with an engine and it becomes a Motor Boat. Motor boats are like iron boats, but they can accelerate to 3x the speed of a normal boat. Accelerates twice as fast as a normal boat and turns better.

    Also, there could be something called a Steam Boat:



    This boat is like an iron boat, but goes 2x as fast, and can break through ice.

    Also, just for fun, I designed a Diamond Boat.

    Diamond Boat Frame:


    Diamond Boat Wings:


    Combine the frame with an engine behind the frame and two wings on either side and you have a Diamond Boat. It can:

    Travel in lava
    Never break
    Go 5x as fast as a normal boat
    Turn on a dime
    Press [Space] while using the boat to do a jump. The boat will jump 16 blocks high and slowly glide down. This jump can be performed in water or on land. You can control the boat while in the air. You cannot jump again while in mid-air though.




    I'll have a go at making this :smile.gif:

    There is a similar mod HoverBoat which looks pretty useful. This is the last post i can make till 6:15am. Do you want the boats to be stackable?
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Mod Requests
    Quote from penguino6971

    can u make a toy car that u can control to drive. THen when u press space the car explodes BOOM



    kinda like the RC-XD on Black Ops?
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Mod Requests
    As in the title, I'm taking requests for mods, but I can only do ones i think would be in my depth. I can make mods for tools, armour, items, food and poision, etc.
    Posted in: Requests / Ideas For Mods
  • To post a comment, please .