public class DebugText extends DebugShape
DebugShape.Type| Constructor and Description |
|---|
DebugText() |
DebugText(long id,
int dimension,
@Nullable org.cloudburstmc.math.vector.Vector3f position,
@Nullable java.lang.Float scale,
@Nullable org.cloudburstmc.math.vector.Vector3f rotation,
@Nullable java.lang.Float totalTimeLeft,
@Nullable java.awt.Color color,
java.lang.String text)
Deprecated.
|
DebugText(long id,
int dimension,
@Nullable org.cloudburstmc.math.vector.Vector3f position,
@Nullable java.lang.Float scale,
@Nullable org.cloudburstmc.math.vector.Vector3f rotation,
@Nullable java.lang.Float totalTimeLeft,
@Nullable java.awt.Color color,
java.lang.String text,
@Nullable java.lang.Long attachedToEntityId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
@Nullable java.awt.Color |
getBackgroundColor() |
java.lang.String |
getText() |
DebugShape.Type |
getType() |
int |
hashCode() |
boolean |
isDepthTest() |
boolean |
isShowBackface() |
boolean |
isShowTextBackface() |
boolean |
isUseRotation() |
void |
setBackgroundColor(@Nullable java.awt.Color backgroundColor) |
void |
setDepthTest(boolean depthTest) |
void |
setShowBackface(boolean showBackface) |
void |
setShowTextBackface(boolean showTextBackface) |
void |
setText(java.lang.String text) |
void |
setUseRotation(boolean useRotation) |
java.lang.String |
toString() |
getAttachedToEntityId, getColor, getDimension, getId, getMaximumRenderDistance, getPosition, getRotation, getScale, getTotalTimeLeft, setAttachedToEntityId, setColor, setDimension, setId, setMaximumRenderDistance, setPosition, setRotation, setScale, setTotalTimeLeftpublic DebugText()
@Deprecated
public DebugText(long id,
int dimension,
@Nullable org.cloudburstmc.math.vector.Vector3f position,
@Nullable java.lang.Float scale,
@Nullable org.cloudburstmc.math.vector.Vector3f rotation,
@Nullable java.lang.Float totalTimeLeft,
@Nullable java.awt.Color color,
java.lang.String text)
@Deprecated
public DebugText(long id,
int dimension,
@Nullable org.cloudburstmc.math.vector.Vector3f position,
@Nullable java.lang.Float scale,
@Nullable org.cloudburstmc.math.vector.Vector3f rotation,
@Nullable java.lang.Float totalTimeLeft,
@Nullable java.awt.Color color,
java.lang.String text,
@Nullable java.lang.Long attachedToEntityId)
public DebugShape.Type getType()
getType in class DebugShapepublic java.lang.String getText()
public boolean isUseRotation()
public @Nullable java.awt.Color getBackgroundColor()
public boolean isDepthTest()
public boolean isShowBackface()
public boolean isShowTextBackface()
public void setText(java.lang.String text)
public void setUseRotation(boolean useRotation)
public void setBackgroundColor(@Nullable java.awt.Color backgroundColor)
public void setDepthTest(boolean depthTest)
public void setShowBackface(boolean showBackface)
public void setShowTextBackface(boolean showTextBackface)
public java.lang.String toString()
toString in class DebugShapepublic boolean equals(java.lang.Object o)
equals in class DebugShapeprotected boolean canEqual(java.lang.Object other)
canEqual in class DebugShapepublic int hashCode()
hashCode in class DebugShape