Package net.minecraft.entity
Class EntityDimensions
java.lang.Object
net.minecraft.entity.EntityDimensions
public class EntityDimensions extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityDimensions(float width, float height, boolean fixed)
-
Method Summary
Modifier and Type Method Description static EntityDimensions
changing(float width, float height)
static EntityDimensions
fixed(float width, float height)
Box
getBoxAt(double x, double y, double z)
Box
getBoxAt(Vec3d pos)
EntityDimensions
scaled(float ratio)
EntityDimensions
scaled(float widthRatio, float heightRatio)
String
toString()
-
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