Package net.minecraft.text
Class SelectorText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.SelectorText
- All Implemented Interfaces:
com.mojang.brigadier.Message,MutableText,ParsableText,StringVisitable,Text
- Mappings:
Namespace Name official qcintermediary net/minecraft/class_2579named net/minecraft/text/SelectorText
-
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
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate final Stringprivate final @Nullable EntitySelectorFields inherited from interface net.minecraft.text.StringVisitable
EMPTY, TERMINATE_VISIT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.text.BaseText
append, asOrderedText, getSiblings, getStyle, hashCode, setStyle, shallowCopyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.text.MutableText
append, fillStyle, formatted, formatted, styledMethods inherited from interface net.minecraft.text.Text
asTruncatedString, getString, getWithStyle, visit, visit, visitSelf, visitSelf
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official eLqc;e:Lorg/apache/logging/log4j/Logger;intermediary field_11791Lnet/minecraft/class_2579;field_11791:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/text/SelectorText;LOGGER:Lorg/apache/logging/log4j/Logger;
-
pattern
- Mappings:
Namespace Name Mixin selector official fLqc;f:Ljava/lang/String;intermediary field_11789Lnet/minecraft/class_2579;field_11789:Ljava/lang/String;named patternLnet/minecraft/text/SelectorText;pattern:Ljava/lang/String;
-
selector
- Mappings:
Namespace Name Mixin selector official gLqc;g:Lfn;intermediary field_11790Lnet/minecraft/class_2579;field_11790:Lnet/minecraft/class_2300;named selectorLnet/minecraft/text/SelectorText;selector:Lnet/minecraft/command/EntitySelector;
-
separator
- Mappings:
Namespace Name Mixin selector official dLqc;d:Ljava/util/Optional;intermediary field_33540Lnet/minecraft/class_2579;field_33540:Ljava/util/Optional;named separatorLnet/minecraft/text/SelectorText;separator:Ljava/util/Optional;
-
-
Constructor Details
-
SelectorText
- Mappings:
Namespace Name Mixin selector official <init>Lqc;<init>(Ljava/lang/String;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_2579;<init>(Ljava/lang/String;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/text/SelectorText;<init>(Ljava/lang/String;Ljava/util/Optional;)V
-
-
Method Details
-
getPattern
- Mappings:
Namespace Name Mixin selector official hLqc;h()Ljava/lang/String;intermediary method_10932Lnet/minecraft/class_2579;method_10932()Ljava/lang/String;named getPatternLnet/minecraft/text/SelectorText;getPattern()Ljava/lang/String;
-
getSelector
- Mappings:
Namespace Name Mixin selector official iLqc;i()Lfn;intermediary method_36138Lnet/minecraft/class_2579;method_36138()Lnet/minecraft/class_2300;named getSelectorLnet/minecraft/text/SelectorText;getSelector()Lnet/minecraft/command/EntitySelector;
-
getSeparator
- Mappings:
Namespace Name Mixin selector official jLqc;j()Ljava/util/Optional;intermediary method_36339Lnet/minecraft/class_2579;method_36339()Ljava/util/Optional;named getSeparatorLnet/minecraft/text/SelectorText;getSeparator()Ljava/util/Optional;
-
parse
public MutableText parse(@Nullable @Nullable ServerCommandSource source, @Nullable @Nullable Entity sender, int depth) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfaceParsableText- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLpv;a(Ldm;Lawm;I)Lpz;intermediary method_10890Lnet/minecraft/class_2566;method_10890(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;I)Lnet/minecraft/class_5250;named parseLnet/minecraft/text/ParsableText;parse(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;I)Lnet/minecraft/text/MutableText;
-
asString
Returns the string representation of this text itself, excluding siblings.- Specified by:
asStringin interfaceText- Overrides:
asStringin classBaseText- Mappings:
Namespace Name Mixin selector official aLpt;a()Ljava/lang/String;intermediary method_10851Lnet/minecraft/class_2561;method_10851()Ljava/lang/String;named asStringLnet/minecraft/text/Text;asString()Ljava/lang/String;
-
copy
Description copied from interface:TextCopies the text itself, excluding the styles or siblings.- Specified by:
copyin interfaceText- Specified by:
copyin classBaseText- Mappings:
Namespace Name Mixin selector official kLqc;k()Lqc;intermediary method_10931Lnet/minecraft/class_2579;method_10931()Lnet/minecraft/class_2579;named copyLnet/minecraft/text/SelectorText;copy()Lnet/minecraft/text/SelectorText;
-
equals
-
toString
-