Class EntityDimensions

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

public class EntityDimensions
extends Object
  • Field Details

    • width

      public final float width
    • height

      public final float height
    • fixed

      public final boolean fixed
  • Constructor Details

    • EntityDimensions

      public EntityDimensions​(float width, float height, boolean fixed)
  • Method Details

    • getBoxAt

      public Box getBoxAt​(Vec3d pos)
    • getBoxAt

      public Box getBoxAt​(double x, double y, double z)
    • scaled

      public EntityDimensions scaled​(float ratio)
    • scaled

      public EntityDimensions scaled​(float widthRatio, float heightRatio)
    • changing

      public static EntityDimensions changing​(float width, float height)
    • fixed

      public static EntityDimensions fixed​(float width, float height)
    • toString

      public String toString()
      Overrides:
      toString in class Object