Class AbstractDisplayMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.display.AbstractDisplayMeta
- Direct Known Subclasses:
BlockDisplayMeta
,ItemDisplayMeta
,TextDisplayMeta
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDisplayMeta
(@NotNull Entity entity, @NotNull Metadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionint
int
float
float @NotNull []
int
float @NotNull []
@NotNull Vec
getScale()
float
float
int
int
@NotNull Point
float
float
getWidth()
void
void
setBrightnessOverride
(int value) void
setGlowColorOverride
(int value) void
setHeight
(float value) void
setLeftRotation
(float @NotNull [] value) void
setPosRotInterpolationDuration
(int value) void
setRightRotation
(float @NotNull [] value) void
void
setShadowRadius
(float value) void
setShadowStrength
(float value) void
setTransformationInterpolationDuration
(int value) void
setTransformationInterpolationStartDelta
(int value) void
setTranslation
(@NotNull Point value) void
setViewRange
(float value) void
setWidth
(float value) Methods inherited from class net.minestom.server.entity.metadata.EntityMeta
consumeEntity, getAirTicks, getCustomName, getMask, getMaskBit, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setMask, setMaskBit, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
Field Details
-
OFFSET
public static final byte OFFSET- See Also:
-
MAX_OFFSET
public static final byte MAX_OFFSET- See Also:
-
-
Constructor Details
-
AbstractDisplayMeta
-
-
Method Details
-
getTransformationInterpolationStartDelta
public int getTransformationInterpolationStartDelta() -
setTransformationInterpolationStartDelta
public void setTransformationInterpolationStartDelta(int value) -
getTransformationInterpolationDuration
public int getTransformationInterpolationDuration() -
setTransformationInterpolationDuration
public void setTransformationInterpolationDuration(int value) -
getPosRotInterpolationDuration
public int getPosRotInterpolationDuration() -
setPosRotInterpolationDuration
public void setPosRotInterpolationDuration(int value) -
getTranslation
-
setTranslation
-
getScale
-
setScale
-
getLeftRotation
public float @NotNull [] getLeftRotation() -
setLeftRotation
public void setLeftRotation(float @NotNull [] value) -
getRightRotation
public float @NotNull [] getRightRotation() -
setRightRotation
public void setRightRotation(float @NotNull [] value) -
getBillboardRenderConstraints
-
setBillboardRenderConstraints
public void setBillboardRenderConstraints(@NotNull @NotNull AbstractDisplayMeta.BillboardConstraints value) -
getBrightnessOverride
public int getBrightnessOverride() -
setBrightnessOverride
public void setBrightnessOverride(int value) -
getViewRange
public float getViewRange() -
setViewRange
public void setViewRange(float value) -
getShadowRadius
public float getShadowRadius() -
setShadowRadius
public void setShadowRadius(float value) -
getShadowStrength
public float getShadowStrength() -
setShadowStrength
public void setShadowStrength(float value) -
getWidth
public float getWidth() -
setWidth
public void setWidth(float value) -
getHeight
public float getHeight() -
setHeight
public void setHeight(float value) -
getGlowColorOverride
public int getGlowColorOverride() -
setGlowColorOverride
public void setGlowColorOverride(int value)
-