Class TextDisplayMeta
java.lang.Object
net.minestom.server.entity.metadata.EntityMeta
net.minestom.server.entity.metadata.display.AbstractDisplayMeta
net.minestom.server.entity.metadata.display.TextDisplayMeta
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minestom.server.entity.metadata.display.AbstractDisplayMeta
AbstractDisplayMeta.BillboardConstraints
-
Field Summary
Fields inherited from class net.minestom.server.entity.metadata.EntityMeta
metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
@NotNull Component
getText()
byte
boolean
boolean
boolean
boolean
isShadow()
boolean
void
setAlignLeft
(boolean value) void
void
setAlignRight
(boolean value) void
setBackgroundColor
(int value) void
setLineWidth
(int value) void
setSeeThrough
(boolean value) void
setShadow
(boolean value) void
void
setTextOpacity
(byte value) void
setUseDefaultBackground
(boolean value) Methods inherited from class net.minestom.server.entity.metadata.display.AbstractDisplayMeta
getBillboardRenderConstraints, getBlockLight, getBrightnessOverride, getGlowColorOverride, getHeight, getLeftRotation, getPosRotInterpolationDuration, getRightRotation, getScale, getShadowRadius, getShadowStrength, getSkyLight, getTransformationInterpolationDuration, getTransformationInterpolationStartDelta, getTranslation, getViewRange, getWidth, setBillboardRenderConstraints, setBrightness, setBrightnessOverride, setGlowColorOverride, setHeight, setLeftRotation, setPosRotInterpolationDuration, setRightRotation, setScale, setShadowRadius, setShadowStrength, setTransformationInterpolationDuration, setTransformationInterpolationStartDelta, setTranslation, setViewRange, setWidth
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
-
TextDisplayMeta
-
-
Method Details
-
getText
-
setText
-
getLineWidth
public int getLineWidth() -
setLineWidth
public void setLineWidth(int value) -
getBackgroundColor
public int getBackgroundColor() -
setBackgroundColor
public void setBackgroundColor(int value) -
getTextOpacity
public byte getTextOpacity() -
setTextOpacity
public void setTextOpacity(byte value) -
isShadow
public boolean isShadow() -
setShadow
public void setShadow(boolean value) -
isSeeThrough
public boolean isSeeThrough() -
setSeeThrough
public void setSeeThrough(boolean value) -
isUseDefaultBackground
public boolean isUseDefaultBackground() -
setUseDefaultBackground
public void setUseDefaultBackground(boolean value) -
isAlignLeft
public boolean isAlignLeft() -
setAlignLeft
public void setAlignLeft(boolean value) -
isAlignRight
public boolean isAlignRight() -
setAlignRight
public void setAlignRight(boolean value) -
getAlignment
-
setAlignment
-