net.minecraft.entity

public record EntityDimensions

net.minecraft.world.entity.EntityDimensions
net.minecraft.class_4048
net.minecraft.entity.EntityDimensions

Field summary

Modifier and TypeField
private final float
width
comp_2185
width
private final float
height
comp_2186
height
private final float
eyeHeight
comp_2187
eyeHeight
private final EntityAttachments
attachments
comp_2188
attachments
private final boolean
fixed
comp_2189
fixed

Constructor summary

ModifierConstructor
private (float width, float height, boolean fixed)
public (float width, float height, float eyeHeight, EntityAttachments attachments, boolean fixed)

Method summary

Modifier and TypeMethod
private static float
defaultEyeHeight(float height)
method_55686(float arg0)
getDefaultEyeHeight(float height)
public Box
makeBoundingBox(Vec3 pos)
method_30757(class_243 arg0)
getBoxAt(Vec3d pos)
public Box
makeBoundingBox(double x, double y, double z)
method_30231(double arg0, double arg1, double arg2)
getBoxAt(double x, double y, double z)
public EntityDimensions
scale(float scaleFactor)
method_18383(float arg0)
scaled(float ratio)
public EntityDimensions
scale(float widthScaleFactor, float heightScaleFactor)
method_19539(float arg0, float arg1)
scaled(float widthRatio, float heightRatio)
public static EntityDimensions
scalable(float width, float height)
method_18384(float arg0, float arg1)
changing(float width, float height)
public static EntityDimensions
fixed(float width, float height)
method_18385(float arg0, float arg1)
fixed(float width, float height)
public EntityDimensions
withEyeHeight(float eyeHeight)
method_55685(float arg0)
withEyeHeight(float eyeHeight)
public EntityDimensions
withAttachments(EntityAttachments$Builder attachments)
method_55684(class_9066$class_9067 arg0)
withAttachments(EntityAttachments$Builder attachments)
public float
width()
comp_2185()
width()
public float
height()
comp_2186()
height()
public float
eyeHeight()
comp_2187()
eyeHeight()
public EntityAttachments
attachments()
comp_2188()
attachments()
public boolean
fixed()
comp_2189()
fixed()