All users will need to merge their Minecraft Forum account with a new or existing Twitch account starting October 23rd. You can merge your accounts by clicking here. Have questions? Learn more here.
Dismiss
  • 1

    posted a message on ♕Herocraft - Minecraft RPG Server Multiplayer - THE ORIGINAL RPG SERVER (2010)! - [Heroes-Townships-PVP/PVE-RPG]
    1. In-game name: Jotamota
    2. Location and Age: Brazil 18
    3. Previous Bans from other servers (explain): none
    4. Referral(s): myself :3
    5. Have you voted for Herocraft (No? do so here! http://tiny.cc/hco1): Yes
    6. How'd you hear about Herocraft? i'm a previous member
    7. Special Key: I didnt recieved any special key D:
    8. Do you agree to the Herocraft EULA and ToS? Yes
    9. Reason(s) you should be accepted:
    10. Additional Info: I was a HC member before the big reset. I would like to get back to playing. I hope I don't need a full application again.
    Posted in: PC Servers
  • 0

    posted a message on Can't Connect to Minecraft
    Same here :P
    Posted in: Discussion
  • 0

    posted a message on [WIP]Mirror's Edge Texture Pack
    Quote from HungerSTGF

    I'm trying to, but I fail at MCEdit, as translation from the mind to the rather clunky application is a bit off.

    Quote from Anbrad

    NOICE
    you should make a map to go with it.

    Quote from HungerSTGF

    I'm trying to, but I fail at MCEdit, as translation from the mind to the rather clunky application is a bit off.


    In case you guys don't know , I made the mirror's edge first mission map. But that is not what I want to talk about. I'm about to make a new adventure parkour map, and this texture pack might be my choice. It needs to be updated to 1.2.5 though, but I love all about it: the swat team, the door, the coloring. I hope you update it further, and you will be due credited on the map.
    Posted in: Mods Discussion
  • 0

    posted a message on [16x][1.2.3] Clean City (100% COMPLETE!)
    RELEASED!

    (This is a not-bumpy bump). Just so people that were tuned in this thread to get a email or notification.

    Anyways, the pack is released! Get it now. It's completed. All has been updated. I'll do the last tweeks on this thread, but the download should be available!
    Posted in: Resource Packs
  • 0

    posted a message on [16x][1.2.3] Clean City (100% COMPLETE!)
    Today I will start updating this pack to 1.2.3. After that I might even do the 32x32 version of it!

    I will also submit in this post preview pictures of what you can expect on Clean City v1.1!

    *BUMPED THE SCREENSHOTS TO OFFICIAL POST*

    Updated all icons and terrain file. Missing a few blocks, most of mobs and armor. The full update is near. In the mean time, enjoy the 1.1.1 version!
    Posted in: Resource Packs
  • 0

    posted a message on [1.1]Cook N' Craft v0.1[WIP] (PRE-RELEASED!!!)
    Quote from kiarules

    Well?


    The main idea is to have a item made of clay (already implemented, the dish) that when clicked on a surface it switches to a plate with food. The person than can place the plate like a cake and eat its meal on top of a table.

    It sound's tricky but I'm thinking about Multiplayer and Family meals. Something that Vanilla Minecraft can't quite reach.
    Posted in: WIP Mods
  • 0

    posted a message on [1.1]Cook N' Craft v0.1[WIP] (PRE-RELEASED!!!)
    Quote from ProModderWebs

    Wow jota amazing mod can't wait for it to be released. i got some ideas how bout geting some of the food to drop off trees like make new kind of apple. also bring back the old golden apples but with gold ingots rather than gold blocks that would be cool. and maybe you can have a new block that compresses your food together like i can compress oranges and bannas into one item so i eat them randomly. this would be good if you dont want to change pick what food to eat. :smile.gif:

    i can make a tutorial for mac i got a mac :smile.gif:


    I might do the Original Golden Apple. About the "compress" I did it already. It's the food cans. Any empty tin (made with "bowl recipe" using "tin ingot" instead of wood) used with any fruit /meat will give a fruit tin OR a meat tin.
    Posted in: WIP Mods
  • 0

    posted a message on Spawning EntityItem
    This:

    public boolean interact(EntityPlayer entityplayer, World world)
            {
                    if(entityplayer.inventory.hasItem(pickaxeGold))
                    {
                            entityplayer.addChatMessage("Sorry! You already have a pick");
                    }
                    
                    if(!entityplayer.inventory.hasItem(pickaxeGold))
                    {
                            entityplayer.addChatMessage("Here, have a pick! It's nothing much, but it can get you some materials!");
    entityDropItem(new ItemStack(Item.pickaxeGold, 1), height)
                            
                    }
                    return true;
            }
    Posted in: Modification Development
  • 0

    posted a message on Spawning EntityItem
    You should use this: (goes inside your EntityXXX):

    entityDropItem(new ItemStack(Item.pickaxeGold, 1), height)


    This will make it drop the item.
    Posted in: Modification Development
  • 0

    posted a message on ♕Herocraft - Minecraft RPG Server Multiplayer - THE ORIGINAL RPG SERVER (2010)! - [Heroes-Townships-PVP/PVE-RPG]
    In-game name: Jotamota
    Location & Age: Brazil/17
    Previous Bans (Includes other servers): No previous bans :3
    Referral(s): Aldrigg
    Reason you should be accepted: I'm a Minecraft player full of varieties. I'm good at builing, can deal with redstone (seen a lot of videos and I've invented some nice traps myself) and make some neat creations, love RolePlaying (I take it seriously!) and I'm even coding my first mod now... I can add a lot to the server as a merchant, engineer or just as a common player.
    How did you hear about Herocraft?: My friend Aldrigg told me about the server and said that the plugins were great. I'm really excited to roleplay with him and my brother (Gafada).
    Have you voted for Herocraft (No? Click here)?: No because my brother (shares the same IP as me) voted for you 5 minutes ago.
    Additional Info: I love roleplaying. I've heard so nicely about this server and I'm so excited out to try this, seems pretty good and the plugins is like mind blowing. I would love to live in a RP world as a merchant or making redstoning to implement the server with more nice constructions or redstoning devices. I would also love to build a Inn at a main or small city.
    Here are some pictures of my first ever Inn (not first ever build though!) that I've made for another RP server:

    I use the same IP as my brother. Let this not be taken as multilogging or such. Thank you!
    Posted in: PC Servers
  • 0

    posted a message on Minecraft does not open with the code
    Try making it final/
    Tente botar final depois de public static:

    public static final Block


    Besides that I don't know what is wrong...
    Além disso eu não sei o que está errado.

    PS: Im brazilian too :smile.gif:!
    Posted in: Modification Development
  • 0

    posted a message on Trouble making a weapon
    Quote from MrCreeper07

    hey I got this error about the constructer
    == ERRORS FOUND ==
    
    src/minecraft/net/minecraft/src/EntityBullet.java:21: cannot find symbol
    symbol  : constructor ia(ry)
    location: class ia
        super(world);
        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:34: cannot find symbol
    symbol  : constructor ia(ry)
    location: class ia
        super(world);
        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:51: cannot find symbol
    symbol  : constructor ia(ry)
    location: class ia
        super(world);
        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:66: cannot find symbol
    symbol  : constructor ia(ry)
    location: class ia
        super(world);
        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : variable s
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : variable t
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : method E()
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                                                       ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : variable u
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                                                                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : variable y
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                                                                                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:77: cannot find symbol
    symbol  : variable z
    location: class nq
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
                                                                                                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:78: operator / cannot be applied to vi,float
        this.s -= me.b(this.y / 180.0F * 3.141593F) * 0.16F;
                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:78: b(int,int,int,int) in me cannot be applied to (float)
        this.s -= me.b(this.y / 180.0F * 3.141593F) * 0.16F;
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:80: operator / cannot be applied to vi,float
        this.u -= me.a(this.y / 180.0F * 3.141593F) * 0.16F;
                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:80: cannot find symbol
    symbol  : method a(float)
    location: class me
        this.u -= me.a(this.y / 180.0F * 3.141593F) * 0.16F;
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:83: operator / cannot be applied to vi,float
        this.v = (100.0F * -me.a(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:83: cannot find symbol
    symbol  : method a(float)
    location: class me
        this.v = (100.0F * -me.a(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:83: operator / cannot be applied to boolean,float
        this.v = (100.0F * -me.a(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                                                            ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:83: b(int,int,int,int) in me cannot be applied to (float)
        this.v = (100.0F * -me.a(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                                                  ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:84: operator / cannot be applied to vi,float
        this.x = (100.0F * me.b(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                       ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:84: b(int,int,int,int) in me cannot be applied to (float)
        this.x = (100.0F * me.b(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:84: operator / cannot be applied to boolean,float
        this.x = (100.0F * me.b(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                                                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:84: b(int,int,int,int) in me cannot be applied to (float)
        this.x = (100.0F * me.b(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
                                                                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:85: operator / cannot be applied to boolean,float
        this.w = (100.0F * -me.a(this.z / 180.0F * 3.141593F));
                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:85: cannot find symbol
    symbol  : method a(float)
    location: class me
        this.w = (100.0F * -me.a(this.z / 180.0F * 3.141593F));
                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:95: cannot find symbol
    symbol  : method a(double)
    location: class me
        float f2 = me.a(d * d + d1 * d1 + d2 * d2);
                     ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:99: int cannot be dereferenced
        d += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
                   ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:100: int cannot be dereferenced
        d1 += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:101: int cannot be dereferenced
        d2 += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:105: possible loss of precision
    found   : double
    required: float
        this.v = d;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:106: possible loss of precision
    found   : double
    required: float
        this.w = d1;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:107: possible loss of precision
    found   : double
    required: float
        this.x = d2;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:108: cannot find symbol
    symbol  : method a(double)
    location: class me
        float f3 = me.a(d * d + d2 * d2);
                     ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:109: cannot assign a value to final variable y
        this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:109: incompatible types
    found   : float
    required: vi
        this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:109: incompatible types
    found   : vi
    required: boolean
        this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:110: incompatible types
    found   : float
    required: boolean
        this.B = (this.z = (float)(Math.atan2(d1, f3) * 180.0D / 3.141592741012573D));
                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:116: possible loss of precision
    found   : double
    required: float
        this.v = d;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:117: possible loss of precision
    found   : double
    required: float
        this.w = d1;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:118: possible loss of precision
    found   : double
    required: float
        this.x = d2;
                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:119: incomparable types: boolean and float
        if ((this.B == 0.0F) && (this.A == 0.0F))
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:119: incomparable types: boolean and float
        if ((this.B == 0.0F) && (this.A == 0.0F))
                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:121: cannot find symbol
    symbol  : method a(double)
    location: class me
          float f = me.a(d * d + d2 * d2);
                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:122: cannot assign a value to final variable y
          this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:122: incompatible types
    found   : float
    required: vi
          this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:122: incompatible types
    found   : vi
    required: boolean
          this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:123: incompatible types
    found   : float
    required: boolean
          this.B = (this.z = (float)(Math.atan2(d1, f) * 180.0D / 3.141592741012573D));
                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:129: reference to a is ambiguous, both method a(double...) in ms and method a(float...) in ms match
        super.a();
             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:132: cannot find symbol
    symbol  : method v()
    location: class EntityBullet
          v();
          ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:134: incomparable types: boolean and float
        if ((this.B == 0.0F) && (this.A == 0.0F))
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:134: incomparable types: boolean and float
        if ((this.B == 0.0F) && (this.A == 0.0F))
                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:136: cannot find symbol
    symbol  : method a(float)
    location: class me
          float f = me.a(this.v * this.v + this.x * this.x);
                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:137: cannot assign a value to final variable y
          this.A = (this.y = (float)(Math.atan2(this.v, this.x) * 180.0D / 3.141592741012573D));
                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:137: incompatible types
    found   : float
    required: vi
          this.A = (this.y = (float)(Math.atan2(this.v, this.x) * 180.0D / 3.141592741012573D));
                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:137: incompatible types
    found   : vi
    required: boolean
          this.A = (this.y = (float)(Math.atan2(this.v, this.x) * 180.0D / 3.141592741012573D));
                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:138: incompatible types
    found   : float
    required: boolean
          this.B = (this.z = (float)(Math.atan2(this.w, f) * 180.0D / 3.141592741012573D));
                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:146: double cannot be dereferenced
          int i = this.o.a(this.xTile, this.yTile, this.zTile);
                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:150: int cannot be dereferenced
            this.v *= this.Y.nextFloat() * 0.2F;
                            ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:151: int cannot be dereferenced
            this.w *= this.Y.nextFloat() * 0.2F;
                            ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:152: int cannot be dereferenced
            this.x *= this.Y.nextFloat() * 0.2F;
                            ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:160: cannot find symbol
    symbol  : method v()
    location: class EntityBullet
              v();
              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:168: cannot find symbol
    symbol  : method b(double,double,float)
    location: class fb
        fb vec3d = fb.b(this.s, this.t, this.u);
                     ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:169: cannot find symbol
    symbol  : method b(double,double,float)
    location: class fb
        fb vec3d1 = fb.b(this.s + this.v, this.t + this.w, this.u + this.x);
                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:170: double cannot be dereferenced
        gv movingobjectposition = this.o.a(vec3d, vec3d1);
                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:171: cannot find symbol
    symbol  : method b(double,double,float)
    location: class fb
        vec3d = fb.b(this.s, this.t, this.u);
                  ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:172: cannot find symbol
    symbol  : method b(double,double,float)
    location: class fb
        vec3d1 = fb.b(this.s + this.v, this.t + this.w, this.u + this.x);
                   ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:175: cannot find symbol
    symbol  : variable f
    location: class gv
          vec3d1 = fb.b(movingobjectposition.f.a, movingobjectposition.f.b, movingobjectposition.f.c);
                                            ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:175: cannot find symbol
    symbol  : variable f
    location: class gv
          vec3d1 = fb.b(movingobjectposition.f.a, movingobjectposition.f.b, movingobjectposition.f.c);
                                                                      ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:175: cannot find symbol
    symbol  : variable f
    location: class gv
          vec3d1 = fb.b(movingobjectposition.f.a, movingobjectposition.f.b, movingobjectposition.f.c);
                                                                                                ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:178: boolean cannot be dereferenced
        List list = this.o.b(this, this.C.a(this.v, this.w, this.x).b(1.0D, 1.0D, 1.0D));
                                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:178: double cannot be dereferenced
        List list = this.o.b(this, this.C.a(this.v, this.w, this.x).b(1.0D, 1.0D, 1.0D));
                          ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:183: incomparable types: ia and nq
          if ((!entity1.e_()) || ((entity1 == this.shootingEntity) && (this.flyTime < 5)))
                                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:188: boolean cannot be dereferenced
          c axisalignedbb = entity1.C.b(f4, f4, f4);
                                     ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:189: cannot find symbol
    symbol  : method a(fb,fb)
    location: class c
          gv movingobjectposition1 = axisalignedbb.a(vec3d, vec3d1);
                                                  ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:194: cannot find symbol
    symbol  : variable f
    location: class gv
          double d1 = vec3d.d(movingobjectposition1.f);
                                                   ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:203: cannot find symbol
    symbol  : constructor gv(ia)
    location: class gv
          movingobjectposition = new gv(entity);
                                 ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:207: cannot find symbol
    symbol  : variable g
    location: class gv
          if (movingobjectposition.g != null)
                                  ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:209: cannot find symbol
    symbol  : constructor fq(java.lang.String,vi)
    location: class fq
            if (movingobjectposition.g.a(new fq("player", this.owner), this.damage))
                                         ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:209: cannot find symbol
    symbol  : variable g
    location: class gv
            if (movingobjectposition.g.a(new fq("player", this.owner), this.damage))
                                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:211: int cannot be dereferenced
              this.o.a(this, "BulletHit", 1.0F, 1.2F / (this.Y.nextFloat() * 0.2F + 0.9F));
                                                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:211: double cannot be dereferenced
              this.o.a(this, "BulletHit", 1.0F, 1.2F / (this.Y.nextFloat() * 0.2F + 0.9F));
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:212: cannot find symbol
    symbol  : method v()
    location: class EntityBullet
              v();
              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:219: cannot find symbol
    symbol  : method v()
    location: class EntityBullet
              v();
              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:223: b has private access in vc
            this.xTile = movingobjectposition.b;
                                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:224: c has private access in vc
            this.yTile = movingobjectposition.c;
                                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:225: d has private access in vc
            this.zTile = movingobjectposition.d;
                                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:226: double cannot be dereferenced
            this.inTile = this.o.a(this.xTile, this.yTile, this.zTile);
                                ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:227: cannot find symbol
    symbol  : variable M
    location: class yy
            if ((this.inTile == yy.M.bM) || (this.inTile == yy.bd.bM) || (this.inTile == yy.K.bM))
                                  ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:227: cannot find symbol
    symbol  : variable bd
    location: class yy
            if ((this.inTile == yy.M.bM) || (this.inTile == yy.bd.bM) || (this.inTile == yy.K.bM))
                                                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:227: cannot find symbol
    symbol  : variable K
    location: class yy
            if ((this.inTile == yy.M.bM) || (this.inTile == yy.bd.bM) || (this.inTile == yy.K.bM))
                                                                                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:229: cannot find symbol
    symbol  : variable k
    location: class yy
              yy block = yy.k[this.inTile];
                           ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: cannot find symbol
    symbol  : variable bX
    location: class yy
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                                        ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: cannot find symbol
    symbol  : variable bX
    location: class yy
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                                                                                                                ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: operator + cannot be applied to yy.bX.b,float
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                                                                                                                     ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: operator / cannot be applied to <nulltype>,float
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                                                                                                                                ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: cannot find symbol
    symbol  : variable bX
    location: class yy
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                                                                                                                                             ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:230: cannot find symbol
    symbol  : variable C
    location: class net.minecraft.client.Minecraft
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
                                              ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:231: double cannot be dereferenced
              this.o.g(this.xTile, this.yTile, this.zTile, 0);
                    ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:234: cannot find symbol
    symbol  : variable f
    location: class gv
              this.v = (float)(movingobjectposition.f.a - this.s);
                                                   ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:235: cannot find symbol
    symbol  : variable f
    location: class gv
              this.w = (float)(movingobjectposition.f.b - this.t);
                                                   ^
    
    src/minecraft/net/minecraft/src/EntityBullet.java:236: cannot find symbol
    symbol  : variable f
    location: class gv
              this.x = (float)(movingobjectposition.f.c - this.u);
                                                   ^
    
    100 errors
    ==================

    This is my file
    import java.util.List;
    import java.util.Random;
    import net.minecraft.client.Minecraft;
    
    public class EntityBullet extends ia
    {
      private int xTile;
      private int yTile;
      private int zTile;
      private int inTile;
      private boolean inGround;
      public int arrowShake;
      public nq shootingEntity;
      private int timeTillDeath;
      private int flyTime;
      private vi owner;
      private int damage;
    
      public EntityBullet(ry world)
      {
        super(world);
        this.xTile = -1;
        this.yTile = -1;
        this.zTile = -1;
        this.inTile = 0;
        this.inGround = false;
        this.arrowShake = 0;
        this.flyTime = 0;
        a(0.5F, 0.5F);
      }
    
      public EntityBullet(ry world, double d, double d1, double d2, double d3, double d4, double d5, vi entityplayer)
      {
        super(world);
        this.xTile = -1;
        this.yTile = -1;
        this.zTile = -1;
        this.inTile = 0;
        this.inGround = false;
        this.arrowShake = 0;
        this.flyTime = 0;
        a(0.5F, 0.5F);
        d(d, d1, d2);
        this.L = 0.0F;
        a(d3, d4, d5);
        this.owner = entityplayer;
      }
    
      public EntityBullet(ry world, double d, double d1, double d2)
      {
        super(world);
        this.xTile = -1;
        this.yTile = -1;
        this.zTile = -1;
        this.inTile = 0;
        this.inGround = false;
        this.arrowShake = 0;
        this.flyTime = 0;
        a(0.5F, 0.5F);
        d(d, d1, d2);
        this.L = 0.0F;
      }
    
      public EntityBullet(ry world, nq entityliving, int i, int j)
      {
        super(world);
        this.damage = i;
        this.xTile = -1;
        this.yTile = -1;
        this.zTile = -1;
        this.inTile = 0;
        this.inGround = false;
        this.arrowShake = 0;
        this.flyTime = 0;
        this.shootingEntity = entityliving;
        a(0.5F, 0.5F);
        c(entityliving.s, entityliving.t + entityliving.E(), entityliving.u, entityliving.y, entityliving.z);
        this.s -= me.b(this.y / 180.0F * 3.141593F) * 0.16F;
        this.t -= 0.1000000014901161D;
        this.u -= me.a(this.y / 180.0F * 3.141593F) * 0.16F;
        d(this.s, this.t, this.u);
        this.L = 0.0F;
        this.v = (100.0F * -me.a(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
        this.x = (100.0F * me.b(this.y / 180.0F * 3.141593F) * me.b(this.z / 180.0F * 3.141593F));
        this.w = (100.0F * -me.a(this.z / 180.0F * 3.141593F));
        setArrowHeading(this.v, this.w, this.x, 1.5F, 1.0F, j);
      }
    
      protected void b()
      {
      }
    
      public void setArrowHeading(double d, double d1, double d2, float f, float f1, int i)
      {
        float f2 = me.a(d * d + d1 * d1 + d2 * d2);
        d /= f2;
        d1 /= f2;
        d2 /= f2;
        d += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
        d1 += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
        d2 += this.Y.nextGaussian() * 0.003499999832361937D * f1 * i;
        d *= f;
        d1 *= f;
        d2 *= f;
        this.v = d;
        this.w = d1;
        this.x = d2;
        float f3 = me.a(d * d + d2 * d2);
        this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
        this.B = (this.z = (float)(Math.atan2(d1, f3) * 180.0D / 3.141592741012573D));
        this.timeTillDeath = 0;
      }
    
      public void a(double d, double d1, double d2)
      {
        this.v = d;
        this.w = d1;
        this.x = d2;
        if ((this.B == 0.0F) && (this.A == 0.0F))
        {
          float f = me.a(d * d + d2 * d2);
          this.A = (this.y = (float)(Math.atan2(d, d2) * 180.0D / 3.141592741012573D));
          this.B = (this.z = (float)(Math.atan2(d1, f) * 180.0D / 3.141592741012573D));
        }
      }
    
      public void a()
      {
        super.a();
        if (this.flyTime > 1000)
        {
          v();
        }
        if ((this.B == 0.0F) && (this.A == 0.0F))
        {
          float f = me.a(this.v * this.v + this.x * this.x);
          this.A = (this.y = (float)(Math.atan2(this.v, this.x) * 180.0D / 3.141592741012573D));
          this.B = (this.z = (float)(Math.atan2(this.w, f) * 180.0D / 3.141592741012573D));
        }
        if (this.arrowShake > 0)
        {
          this.arrowShake -= 1;
        }
        if (this.inGround)
        {
          int i = this.o.a(this.xTile, this.yTile, this.zTile);
          if (i != this.inTile)
          {
            this.inGround = false;
            this.v *= this.Y.nextFloat() * 0.2F;
            this.w *= this.Y.nextFloat() * 0.2F;
            this.x *= this.Y.nextFloat() * 0.2F;
            this.timeTillDeath = 0;
            this.flyTime = 0;
          }
          else {
            this.timeTillDeath += 1;
            if (this.timeTillDeath == 1200)
            {
              v();
            }
            return;
          }
        }
        else {
          this.flyTime += 1;
        }
        fb vec3d = fb.b(this.s, this.t, this.u);
        fb vec3d1 = fb.b(this.s + this.v, this.t + this.w, this.u + this.x);
        gv movingobjectposition = this.o.a(vec3d, vec3d1);
        vec3d = fb.b(this.s, this.t, this.u);
        vec3d1 = fb.b(this.s + this.v, this.t + this.w, this.u + this.x);
        if (movingobjectposition != null)
        {
          vec3d1 = fb.b(movingobjectposition.f.a, movingobjectposition.f.b, movingobjectposition.f.c);
        }
        ia entity = null;
        List list = this.o.b(this, this.C.a(this.v, this.w, this.x).b(1.0D, 1.0D, 1.0D));
        double d = 0.0D;
        for (int j = 0; j < list.size(); j++)
        {
          ia entity1 = (ia)list.get(j);
          if ((!entity1.e_()) || ((entity1 == this.shootingEntity) && (this.flyTime < 5)))
          {
            continue;
          }
          float f4 = 0.3F;
          c axisalignedbb = entity1.C.b(f4, f4, f4);
          gv movingobjectposition1 = axisalignedbb.a(vec3d, vec3d1);
          if (movingobjectposition1 == null)
          {
            continue;
          }
          double d1 = vec3d.d(movingobjectposition1.f);
          if ((d1 >= d) && (d != 0.0D))
            continue;
          entity = entity1;
          d = d1;
        }
    
        if (entity != null)
        {
          movingobjectposition = new gv(entity);
        }
        if (movingobjectposition != null)
        {
          if (movingobjectposition.g != null)
          {
            if (movingobjectposition.g.a(new fq("player", this.owner), this.damage))
            {
              this.o.a(this, "BulletHit", 1.0F, 1.2F / (this.Y.nextFloat() * 0.2F + 0.9F));
              v();
            }
            else {
              this.v *= 0.1000000014901161D;
              this.w *= 0.1000000014901161D;
              this.x *= 0.1000000014901161D;
              this.flyTime = 0;
              v();
            }
          }
          else {
            this.xTile = movingobjectposition.b;
            this.yTile = movingobjectposition.c;
            this.zTile = movingobjectposition.d;
            this.inTile = this.o.a(this.xTile, this.yTile, this.zTile);
            if ((this.inTile == yy.M.bM) || (this.inTile == yy.bd.bM) || (this.inTile == yy.K.bM))
            {
              yy block = yy.k[this.inTile];
              ModLoader.getMinecraftInstance().C.b(block.bX.a(), this.xTile + 0.5F, this.yTile + 0.5F, this.zTile + 0.5F, (block.bX.b() + 1.0F) / 2.0F, block.bX.c() * 0.8F);
              this.o.g(this.xTile, this.yTile, this.zTile, 0);
            }
            else {
              this.v = (float)(movingobjectposition.f.a - this.s);
              this.w = (float)(movingobjectposition.f.b - this.t);
              this.x = (float)(movingobjectposition.f.c - this.u);
              float f1 = me.a(this.v * this.v + this.w * this.w + this.x * this.x);
              this.s -= this.v / f1 * 0.0500000007450581D;
              this.t -= this.w / f1 * 0.0500000007450581D;
              this.u -= this.x / f1 * 0.0500000007450581D;
              this.o.a(this, "Bullet2Hit", 1.0F, 1.2F / (this.Y.nextFloat() * 0.2F + 0.9F));
              v();
            }
          }
        }
        this.s += this.v * 3.0D;
        this.t += this.w * 3.0D;
        this.u += this.x * 3.0D;
        float f2 = me.a(this.v * this.v + this.x * this.x);
        this.y = (float)(Math.atan2(this.v, this.x) * 180.0D / 3.141592741012573D);
        for (this.z = (float)(Math.atan2(this.w, f2) * 180.0D / 3.141592741012573D); this.z - this.B < -180.0F; this.B -= 360.0F);
        while (this.z - this.B >= 180.0F) this.B += 360.0F;
        while (this.y - this.A < -180.0F) this.A -= 360.0F;
        while (this.y - this.A >= 180.0F) this.A += 360.0F;
        this.z = (this.B + (this.z - this.:cool.gif: * 0.2F);
        this.y = (this.A + (this.y - this.A) * 0.2F);
        float f3 = 0.99F;
        float f5 = 0.03F;
        if (h_())
        {
          for (int k = 0; k < 4; k++)
          {
            float f6 = 0.25F;
            this.o.a("bubble", this.s - this.v * f6, this.t - this.w * f6, this.u - this.x * f6, this.v, this.w, this.x);
          }
    
          f3 = 0.8F;
        }
        this.v *= f3;
        this.w *= f3;
        this.x *= f3;
        d(this.s, this.t, this.u);
      }
    
      public void a(ik nbttagcompound)
      {
        nbttagcompound.a("xTile", (short)this.xTile);
        nbttagcompound.a("yTile", (short)this.yTile);
        nbttagcompound.a("zTile", (short)this.zTile);
        nbttagcompound.a("inTile", (byte)this.inTile);
        nbttagcompound.a("shake", (byte)this.arrowShake);
        nbttagcompound.a("inGround", (byte)(this.inGround ? 1 : 0));
      }
    
      public void b(ik nbttagcompound)
      {
        this.xTile = nbttagcompound.d("xTile");
        this.yTile = nbttagcompound.d("yTile");
        this.zTile = nbttagcompound.d("zTile");
        this.inTile = (nbttagcompound.c("inTile") & 0xFF);
        this.arrowShake = (nbttagcompound.c("shake") & 0xFF);
        this.inGround = (nbttagcompound.c("inGround") == 1);
      }
    
      public void a(vi entityplayer)
      {
        if (this.o.I)
        {
          return;
        }
        if ((this.inGround) && (this.shootingEntity == entityplayer) && (this.arrowShake <= 0) && (entityplayer.by.a(new dk(acy.k, 1))))
        {
          this.o.a(this, "random.pop", 0.2F, ((this.Y.nextFloat() - this.Y.nextFloat()) * 0.7F + 1.0F) * 2.0F);
          entityplayer.a(this, 1);
          v();
        }
      }
    
      public float i_()
      {
        return 0.0F;
      }
    }

    if you help (Masters) You will be greatly credited in this edition to my mod!

    thanks!

    Please help please I really don't know anything about this constructer thing.



    Why don't you make a thread instead of invading people's thread like that?

    Is your reply really not-related or am I missing something?
    Posted in: Modification Development
  • 0

    posted a message on Trouble making a weapon
    Quote from MrChessPiece

    In the first one fore *entity here* do I put entityliving meaning it will take the damage after hitting any living entity? I have know programming experience so I think i'm doing pretty good so far.

    MrCreeper Thanks, wasn't aware of that.

    Also, from what you guys can see have I edited any base classes? I don't see how I could have because all I am doing is making new items and i'm overriding the items gui with my own image but I read somewhere to avoid editing base classes you need to make a new enumtoolmaterial or something which I definitely did not do.

    EDIT: Changed them both to what you showed but now I'm getting an error with void underlined
        public void onBlockDestroyed(ItemStack itemstack, int i, int j, int k, int l, EntityLiving entityliving)
        {
            itemstack.damageItem(2, entityliving);
        }
    Eclipse is suggesting I change it to a boolean.


    The entityliving is the entity that holds the item that shall be damaged.

    This is the correct method for onBlockDestroyed:

    public boolean onBlockDestroyed(ItemStack itemstack, int i, int j, int k, int l, EntityLiving entityliving)
        {
            itemstack.damageItem(2, entityliving);
            return true;
        }


    And this is the correct one for hitEntity:

    public boolean hitEntity(ItemStack itemstack, EntityLiving entityliving, EntityLiving entityliving1)
        {
            itemstack.damageItem(1, entityliving1);
            return true;
        }


    Next time just copy-paste ItemSword and change a few things.
    Posted in: Modification Development
  • 0

    posted a message on PLEASE HELP ME!
    Did you putted the reobfuscated files inside the minecraft jar?
    Posted in: Modification Development
  • To post a comment, please or register a new account.