• 1

    posted a message on Age Limits
    I know exactly how you feel. I am only 11, however Im way more mature than most 14 year olds I know... so whenever a server asks for my name I always say PREFER NOT TO DISCLOSE.
    Posted in: Discussion
  • 1

    posted a message on [WIP]Bone Realm! Need Developers!!!
    Hi, I am currently working on a bone realm mod.
    It will probably be somewhat like the nether but not all red and firey.
    This mod will require ModLoader and ShockAhPI.
    Not much is done but i do need coders so if you are interested please leave a reply.
    Please Leave reply's with ideas for the mod (items, blocks, mobs, crafting, smelting, portal, etc...)

    Current Coder Team:
    jonah876 (Modeling, The actual dimension, Items, Blocks)
    mad_hattie (Ideas, Textures)
    Babadoc (Ideas)
    eatakiwibirdMr (Ideas)
    LDinsy1 (Ideas)
    DiEvAl (Topic Desc. (The Bacon Burnt Bones Thingy))

    THANKS TO TT8989 FOR THE IDEA

    WE NOW HAVE OUR OWN CHAT!!! CLICK HERE TO GO THERE!!!

    Click HERE To Keep Track Of Ideas And What Will Be In The Final Product!!!

    =====================================
    What's Done
    ======================================
    Legend:
    Red = Not Done
    Orange = Working On It
    Green = Done
    ==========================================================
    Blocks
    Items
    Mobs
    Portal (Need Help, Leave a Reply)



    Screenshots:
    COMING SOON!

    Banners:
    Banner1
    Paste This Code Into Your Signature For Banner1!!!
    [url=http://www.minecraftforum.net/topic/497459-wipbone-realm-need-developers/][img]http://imgur.com/CRLeN.png[/img][/url]

    PREVIEW:
    Posted in: Mods Discussion
  • 1

    posted a message on Java code help please!
    Use the following method:
    	public void GenerateSurface(World world, Random rand, int chunkX, int chunkZ)
    	{
    		for(int i = 0; i >45; i++)
    			{
    				int randPosX = chunkX + rand.nextInt(16);
    				int randPosY = rand.nextInt(6);
    				int randPosZ = chunkZ = rand.nextInt(16);
    				(new WorldGenMinable(YOURBLOCK.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
    			}
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
                   ModLoader.AddRecipe(new ItemStack(BlockEmerald, 1), new Object[] {
                            "***","***","***", Character.valueOf('*'), mod_itemSpurux.itemSpurux
                    });
                    ModLoader.AddRecipe(new ItemStack(mod_itemSpurux.itemSpurux, 9), new Object[] {
                            " * ", Character.valueOf('*'), BlockEmerald
                    });
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
    Also, tell me what blocks and items are declared in what class (example, ietmspurux in mod_itemspurux, ect.)
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
    Quote from Spurux

    Didnt work ):

    EDIT:
    I just realised i forgot some of the error report from MCP so here it is:

    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_BlockEmerald.java:28: cannot find symbol
    symbol  : variable mod_itemEmeraldcrystal
    location: class net.minecraft.src.mod_BlockEmerald
    "***","***","***", Character.valueOf('*'), mod_itemEmeraldcrystal
    ^
    
    src\minecraft\net\minecraft\src\mod_BlockEmerald.java:30: cannot find symbol
    symbol  : variable mod_itemEmeraldcrystal
    location: class net.minecraft.src.mod_BlockEmerald
    ModLoader.AddRecipe(new ItemStack(mod_itemEmeraldcrystal, 9), new Object[] {
    ^
    
    2 errors
    ==================


    Post mod_BlockEmerald
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
    Quote from Spurux

    I have + you.

    I got one more quesiton tho.
    What should i use if i want to craft a block using mod_itemSpurux?

    Right now i'm using this code:

    		ModLoader.AddRecipe(new ItemStack(BlockSpurux, 1), new Object[] {
    			"***","***","***", Character.valueOf('*'), mod_itemSpurux
    		});
    		ModLoader.AddRecipe(new ItemStack(mod_itemSpurux, 9), new Object[] {
    			" * ", Character.valueOf('*'), BlockSpurux
    		});


    MCP gives me this error:

    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\mod_BlockSpurux.java:27: cannot find symbol
    symbol : variable mod_itemSpurux
    location : class net.minecraft.src.mod_BlockSpurux
    Modloader.AddRecipe(new ItemStack(mod_itemSpuurx, 9), new Object[] {
    ^
    
    1 error
    ===================


    What am i doing wrong?

    Remove the mod_ for the mod_itemSpurux. Then it would be:
    		ModLoader.AddRecipe(new ItemStack(BlockSpurux, 1), new Object[] {
    			"***","***","***", Character.valueOf('*'), itemSpurux
    		});
    		ModLoader.AddRecipe(new ItemStack(mod_itemSpurux, 9), new Object[] {
    			" * ", Character.valueOf('*'), BlockSpurux
    		});
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
    Quote from iguana72

    Alright, I've been trying to make a gun mod thing. I basically copied the EntityArrow code and switched it around a bit.

    Error:
    == ERRORS FOUND ==
    
    src\minecraft\net\minecraft\src\EntityBullet.java:217: func_35535_a(net.minecraf
    t.src.EntityArrow,net.minecraft.src.Entity) in net.minecraft.src.DamageSource ca
    nnot be applied to (net.minecraft.src.EntityBullet,net.minecraft.src.Entity)
    if(movingobjectposition.entityHit.attackEntityFrom(DamageSource.func_35535_a(thi
    s, shootingEntity), j1))
    ^
    
    1 error


    Broken Code:
            if(movingobjectposition != null)
            {
                if(movingobjectposition.entityHit != null)
                {
                    float f1 = MathHelper.sqrt_double(motionX * motionX + motionY * motionY + motionZ * motionZ);
                    int j1 = (int)Math.ceil((double)f1 * 2D);
                    if(field_35140_d)
                    {
                        j1 = (j1 * 3) / 2 + 1;
                    }
                    if(movingobjectposition.entityHit.attackEntityFrom(DamageSource.func_35535_a(this, shootingEntity), j1))
                    {
                        if(movingobjectposition.entityHit instanceof EntityLiving)
                        {
                            ((EntityLiving)movingobjectposition.entityHit).field_35172_bP++;
                        }
                        worldObj.playSoundAtEntity(this, "random.drr", 1.0F, 1.2F / (rand.nextFloat() * 0.2F + 0.9F));
                        setEntityDead();
                    } else
                    {
                        motionX *= -0.10000000149011612D;
                        motionY *= -0.10000000149011612D;
                        motionZ *= -0.10000000149011612D;
                        rotationYaw += 180F;
                        prevRotationYaw += 180F;
                        ticksInAir = 0;
                    }
                } else
                {
                    xTile = movingobjectposition.blockX;
                    yTile = movingobjectposition.blockY;
                    zTile = movingobjectposition.blockZ;
                    inTile = worldObj.getBlockId(xTile, yTile, zTile);
                    inData = worldObj.getBlockMetadata(xTile, yTile, zTile);
                    motionX = (float)(movingobjectposition.hitVec.xCoord - posX);
                    motionY = (float)(movingobjectposition.hitVec.yCoord - posY);
                    motionZ = (float)(movingobjectposition.hitVec.zCoord - posZ);
                    float f2 = MathHelper.sqrt_double(motionX * motionX + motionY * motionY + motionZ * motionZ);
                    posX -= (motionX / (double)f2) * 0.05000000074505806D;
                    posY -= (motionY / (double)f2) * 0.05000000074505806D;
                    posZ -= (motionZ / (double)f2) * 0.05000000074505806D;
                    worldObj.playSoundAtEntity(this, "random.drr", 1.0F, 1.2F / (rand.nextFloat() * 0.2F + 0.9F));
                    inGround = true;
                    BulletShake = 7;
                    field_35140_d = false;
                }
            }


    No idea what's wrong. :/

    Im no expert at this, but it looks like func_35535_a is the arrow damage type and can only be applyed to EntityArrow. I think you will have to make your own damage function (I have no idea how you would go about this though)

    EDIT: I have found out how you can do it! Try looking at DamageSource.java and then at the line where the error is.
    Posted in: Modification Development
  • 1

    posted a message on Minecraft Modding Error Thread! Post ALL your errors and questions here!
    Quote from Spurux

    Oh.. Oh my...
    YEEEEES!!!!!!
    It finaly works!
    Thank you so much! :-D

    No problem :smile.gif: could you + me?
    Posted in: Modification Development
  • To post a comment, please .