Package net.minecraft.src

Examples of net.minecraft.src.AxisAlignedBB.calculateIntercept()


            {
                continue;
            }
            float f2 = 0.3F;
            AxisAlignedBB axisalignedbb = entity1.boundingBox.expand(f2, f2, f2);
            MovingObjectPosition movingobjectposition1 = axisalignedbb.calculateIntercept(vec3d, vec3d1);
            if(movingobjectposition1 == null)
            {
                continue;
            }
            double d1 = vec3d.distanceTo(movingobjectposition1.hitVec);
View Full Code Here


      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,
          vec3d1);
      if (movingobjectposition1 == null) {
        continue;
      }
      double d1 = vec3d.distanceTo(movingobjectposition1.hitVec);
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.