Package net.minecraft.text
Class LiteralText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.LiteralText
public class LiteralText extends BaseText
- Mappings:
Namespace Name official faintermediary net/minecraft/class_1454named net/minecraft/text/LiteralText
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.text.Text
Text.Serializer -
Field Summary
-
Constructor Summary
Constructors Constructor Description LiteralText(String string) -
Method Summary
Modifier and Type Method Description StringasString()LiteralTextcopy()booleanequals(Object object)StringgetRawString()StringtoString()Methods inherited from class net.minecraft.text.BaseText
append, append, asFormattedString, getSiblings, getString, getStyle, hashCode, iterator, method_5150, setStyleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
string
- Mappings:
Namespace Name Mixin selector official bLfa;b:Ljava/lang/String;intermediary field_6036Lnet/minecraft/class_1454;field_6036:Ljava/lang/String;named stringLnet/minecraft/text/LiteralText;string:Ljava/lang/String;
-
-
Constructor Details
-
LiteralText
- Mappings:
Namespace Name Mixin selector official <init>Lfa;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1454;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/text/LiteralText;<init>(Ljava/lang/String;)V
-
-
Method Details
-
getRawString
- Mappings:
Namespace Name Mixin selector official gLfa;g()Ljava/lang/String;intermediary method_5230Lnet/minecraft/class_1454;method_5230()Ljava/lang/String;named getRawStringLnet/minecraft/text/LiteralText;getRawString()Ljava/lang/String;
-
asString
- Mappings:
Namespace Name Mixin selector official eLeu;e()Ljava/lang/String;intermediary method_5165Lnet/minecraft/class_1444;method_5165()Ljava/lang/String;named asStringLnet/minecraft/text/Text;asString()Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official hLfa;h()Lfa;intermediary method_5231Lnet/minecraft/class_1454;method_5231()Lnet/minecraft/class_1454;named copyLnet/minecraft/text/LiteralText;copy()Lnet/minecraft/text/LiteralText;
-
equals
-
toString
-