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()
int
boolean
boolean
boolean
boolean
isShadow()
boolean
void
setAlignLeft
(boolean value) 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, getBrightnessOverride, getGlowColorOverride, getHeight, getLeftRotation, getPosRotInterpolationDuration, getRightRotation, getScale, getShadowRadius, getShadowStrength, getTransformationInterpolationDuration, getTransformationInterpolationStartDelta, getTranslation, getViewRange, getWidth, setBillboardRenderConstraints, 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, 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
-
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 int 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)
-