Package net.minecraft.text
Class NbtText.EntityNbtText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.NbtText
net.minecraft.text.NbtText.EntityNbtText
- All Implemented Interfaces:
com.mojang.brigadier.Message,MutableText,ParsableText,StringVisitable,Text
- Enclosing class:
- NbtText
- Mappings:
Namespace Name official oz$bintermediary net/minecraft/class_2574$class_2576named net/minecraft/text/NbtText$EntityNbtText
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.text.NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextNested 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
FieldsFields inherited from interface net.minecraft.text.StringVisitable
EMPTY, TERMINATE_VISIT -
Constructor Summary
ConstructorsModifierConstructorDescriptionEntityNbtText(String rawPath, boolean interpret, String rawSelector, Optional<Text> separator)privateEntityNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, String rawSelector, @Nullable EntitySelector selector, Optional<Text> separator) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copies the text itself, excluding the styles or siblings.booleanprivate static @Nullable EntitySelectorparseSelector(String rawSelector)protected Stream<NbtCompound>toNbt(ServerCommandSource source)toString()Methods inherited from class net.minecraft.text.NbtText
getPath, parse, shouldInterpretMethods inherited from class net.minecraft.text.BaseText
append, asOrderedText, asString, 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
-
rawSelector
- Mappings:
Namespace Name Mixin selector official hLoz$b;h:Ljava/lang/String;intermediary field_11782Lnet/minecraft/class_2574$class_2576;field_11782:Ljava/lang/String;named rawSelectorLnet/minecraft/text/NbtText$EntityNbtText;rawSelector:Ljava/lang/String;
-
selector
- Mappings:
Namespace Name Mixin selector official iLoz$b;i:Lfm;intermediary field_11781Lnet/minecraft/class_2574$class_2576;field_11781:Lnet/minecraft/class_2300;named selectorLnet/minecraft/text/NbtText$EntityNbtText;selector:Lnet/minecraft/command/EntitySelector;
-
-
Constructor Details
-
EntityNbtText
public EntityNbtText(String rawPath, boolean interpret, String rawSelector, Optional<Text> separator)- Mappings:
Namespace Name Mixin selector official <init>Loz$b;<init>(Ljava/lang/String;ZLjava/lang/String;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_2574$class_2576;<init>(Ljava/lang/String;ZLjava/lang/String;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/text/NbtText$EntityNbtText;<init>(Ljava/lang/String;ZLjava/lang/String;Ljava/util/Optional;)V
-
EntityNbtText
private EntityNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, String rawSelector, @Nullable @Nullable EntitySelector selector, Optional<Text> separator)- Mappings:
Namespace Name Mixin selector official <init>Loz$b;<init>(Ljava/lang/String;Leb$g;ZLjava/lang/String;Lfm;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_2574$class_2576;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;ZLjava/lang/String;Lnet/minecraft/class_2300;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/text/NbtText$EntityNbtText;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;ZLjava/lang/String;Lnet/minecraft/command/EntitySelector;Ljava/util/Optional;)V
-
-
Method Details
-
parseSelector
- Mappings:
Namespace Name Mixin selector official dLoz$b;d(Ljava/lang/String;)Lfm;intermediary method_10923Lnet/minecraft/class_2574$class_2576;method_10923(Ljava/lang/String;)Lnet/minecraft/class_2300;named parseSelectorLnet/minecraft/text/NbtText$EntityNbtText;parseSelector(Ljava/lang/String;)Lnet/minecraft/command/EntitySelector;
-
getSelector
- Mappings:
Namespace Name Mixin selector official jLoz$b;j()Ljava/lang/String;intermediary method_10924Lnet/minecraft/class_2574$class_2576;method_10924()Ljava/lang/String;named getSelectorLnet/minecraft/text/NbtText$EntityNbtText;getSelector()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 kLoz$b;k()Loz$b;intermediary method_27697Lnet/minecraft/class_2574$class_2576;method_27697()Lnet/minecraft/class_2574$class_2576;named copyLnet/minecraft/text/NbtText$EntityNbtText;copy()Lnet/minecraft/text/NbtText$EntityNbtText;
-
toNbt
protected Stream<NbtCompound> toNbt(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
toNbtin classNbtText- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLoz;a(Ldl;)Ljava/util/stream/Stream;intermediary method_10916Lnet/minecraft/class_2574;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;named toNbtLnet/minecraft/text/NbtText;toNbt(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
-
equals
-
toString
-