• 0

    posted a message on Mod wont load

    yes it is not the version of forge, I changed that and it still crashed

    Posted in: Modification Development
  • 0

    posted a message on Mod wont load

    SO i export my mod and I want to test it in minecraft. So I go put it in my mods folder and load up minecraft and its working fine. The mcmod file worked and all. But then when i go to load up a new world, when its finished it says "shutting down internal service" and then crashes. It is because I still have eclipse open?

    Posted in: Modification Development
  • 0

    posted a message on Wands

    I got the code fixed but it still didn't work ingame, its all ok i can't figure out what the real problem is, i have an idea for a mod that isn't too advanced as the mod I was making.... ill start on that

    Posted in: Modification Development
  • 0

    posted a message on Wands

    your taking this into a whole different side of perspective, and the way everyone is taking it is making me just feel bad about myself, i don't mean give me code, I have code, what i meant to say is give me my code that I have back to me after someone has helped me fix it. I don't mean to sound like a jerk and ask someone to code this for me, im sorry :(

    Posted in: Modification Development
  • 0

    posted a message on Wands

    Im not actually asking for the code, I have the code and my problem is one part of it, i will put it in pastebin the error is in the code of this: http://pastebin.com/BW5qdHYw the error in on line 23 of the code at ((Object)world).rayTraceBlocks_do_do, there is an error message under .rayTraceBlocks_do_do and when i highlight over it says this: ()+ change cast if world and when I click on it, it adds this (Object) and is highlighted, i think i need to change the world object to something but i don't know what, please help...

    Posted in: Modification Development
  • 0

    posted a message on Wands

    Ok, so what i need is either help with my code, or someone to give me code so that when I have the ice wand right click, it spawns ice.

    Posted in: Modification Development
  • 0

    posted a message on My Minecraft Wand; Wizardy Plus+
    Quote from drybones967»

    2 semi colons i think

    well i removed the semi-colin and the error was still there, when i highlight over .rayTraceBlocks_do_do it says ()+change cast of 'world', when i click on it it adds this: ((Object)world) of course, the world part was already there, but it adds the (Object) part
    Posted in: Minecraft Mods
  • 0

    posted a message on Wands

    yea Im making an ice wand and I want it to on right click place ice

    Posted in: Modification Development
  • 0

    posted a message on Wands
    can any1 help with this code for an ice wand[/p]
    @Override [/p]
    @SideOnly(Side.CLIENT)[/p]
    [/p]
    //This section adds Ice Blocks on right click[/p]
    public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)[/p]
    {[/p]
    float f = 1.0F;[/p]
    float f1 = entityplayer.prevRotationPitch + (entityplayer.rotationPitch - entityplayer.prevRotationPitch) * f;[/p]
    float f2 = entityplayer.prevRotationYaw + (entityplayer.rotationYaw - entityplayer.prevRotationYaw) * f;[/p]
    double d = entityplayer.prevPosX + (entityplayer.posX - entityplayer.prevPosX) * (double)f;[/p]
    double d1 = (entityplayer.prevPosY + (entityplayer.posY - entityplayer.prevPosY) * (double)f + 1.6200000000000001D) - (double)entityplayer.yOffset;[/p]
    double d2 = entityplayer.prevPosZ + (entityplayer.posZ - entityplayer.prevPosZ) * (double)f;[/p]
    Vec3 vec3d = Vec3.createVectorHelper(d, d1, d2);[/p]
    float f3 = MathHelper.cos(-f2 * 0.01745329F - 3.141593F);[/p]
    float f4 = MathHelper.sin(-f2 * 0.01745329F - 3.141593F);[/p]
    float f5 = -MathHelper.cos(-f1 * 0.01745329F);[/p]
    float f6 = MathHelper.sin(-f1 * 0.01745329F);[/p]
    float f7 = f4 * f5;[/p]
    float f8 = f6;[/p]
    float f9 = f3 * f5;[/p]
    double d3 = 5000D;[/p]
    Vec3 vec3d1 = vec3d.addVector((double)f7 * d3, (double)f8 * d3, (double)f9 * d3);[/p]
    MovingObjectPosition movingobjectposition = ((Object) world).rayTraceBlocks_do_do(vec3d, vec3d1, false, true);;[/p]
    if (movingobjectposition == null)[/p]
    {[/p]
    return itemstack;[/p]
    }[/p]
    {[/p]
    int i = movingobjectposition.blockX;[/p]
    int j = movingobjectposition.blockY;[/p]
    int k = movingobjectposition.blockZ;[/p]
    world.setBlock(i, j, k, Blocks.ice);[/p]
    world.setBlock(i, j+2, k, Blocks.ice);[/p]
    world.setBlock(i, j, k+1, Blocks.ice);[/p]
    world.setBlock(i, j, k-1, Blocks.ice);[/p]
    world.setBlock(i+1, j, k-1, Blocks.ice);[/p]
    world.setBlock(i+1, j, k+1, Blocks.ice);[/p]
    world.setBlock(i+1, j, k, Blocks.ice);[/p]
    world.setBlock(i-1, j, k+1, Blocks.ice);[/p]
    world.setBlock(i-1, j, k, Blocks.ice);[/p]
    world.setBlock(i-1, j, k-1, Blocks.ice);[/p]
    [/p]
    world.setBlock(i, j+1, k, Blocks.ice);[/p]
    world.setBlock(i, j+1, k+1, Blocks.ice);[/p]
    world.setBlock(i, j+1, k-1, Blocks.ice);[/p]
    world.setBlock(i+1, j+1, k-1, Blocks.ice);[/p]
    world.setBlock(i+1, j+1, k+1, Blocks.ice);[/p]
    world.setBlock(i+1, j+1, k, Blocks.ice);[/p]
    world.setBlock(i-1, j+1, k+1, Blocks.ice);[/p]
    world.setBlock(i-1, j+1, k, Blocks.ice);[/p]
    world.setBlock(i-1, j+1, k-1, Blocks.ice);[/p]
    [/p]
    [/p]
    world.playSoundAtEntity(entityplayer, "mymod:testsound.frost", 0.5F, 0.4F);[/p]
    // world.playSoundAtEntity(entityplayer, "mymod:testsound.frost", 0.2F, 0.4F / (itemRand.nextFloat() * 0.1F + 0.1F));[/p]
    [/p]
    }[/p]
    return itemstack;[/p]
    }[/p]


    [/p]
    [/p]
    [/p]
    /**This added it to me.**/[/p]
    //public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {[/p]
    //par3EntityPlayer.addPotionEffect(new PotionEffect(Main.freeze.id, 200, 0));[/p]
    //return par1ItemStack;[/p]
    //}[/p]
    }[/p]
    Posted in: Modification Development
  • 0

    posted a message on My Minecraft Wand; Wizardy Plus+

    what do u mean?

    Posted in: Minecraft Mods
  • 0

    posted a message on My Minecraft Wand; Wizardy Plus+
    [p]I had code but it was errored, i fixed all the errors but i can't figure out whats wrong with it. Maybe u can help me? Here is the code that needs fixing[/p]
    MovingObjectPosition movingobjectposition = ((Object) world).rayTraceBlocks_do_do(vec3d, vec3d1, false, true);;[/p]
    Posted in: Minecraft Mods
  • 0

    posted a message on My Minecraft Wand; Wizardy Plus+

    Im in the middle of making a mod called wizardry plus+. The 1.0 release is coming out soon AND I need help to figure out how to make my ice wand right click and spawn a bunch of ice. Can someone please paste or put a link for the code. Thanks.

    Posted in: Minecraft Mods
  • 0

    posted a message on Items
    Quote from Merfion»

    Did you add the ()? And is your ItemModelMesher.register() in the right method in the client proxy?



    Quote from Merfion»

    Did you add the ()? And is your ItemModelMesher.register() in the right method in the client proxy?


    so what other methods should I have since registerRenders(){
    }
    Is my only method?
    Posted in: Modification Development
  • 0

    posted a message on Items

    I only have 1 method in it which is registerRenders(){

    }

    Posted in: Modification Development
  • 0

    posted a message on Items

    when I went to write ItemModelMesher.register it didn't show up and it went as an error so it didn't work

    Posted in: Modification Development
  • To post a comment, please .