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 MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescriptionintintfloatfloat @NotNull []intfloat @NotNull []@NotNull net.minestom.server.coordinate.VecgetScale()floatfloatintint@NotNull net.minestom.server.coordinate.PointfloatfloatgetWidth()voidvoidsetBrightnessOverride(int value) voidsetGlowColorOverride(int value) voidsetHeight(float value) voidsetLeftRotation(float @NotNull [] value) voidsetPosRotInterpolationDuration(int value) voidsetRightRotation(float @NotNull [] value) voidsetScale(@NotNull net.minestom.server.coordinate.Vec value) voidsetShadowRadius(float value) voidsetShadowStrength(float value) voidsetTransformationInterpolationDuration(int value) voidsetTransformationInterpolationStartDelta(int value) voidsetTranslation(@NotNull net.minestom.server.coordinate.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
protected AbstractDisplayMeta(@NotNull @NotNull Entity entity, @NotNull @NotNull MetadataHolder metadata)
-
-
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
@NotNull public @NotNull net.minestom.server.coordinate.Point getTranslation() -
setTranslation
public void setTranslation(@NotNull @NotNull net.minestom.server.coordinate.Point value) -
getScale
@NotNull public @NotNull net.minestom.server.coordinate.Vec getScale() -
setScale
public void setScale(@NotNull @NotNull net.minestom.server.coordinate.Vec value) -
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)
-