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
,StringVisitable
,Text
- Mappings:
Namespace Name official pf
intermediary net/minecraft/class_2585
named net/minecraft/text/LiteralText
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.text.StringVisitable
StringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>
Nested classes/interfaces inherited from interface net.minecraft.text.Text
Text.Serializer
-
Field Summary
Fields inherited from interface net.minecraft.text.StringVisitable
TERMINATE_VISIT
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.text.BaseText
append, asOrderedText, getSiblings, getStyle, hashCode, setStyle, shallowCopy
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.text.MutableText
append, fillStyle, formatted, formatted, styled
Methods inherited from interface net.minecraft.text.Text
asTruncatedString, getString, getWithStyle, visit, visit, visitSelf, visitSelf
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector official d
Lpf;d:Los;
intermediary field_24366
Lnet/minecraft/class_2585;field_24366:Lnet/minecraft/class_2561;
named EMPTY
Lnet/minecraft/text/LiteralText;EMPTY:Lnet/minecraft/text/Text;
-
string
- Mappings:
Namespace Name Mixin selector official e
Lpf;e:Ljava/lang/String;
intermediary field_11862
Lnet/minecraft/class_2585;field_11862:Ljava/lang/String;
named string
Lnet/minecraft/text/LiteralText;string:Ljava/lang/String;
-
-
Constructor Details
-
LiteralText
- Mappings:
Namespace Name Mixin selector official <init>
Lpf;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2585;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/text/LiteralText;<init>(Ljava/lang/String;)V
-
-
Method Details
-
getRawString
- Mappings:
Namespace Name Mixin selector official h
Lpf;h()Ljava/lang/String;
intermediary method_10993
Lnet/minecraft/class_2585;method_10993()Ljava/lang/String;
named getRawString
Lnet/minecraft/text/LiteralText;getRawString()Ljava/lang/String;
-
asString
Returns the string representation of this text itself, excluding siblings.- Specified by:
asString
in interfaceText
- Overrides:
asString
in classBaseText
- Mappings:
Namespace Name Mixin selector official a
Los;a()Ljava/lang/String;
intermediary method_10851
Lnet/minecraft/class_2561;method_10851()Ljava/lang/String;
named asString
Lnet/minecraft/text/Text;asString()Ljava/lang/String;
-
copy
Description copied from interface:Text
Copies the text itself, excluding the styles or siblings.- Specified by:
copy
in interfaceText
- Specified by:
copy
in classBaseText
- Mappings:
Namespace Name Mixin selector official i
Lpf;i()Lpf;
intermediary method_10992
Lnet/minecraft/class_2585;method_10992()Lnet/minecraft/class_2585;
named copy
Lnet/minecraft/text/LiteralText;copy()Lnet/minecraft/text/LiteralText;
-
equals
-
toString
-