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 MetadataHolder metadata) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
float
float @NotNull []
int
float @NotNull []
@NotNull Vec
getScale()
float
float
int
int
int
@NotNull Point
float
float
getWidth()
void
void
setBrightness
(int blockLight, int skyLight) 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, getPose, getTickFrozen, isCustomNameVisible, isFlyingWithElytra, isHasGlowingEffect, isHasNoGravity, isInvisible, isOnFire, isSilent, isSneaking, isSprinting, isSwimming, setAirTicks, setCustomName, setCustomNameVisible, setFlyingWithElytra, setHasGlowingEffect, setHasNoGravity, setInvisible, setNotifyAboutChanges, setOnFire, setPose, setSilent, setSneaking, setSprinting, setSwimming, setTickFrozen
-
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
-
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) -
setBrightness
public void setBrightness(int blockLight, int skyLight) -
getBlockLight
public int getBlockLight() -
getSkyLight
public int getSkyLight() -
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)
-