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
Nested Classes -
Field Summary
FieldsFields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDisplayMeta(@NotNull Entity entity, @NotNull Metadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionintintfloatfloat @NotNull []intfloat @NotNull []@NotNull VecgetScale()floatfloatintint@NotNull PointfloatfloatgetWidth()voidvoidsetBrightnessOverride(int value) voidsetGlowColorOverride(int value) voidsetHeight(float value) voidsetLeftRotation(float @NotNull [] value) voidsetPosRotInterpolationDuration(int value) voidsetRightRotation(float @NotNull [] value) voidvoidsetShadowRadius(float value) voidsetShadowStrength(float value) voidsetTransformationInterpolationDuration(int value) voidsetTransformationInterpolationStartDelta(int value) voidsetTranslation(@NotNull Point value) voidsetViewRange(float value) voidsetWidth(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)
-