Examples of canBeCollidedWith()


Examples of net.minecraft.entity.Entity.canBeCollidedWith()

            while (var9.hasNext())
            {
                final Entity var10 = (Entity) var9.next();

                if (var10.canBeCollidedWith() && (var10 != this.shootingEntity || this.ticksInAir >= 5))
                {
                    var11 = 0.3F;
                    final AxisAlignedBB var12 = var10.boundingBox.expand(var11, var11, var11);
                    final MovingObjectPosition var13 = var12.calculateIntercept(var17, var3);
View Full Code Here

Examples of net.minecraft.entity.Entity.canBeCollidedWith()

        while (var8.hasNext())
        {
            final Entity var9 = (Entity) var8.next();

            if (var9.canBeCollidedWith() && !var9.isEntityEqual(this.shootingEntity))
            {
                final float var10 = 0.01F;
                final AxisAlignedBB var11 = var9.boundingBox.expand(var10, var10, var10);
                final MovingObjectPosition var12 = var11.calculateIntercept(var15, var2);
View Full Code Here

Examples of net.minecraft.entity.Entity.canBeCollidedWith()

      double d2;

      for (int i = 0; i < list.size(); i++) {
        Entity entity1 = list.get(i);

        if (entity1.canBeCollidedWith() && (entity1 != this.field_146042_b || this.field_146047_aw >= 5)) {
          float f = 0.3F;
          AxisAlignedBB axisalignedbb = entity1.boundingBox.expand(f, f, f);
          MovingObjectPosition movingobjectposition1 = axisalignedbb.calculateIntercept(vec31, vec3);

          if (movingobjectposition1 != null) {
View Full Code Here

Examples of net.minecraft.entity.Entity.canBeCollidedWith()

        List list = worldObj.getEntitiesWithinAABBExcludingEntity(this, boundingBox.addCoord(motionX, motionY, motionZ).expand(1.0D, 1.0D, 1.0D));
        double d = 0.0D;
        for (int j = 0; j < list.size(); j++)
        {
            Entity entity1 = (Entity) list.get(j);
            if (!entity1.canBeCollidedWith() || entity1 == owner && ticksInAir < 5)
            {
                continue;
            }
            float f3 = 0.3F;
            AxisAlignedBB axisalignedbb = entity1.boundingBox.expand(f3, f3, f3);
View Full Code Here

Examples of net.minecraft.src.Entity.canBeCollidedWith()

        List list = worldObj.getEntitiesWithinAABBExcludingEntity(this, boundingBox.addCoord(motionX, motionY, motionZ).expand(1.0D, 1.0D, 1.0D));
        double d = 0.0D;
        for(int j = 0; j < list.size(); j++)
        {
            Entity entity1 = (Entity)list.get(j);
            if(!entity1.canBeCollidedWith() || entity1.isEntityEqual(shootingEntity) && ticksInAir < 25)
            {
                continue;
            }
            float f2 = 0.3F;
            AxisAlignedBB axisalignedbb = entity1.boundingBox.expand(f2, f2, f2);
View Full Code Here

Examples of net.minecraft.src.Entity.canBeCollidedWith()

    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 == shootingEntity && ticksInAir < 5) {
        continue;
      }
      float f5 = 0.3F;
      AxisAlignedBB axisalignedbb1 = entity1.boundingBox.expand(f5, f5, f5);
      MovingObjectPosition movingobjectposition1 = axisalignedbb1.calculateIntercept(vec3d,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.