Package net.minecraft.text
Class LiteralText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.LiteralText
- All Implemented Interfaces:
com.mojang.brigadier.Message,MutableText,StringRenderable,Text
public class LiteralText extends BaseText
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.text.StringRenderable
StringRenderable.StyledVisitor<T>, StringRenderable.Visitor<T> -
Field Summary
Fields Modifier and Type Field Description static TextEMPTYprivate Languagefield_25315private Stringfield_25316private Stringstring -
Constructor Summary
Constructors Constructor Description LiteralText(String string) -
Method Summary
Modifier and Type Method Description StringasString()Returns the string representation of this text itself, excluding siblings.LiteralTextcopy()Copies the text itself, excluding the styles or siblings.booleanequals(Object obj)StringgetRawString()StringtoString()Methods inherited from class net.minecraft.text.BaseText
append, getSiblings, getStyle, hashCode, setStyle, shallowCopyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait