• 0

    posted a message on How Do I Make A Banner For My Map
    my skype is yankeefan1803
    ill help u!
    Posted in: Legacy Support
  • 0

    posted a message on HELP
    Quote from Plecks

    You haven't declared/defined what 'shootingEntity' is, then you're trying to use it.

    so how do i fix it?
    Posted in: Modification Development
  • 0

    posted a message on HELP
    Quote from Plecks

    You haven't declared/defined what 'shootingEntity' is, then you're trying to use it.

    so how do i fix it?
    Posted in: Modification Development
  • 0

    posted a message on HELP
    Error:

    == ERRORS FOUND ==

    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\EntitySuperDiamondBullet.java:208: error: cannot
    find symbol
    if(movingobjectposition.entityHit.attackEntityFrom(DamageSource.func_35535_b(thi
    s, shootingEntity), 20))
    ^

    symbol: variable shootingEntity
    location: class EntitySuperDiamondBullet
    1 error
    1 warning
    ==================
    mod_SuperDiamond:

    package net.minecraft.src;
    import java.util.Random;

    public class mod_SuperDiamond extends BaseMod
    {

    public static final Item itemSuperDiamond = new ItemSuperDiamond(3100).setItemName("SuperDiamond");
    public static final Item itemSuperDiamondGun = new ItemSuperDiamondGun(3109).setItemName("SuperDiamondGun");
    public static final Item itemSuperDiamondBullet = new ItemSuperDiamondBullet(3110).setItemName("SuperDiamondBullet");

    public mod_SuperDiamond()
    {

    itemSuperDiamond.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamond.png");
    itemSuperDiamondGun.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamondGun.png");
    itemSuperDiamondBullet.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamondBullet.png");

    ModLoader.AddName(itemSuperDiamond, "Super Diamond");
    ModLoader.AddName(itemSuperDiamondGun, "Super Diamond Gun");
    ModLoader.AddName(itemSuperDiamondBullet, "Super Diamond Bullet");

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamond, 1), new Object[]{
    "**", "**", Character.valueOf('*'), Item.diamond
    });
    ModLoader.AddRecipe(new ItemStack(itemSuperDiamondGun, 1), new Object[]{
    "***","* ", Character.valueOf('*'), mod_SuperDiamond.itemSuperDiamond
    });
    ModLoader.AddRecipe(new ItemStack(itemSuperDiamondBullet, 4), new Object[]{
    "***", Character.valueOf('*'), mod_SuperDiamond.itemSuperDiamond
    });

    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    ItemSuperDiamond:

    package net.minecraft.src;

    public class ItemSuperDiamond extends Item
    {
    public ItemSuperDiamond (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    ItemSuperDiamondGun:

    package net.minecraft.src;

    public class ItemSuperDiamondGun extends Item
    {
    public ItemSuperDiamondGun (int i)
    {
    super (i);
    maxStackSize = 1;
    }

    public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
    {
    if(entityplayer.inventory.consumeInventoryItem(mod_SuperDiamond.itemSuperDiamondBullet.shiftedIndex))
    {
    world.playSoundAtEntity(entityplayer, "random.bow", 1.0F, 1.0F / (itemRand.nextFloat() * 0.4F + 0.8F));
    if(!world.multiplayerWorld)
    {
    world.entityJoinedWorld(new EntitySuperDiamondBullet(world, entityplayer));
    }
    }
    return itemstack;
    }
    }
    ItemSuperDiamondBullet:
    package net.minecraft.src;

    public class ItemSuperDiamondBullet extends Item
    {
    public ItemSuperDiamondBullet (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    RenderSuperDiamond:

    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode

    package net.minecraft.src;

    import org.lwjgl.opengl.GL11;

    // Referenced classes of package net.minecraft.src:
    // Render, EntityArrow, Tessellator, MathHelper,
    // Entity

    public class RenderSuperDiamondBullet extends Render
    {

    public RenderSuperDiamondBullet()
    {
    }

    public void renderArrow(EntitySuperDiamondBullet entityarrow, double d, double d1, double d2,
    float f, float f1)
    {
    loadTexture("/SuperDiamondBullet.png");
    GL11.glPushMatrix();
    GL11.glTranslatef((float)d, (float)d1, (float)d2);
    GL11.glRotatef((entityarrow.prevRotationYaw + (entityarrow.rotationYaw - entityarrow.prevRotationYaw) * f1) - 90F, 0.0F, 1.0F, 0.0F);
    GL11.glRotatef(entityarrow.prevRotationPitch + (entityarrow.rotationPitch - entityarrow.prevRotationPitch) * f1, 0.0F, 0.0F, 1.0F);
    Tessellator tessellator = Tessellator.instance;
    int i = 0;
    float f2 = 0.0F;
    float f3 = 0.5F;
    float f4 = (float)(0 + i * 10) / 32F;
    float f5 = (float)(5 + i * 10) / 32F;
    float f6 = 0.0F;
    float f7 = 0.15625F;
    float f8 = (float)(5 + i * 10) / 32F;
    float f9 = (float)(10 + i * 10) / 32F;
    float f10 = 0.05625F;
    GL11.glEnable(32826 /*GL_RESCALE_NORMAL_EXT*/);
    float f11 = (float)entityarrow.arrowShake - f1;
    if(f11 > 0.0F)
    {
    float f12 = -MathHelper.sin(f11 * 3F) * f11;
    GL11.glRotatef(f12, 0.0F, 0.0F, 1.0F);
    }
    GL11.glRotatef(45F, 1.0F, 0.0F, 0.0F);
    GL11.glScalef(f10, f10, f10);
    GL11.glTranslatef(-4F, 0.0F, 0.0F);
    GL11.glNormal3f(f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7D, -2D, -2D, f6, f8);
    tessellator.addVertexWithUV(-7D, -2D, 2D, f7, f8);
    tessellator.addVertexWithUV(-7D, 2D, 2D, f7, f9);
    tessellator.addVertexWithUV(-7D, 2D, -2D, f6, f9);
    tessellator.draw();
    GL11.glNormal3f(-f10, 0.0F, 0.0F);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-7D, 2D, -2D, f6, f8);
    tessellator.addVertexWithUV(-7D, 2D, 2D, f7, f8);
    tessellator.addVertexWithUV(-7D, -2D, 2D, f7, f9);
    tessellator.addVertexWithUV(-7D, -2D, -2D, f6, f9);
    tessellator.draw();
    for(int j = 0; j < 4; j++)
    {
    GL11.glRotatef(90F, 1.0F, 0.0F, 0.0F);
    GL11.glNormal3f(0.0F, 0.0F, f10);
    tessellator.startDrawingQuads();
    tessellator.addVertexWithUV(-8D, -2D, 0.0D, f2, f4);
    tessellator.addVertexWithUV(8D, -2D, 0.0D, f3, f4);
    tessellator.addVertexWithUV(8D, 2D, 0.0D, f3, f5);
    tessellator.addVertexWithUV(-8D, 2D, 0.0D, f2, f5);
    tessellator.draw();
    }

    GL11.glDisable(32826 /*GL_RESCALE_NORMAL_EXT*/);
    GL11.glPopMatrix();
    }

    public void doRender(Entity entity, double d, double d1, double d2,
    float f, float f1)
    {
    renderArrow((EntitySuperDiamondBullet)entity, d, d1, d2, f, f1);
    }
    }
    EntitySuperDiamond:

    // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.kpdus.com/jad.html
    // Decompiler options: packimports(3) braces deadcode

    package net.minecraft.src;

    import java.util.List;
    import java.util.Random;

    // Referenced classes of package net.minecraft.src:
    // Entity, EntityPlayer, EntityLiving, MathHelper,
    // World, Block, Vec3D, AxisAlignedBB,
    // MovingObjectPosition, NBTTagCompound, ItemStack, Item,
    // InventoryPlayer

    public class EntitySuperDiamondBullet extends Entity
    {

    public EntitySuperDiamondBullet(World world)
    {
    super(world);
    xTile = -1;
    yTile = -1;
    zTile = -1;
    inTile = 0;
    inData = 0;
    inGround = false;
    doesArrowBelongToPlayer = false;
    arrowShake = 0;
    ticksInAir = 0;
    setSize(0.5F, 0.5F);
    }

    public EntitySuperDiamondBullet(World world, double d, double d1, double d2)
    {
    super(world);
    xTile = -1;
    yTile = -1;
    zTile = -1;
    inTile = 0;
    inData = 0;
    inGround = false;
    doesArrowBelongToPlayer = false;
    arrowShake = 0;
    ticksInAir = 0;
    setSize(0.5F, 0.5F);
    setPosition(d, d1, d2);
    yOffset = 0.0F;
    }

    public EntitySuperDiamondBullet(World world, EntityLiving entityliving)
    {
    super(world);
    xTile = -1;
    yTile = -1;
    zTile = -1;
    inTile = 0;
    inData = 0;
    inGround = false;
    doesArrowBelongToPlayer = false;
    arrowShake = 0;
    ticksInAir = 0;
    owner = entityliving;
    doesArrowBelongToPlayer = entityliving instanceof EntityPlayer;
    setSize(0.5F, 0.5F);
    setLocationAndAngles(entityliving.posX, entityliving.posY + (double)entityliving.getEyeHeight(), entityliving.posZ, entityliving.rotationYaw, entityliving.rotationPitch);
    posX -= MathHelper.cos((rotationYaw / 180F) * 3.141593F) * 0.16F;
    posY -= 0.10000000149011612D;
    posZ -= MathHelper.sin((rotationYaw / 180F) * 3.141593F) * 0.16F;
    setPosition(posX, posY, posZ);
    yOffset = 0.0F;
    motionX = -MathHelper.sin((rotationYaw / 180F) * 3.141593F) * MathHelper.cos((rotationPitch / 180F) * 3.141593F);
    motionZ = MathHelper.cos((rotationYaw / 180F) * 3.141593F) * MathHelper.cos((rotationPitch / 180F) * 3.141593F);
    motionY = -MathHelper.sin((rotationPitch / 180F) * 3.141593F);
    setArrowHeading(motionX, motionY, motionZ, 6.0F, 2.0F);
    }

    protected void entityInit()
    {
    }

    public void setArrowHeading(double d, double d1, double d2, float f,
    float f1)
    {
    float f2 = MathHelper.sqrt_double(d * d + d1 * d1 + d2 * d2);
    d /= f2;
    d1 /= f2;
    d2 /= f2;
    d += rand.nextGaussian() * 0.0074999998323619366D * (double)f1;
    d1 += rand.nextGaussian() * 0.0074999998323619366D * (double)f1;
    d2 += rand.nextGaussian() * 0.0074999998323619366D * (double)f1;
    d *= f;
    d1 *= f;
    d2 *= f;
    motionX = d;
    motionY = d1;
    motionZ = d2;
    float f3 = MathHelper.sqrt_double(d * d + d2 * d2);
    prevRotationYaw = rotationYaw = (float)((Math.atan2(d, d2) * 180D) / 3.1415927410125732D);
    prevRotationPitch = rotationPitch = (float)((Math.atan2(d1, f3) * 180D) / 3.1415927410125732D);
    ticksInGround = 0;
    }

    public void setVelocity(double d, double d1, double d2)
    {
    motionX = d;
    motionY = d1;
    motionZ = d2;
    if(prevRotationPitch == 0.0F && prevRotationYaw == 0.0F)
    {
    float f = MathHelper.sqrt_double(d * d + d2 * d2);
    prevRotationYaw = rotationYaw = (float)((Math.atan2(d, d2) * 180D) / 3.1415927410125732D);
    prevRotationPitch = rotationPitch = (float)((Math.atan2(d1, f) * 180D) / 3.1415927410125732D);
    prevRotationPitch = rotationPitch;
    prevRotationYaw = rotationYaw;
    setLocationAndAngles(posX, posY, posZ, rotationYaw, rotationPitch);
    ticksInGround = 0;
    }
    }

    public void onUpdate()
    {
    super.onUpdate();
    if(prevRotationPitch == 0.0F && prevRotationYaw == 0.0F)
    {
    float f = MathHelper.sqrt_double(motionX * motionX + motionZ * motionZ);
    prevRotationYaw = rotationYaw = (float)((Math.atan2(motionX, motionZ) * 180D) / 3.1415927410125732D);
    prevRotationPitch = rotationPitch = (float)((Math.atan2(motionY, f) * 180D) / 3.1415927410125732D);
    }
    int i = worldObj.getBlockId(xTile, yTile, zTile);
    if(i > 0)
    {
    Block.blocksList[i].setBlockBoundsBasedOnState(worldObj, xTile, yTile, zTile);
    AxisAlignedBB axisalignedbb = Block.blocksList[i].getCollisionBoundingBoxFromPool(worldObj, xTile, yTile, zTile);
    if(axisalignedbb != null && axisalignedbb.isVecInside(Vec3D.createVector(posX, posY, posZ)))
    {
    inGround = true;
    }
    }
    if(arrowShake > 0)
    {
    arrowShake--;
    }
    if(inGround)
    {
    int j = worldObj.getBlockId(xTile, yTile, zTile);
    int k = worldObj.getBlockMetadata(xTile, yTile, zTile);
    if(j != inTile || k != inData)
    {
    inGround = false;
    motionX *= rand.nextFloat() * 0.2F;
    motionY *= rand.nextFloat() * 0.2F;
    motionZ *= rand.nextFloat() * 0.2F;
    ticksInGround = 0;
    ticksInAir = 0;
    return;
    }
    ticksInGround++;
    if(ticksInGround == 1200)
    {
    setEntityDead();
    }
    return;
    }
    ticksInAir++;
    Vec3D vec3d = Vec3D.createVector(posX, posY, posZ);
    Vec3D vec3d1 = Vec3D.createVector(posX + motionX, posY + motionY, posZ + motionZ);
    MovingObjectPosition movingobjectposition = worldObj.rayTraceBlocks_do_do(vec3d, vec3d1, false, true);
    vec3d = Vec3D.createVector(posX, posY, posZ);
    vec3d1 = Vec3D.createVector(posX + motionX, posY + motionY, posZ + motionZ);
    if(movingobjectposition != null)
    {
    vec3d1 = Vec3D.createVector(movingobjectposition.hitVec.xCoord, movingobjectposition.hitVec.yCoord, movingobjectposition.hitVec.zCoord);
    }
    Entity entity = null;
    List list = worldObj.getEntitiesWithinAABBExcludingEntity(this, boundingBox.addCoord(motionX, motionY, motionZ).expand(1.0D, 1.0D, 1.0D));
    double d = 0.0D;
    for(int l = 0; l < list.size(); l++)
    {
    Entity entity1 = (Entity)list.get(l);
    if(!entity1.canBeCollidedWith() || entity1 == owner && ticksInAir < 5)
    {
    continue;
    }
    float f4 = 0.3F;
    AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f4, f4, f4);
    MovingObjectPosition movingobjectposition1 = axisalignedbb1.func_1169_a(vec3d, vec3d1);
    if(movingobjectposition1 == null)
    {
    continue;
    }
    double d1 = vec3d.distanceTo(movingobjectposition1.hitVec);
    if(d1 < d || d == 0.0D)
    {
    entity = entity1;
    d = d1;
    }
    }

    if(entity != null)
    {
    movingobjectposition = new MovingObjectPosition(entity);
    }
    if(movingobjectposition != null)
    {
    if(movingobjectposition.entityHit != null)
    {
    if(movingobjectposition.entityHit.attackEntityFrom(DamageSource.func_35535_b(this, shootingEntity), 20))
    {
    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;
    setEntityDead();
    }
    } 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 f1 = MathHelper.sqrt_double(motionX * motionX + motionY * motionY + motionZ * motionZ);
    posX -= (motionX / (double)f1) * 0.05000000074505806D;
    posY -= (motionY / (double)f1) * 0.05000000074505806D;
    posZ -= (motionZ / (double)f1) * 0.05000000074505806D;
    worldObj.playSoundAtEntity(this, "random.drr", 1.0F, 1.2F / (rand.nextFloat() * 0.2F + 0.9F));
    inGround = true;
    arrowShake = 7;
    }
    }
    posX += motionX;
    posY += motionY;
    posZ += motionZ;
    float f2 = MathHelper.sqrt_double(motionX * motionX + motionZ * motionZ);
    rotationYaw = (float)((Math.atan2(motionX, motionZ) * 180D) / 3.1415927410125732D);
    for(rotationPitch = (float)((Math.atan2(motionY, f2) * 180D) / 3.1415927410125732D); rotationPitch - prevRotationPitch < -180F; prevRotationPitch -= 360F) { }
    for(; rotationPitch - prevRotationPitch >= 180F; prevRotationPitch += 360F) { }
    for(; rotationYaw - prevRotationYaw < -180F; prevRotationYaw -= 360F) { }
    for(; rotationYaw - prevRotationYaw >= 180F; prevRotationYaw += 360F) { }
    rotationPitch = prevRotationPitch + (rotationPitch - prevRotationPitch) * 0.2F;
    rotationYaw = prevRotationYaw + (rotationYaw - prevRotationYaw) * 0.2F;
    float f3 = 0.99F;
    float f5 = 0.03F;
    if(isInWater())
    {
    for(int i1 = 0; i1 < 4; i1++)
    {
    float f6 = 0.25F;
    worldObj.spawnParticle("bubble", posX - motionX * (double)f6, posY - motionY * (double)f6, posZ - motionZ * (double)f6, motionX, motionY, motionZ);
    }

    f3 = 0.8F;
    }
    motionX *= f3;
    motionY *= f3;
    motionZ *= f3;
    motionY -= f5;
    setPosition(posX, posY, posZ);
    }

    public void writeEntityToNBT(NBTTagCompound nbttagcompound)
    {
    nbttagcompound.setShort("xTile", (short)xTile);
    nbttagcompound.setShort("yTile", (short)yTile);
    nbttagcompound.setShort("zTile", (short)zTile);
    nbttagcompound.setByte("inTile", (byte)inTile);
    nbttagcompound.setByte("inData", (byte)inData);
    nbttagcompound.setByte("shake", (byte)arrowShake);
    nbttagcompound.setByte("inGround", (byte)(inGround ? 1 : 0));
    nbttagcompound.setBoolean("player", doesArrowBelongToPlayer);
    }

    public void readEntityFromNBT(NBTTagCompound nbttagcompound)
    {
    xTile = nbttagcompound.getShort("xTile");
    yTile = nbttagcompound.getShort("yTile");
    zTile = nbttagcompound.getShort("zTile");
    inTile = nbttagcompound.getByte("inTile") & 0xff;
    inData = nbttagcompound.getByte("inData") & 0xff;
    arrowShake = nbttagcompound.getByte("shake") & 0xff;
    inGround = nbttagcompound.getByte("inGround") == 1;
    doesArrowBelongToPlayer = nbttagcompound.getBoolean("player");
    }

    public void onCollideWithPlayer(EntityPlayer entityplayer)
    {
    if(worldObj.multiplayerWorld)
    {
    return;
    }
    if(inGround && doesArrowBelongToPlayer && arrowShake <= 0 && entityplayer.inventory.addItemStackToInventory(new ItemStack(mod_SuperDiamond.itemSuperDiamondBullet, 1)))
    {
    worldObj.playSoundAtEntity(this, "random.pop", 0.2F, ((rand.nextFloat() - rand.nextFloat()) * 0.7F + 1.0F) * 2.0F);
    entityplayer.onItemPickup(this, 1);
    setEntityDead();
    }
    if (!inGround)
    {

    }
    }

    public float getShadowSize()
    {
    return 0.0F;
    }

    private int xTile;
    private int yTile;
    private int zTile;
    private int inTile;
    private int inData;
    private boolean inGround;
    public boolean doesArrowBelongToPlayer;
    public int arrowShake;
    public EntityLiving owner;
    private int ticksInGround;
    private int ticksInAir;
    }
    Posted in: Modification Development
  • 0

    posted a message on Mod Help
    I want to add guns and bullets to my mod. How do i make an item shoot a different item by right clicking?
    Also, i can make throwable items. it is a white cube in the air. someone told me to make a render file. i did. it is still a white cube. i raged and deleted it. i can easily make the new files, but how do i make it keep its texture in the air?

    If you have anything to ask me, leave a comment below, or....
    Add me on Skype(signature)
    Posted in: Mods Discussion
  • 0

    posted a message on Mod Help
    I want to add guns and bullets to my mod. How do i make an item shoot a different item by right clicking?
    Also, i can make throwable items. it is a white cube in the air. someone told me to make a render file. i did. it is still a white cube. i raged and deleted it. i can easily make the new files, but how do i make it keep its texture in the air?

    If you have anything to ask me, leave a comment below, or....
    Add me on Skype(signature)
    Posted in: Mods Discussion
  • 0

    posted a message on Join Mod Team!
    Quote from MikeWTF

    Show me some Mods you made or at least some codes..

    add me on skype ill show u
    Posted in: Mods Discussion
  • 0

    posted a message on Join Mod Team!
    Quote from Blad0719

    I can! oh wait skype... ok bye

    make 1?
    Posted in: Mods Discussion
  • 0

    posted a message on Join Mod Team!
    Mod Team:

    So far, it is only me because i thought of it about 10 secons ago :tongue.gif:.

    I am a great coder

    I need:
    1 or 2 (or more!!!) coders
    atleast 1 or 2 texturers

    REQUIREMENTS:
    Must know how to do your job (without asking for alot of help)
    Must have a Skype and a mic(you must add me)(name in signature)



    I have many ideas! Thank you for reading!
    Posted in: Mods Discussion
  • 0

    posted a message on Mod Help!
    Quote from Necromanic

    Ermm what I pointed out is still and error.

    read the errors. i always do this and it works so no, it isnt
    Posted in: Modification Development
  • 0

    posted a message on Mod Help!
    Quote from Necromanic

    I posted this too in your other topic:

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamond, 1), new Object[]{
    			"**", "**", Character.valueOf('*'), Item.diamond


    I am pretty sure it should be:

    ModLoader.AddRecipe(new ItemStack(Item.SuperDiamond, 1), new Object[]{
    			"**", "**", Character.valueOf('*'), Item.diamond


    Since you refer to an item. The error tells it quiet easily. Please post back so I know if it fixed the error.

    i see ur point but if you read the error, then u will see its for the actual recipe on line 17. ur talking bout 16
    Posted in: Modification Development
  • 0

    posted a message on Mod Help!
    the spaces r messed up cuz i posted it here; dont look at that
    Posted in: Modification Development
  • 0

    posted a message on Mod Help!
    I have done this 100 times and I never got this error?!?!?!
    ERROR:

    == ERRORS FOUND ==
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_SuperDiamondStick.java:17: error: cannot fin
    d symbol
    "*","*", Character.valueOf('*'), mod_SuperDiamond.ItemSuperDiamond
    ^

    symbol: variable ItemSuperDiamond
    location: class mod_SuperDiamond
    1 error
    1 warning
    ==================
    mod_SuperDiamond

    package net.minecraft.src;
    import java.util.Random;

    public class mod_SuperDiamond extends BaseMod
    {

    public static final Item itemSuperDiamond = new ItemSuperDiamond(3100).setItemName("SuperDiamond");

    public mod_SuperDiamond()
    {

    itemSuperDiamond.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamond.png");

    ModLoader.AddName(itemSuperDiamond, "Super Diamond");

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamond, 1), new Object[]{
    "**", "**", Character.valueOf('*'), Item.diamond
    });
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    ItemSuperDiamond

    package net.minecraft.src;

    public class ItemSuperDiamond extends Item
    {
    public ItemSuperDiamond (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    mod_SuperDiamondStick

    package net.minecraft.src;
    import java.util.Random;

    public class mod_SuperDiamondStick extends BaseMod
    {

    public static final Item itemSuperDiamondStick = new ItemSuperDiamondStick(3101).setItemName("SuperDiamondStick");

    public mod_SuperDiamondStick()
    {

    itemSuperDiamondStick.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamondStick.png");

    ModLoader.AddName(itemSuperDiamondStick, "Super Diamond Stick");

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamondStick, 4), new Object[]{
    "*","*", Character.valueOf('*'), mod_SuperDiamond.ItemSuperDiamond
    });
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    ItemSuperDiamondStick

    package net.minecraft.src;

    public class ItemSuperDiamondStick extends Item
    {
    public ItemSuperDiamondStick (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    Skype is in signature
    Posted in: Modification Development
  • 0

    posted a message on Mod Help!
    I have done this 100 times and I never got this error?!?!?!
    ERROR:

    == ERRORS FOUND ==
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_SuperDiamondStick.java:17: error: cannot fin
    d symbol
    "*","*", Character.valueOf('*'), mod_SuperDiamond.ItemSuperDiamond
    ^

    symbol: variable ItemSuperDiamond
    location: class mod_SuperDiamond
    1 error
    1 warning
    ==================
    mod_SuperDiamond

    package net.minecraft.src;
    import java.util.Random;

    public class mod_SuperDiamond extends BaseMod
    {

    public static final Item itemSuperDiamond = new ItemSuperDiamond(3100).setItemName("SuperDiamond");

    public mod_SuperDiamond()
    {

    itemSuperDiamond.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamond.png");

    ModLoader.AddName(itemSuperDiamond, "Super Diamond");

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamond, 1), new Object[]{
    "**", "**", Character.valueOf('*'), Item.diamond
    });
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    ItemSuperDiamond

    package net.minecraft.src;

    public class ItemSuperDiamond extends Item
    {
    public ItemSuperDiamond (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    mod_SuperDiamondStick

    package net.minecraft.src;
    import java.util.Random;

    public class mod_SuperDiamondStick extends BaseMod
    {

    public static final Item itemSuperDiamondStick = new ItemSuperDiamondStick(3101).setItemName("SuperDiamondStick");

    public mod_SuperDiamondStick()
    {

    itemSuperDiamondStick.iconIndex = ModLoader.addOverride("/gui/items.png", "/SuperDiamondStick.png");

    ModLoader.AddName(itemSuperDiamondStick, "Super Diamond Stick");

    ModLoader.AddRecipe(new ItemStack(itemSuperDiamondStick, 4), new Object[]{
    "*","*", Character.valueOf('*'), mod_SuperDiamond.ItemSuperDiamond
    });
    }

    public String Version()
    {
    return "3.14159265";
    }
    }
    ItemSuperDiamondStick

    package net.minecraft.src;

    public class ItemSuperDiamondStick extends Item
    {
    public ItemSuperDiamondStick (int i)
    {
    super (i);
    maxStackSize = 64;
    }
    }
    Skype is in signature
    Posted in: Modification Development
  • 0

    posted a message on Help!
    I'm doing a test code and I've NEVER had this error before?!?!
    == ERRORS FOUND ==

    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    src\minecraft\net\minecraft\src\mod_SuperDiamondStick.java:17: error: cannot fin
    d symbol
    "*","*", Character.valueOf('*'), mod_SuperDiamond.ItemSuperDiamond
    ^

    symbol: variable ItemSuperDiamond
    location: class mod_SuperDiamond
    1 error
    1 warning
    ==================
    What could it mean?

    Feel free to Skype me:(signature)
    Posted in: Modification Development
  • To post a comment, please .