类 EntityDimensions

java.lang.Object
net.minecraft.world.entity.EntityDimensions

public class EntityDimensions extends Object
  • 字段详细资料

    • width

      public final float width
    • height

      public final float height
    • fixed

      public final boolean fixed
  • 构造器详细资料

    • EntityDimensions

      public EntityDimensions(float pWidth, float pHeight, boolean pFixed)
  • 方法详细资料

    • makeBoundingBox

      public AABB makeBoundingBox(Vec3 pPos)
    • makeBoundingBox

      public AABB makeBoundingBox(double pX, double pY, double pZ)
    • scale

      public EntityDimensions scale(float pFactor)
    • scale

      public EntityDimensions scale(float pWidthFactor, float pHeightFactor)
    • scalable

      public static EntityDimensions scalable(float pWidth, float pHeight)
    • fixed

      public static EntityDimensions fixed(float pWidth, float pHeight)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object