Package net.minecraft.text
Class NbtText.StorageNbtText
java.lang.Object
net.minecraft.text.BaseText
net.minecraft.text.NbtText
net.minecraft.text.NbtText.StorageNbtText
- All Implemented Interfaces:
com.mojang.brigadier.Message,MutableText,ParsableText,StringVisitable,Text
- Enclosing class:
NbtText
- Mappings:
Namespace Name official qr$cintermediary net/minecraft/class_2574$class_4616named net/minecraft/text/NbtText$StorageNbtText
-
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
ConstructorsConstructorDescriptionStorageNbtText(String rawPath, boolean interpret, Identifier id, Optional<Text> separator) StorageNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id, Optional<Text> separator) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copies the text itself, excluding the styles or siblings.booleangetId()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
-
id
- Mappings:
Namespace Name Mixin selector official hLqr$c;h:Lyt;intermediary field_21049Lnet/minecraft/class_2574$class_4616;field_21049:Lnet/minecraft/class_2960;named idLnet/minecraft/text/NbtText$StorageNbtText;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
StorageNbtText
- Mappings:
Namespace Name Mixin selector official <init>Lqr$c;<init>(Ljava/lang/String;ZLyt;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_2574$class_4616;<init>(Ljava/lang/String;ZLnet/minecraft/class_2960;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/text/NbtText$StorageNbtText;<init>(Ljava/lang/String;ZLnet/minecraft/util/Identifier;Ljava/util/Optional;)V
-
StorageNbtText
public StorageNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id, Optional<Text> separator) - Mappings:
Namespace Name Mixin selector official <init>Lqr$c;<init>(Ljava/lang/String;Lec$g;ZLyt;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_2574$class_4616;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;ZLnet/minecraft/class_2960;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/text/NbtText$StorageNbtText;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;ZLnet/minecraft/util/Identifier;Ljava/util/Optional;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official jLqr$c;j()Lyt;intermediary method_23728Lnet/minecraft/class_2574$class_4616;method_23728()Lnet/minecraft/class_2960;named getIdLnet/minecraft/text/NbtText$StorageNbtText;getId()Lnet/minecraft/util/Identifier;
-
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 kLqr$c;k()Lqr$c;intermediary method_27698Lnet/minecraft/class_2574$class_4616;method_27698()Lnet/minecraft/class_2574$class_4616;named copyLnet/minecraft/text/NbtText$StorageNbtText;copy()Lnet/minecraft/text/NbtText$StorageNbtText;
-
toNbt
- Specified by:
toNbtin classNbtText- Mappings:
Namespace Name Mixin selector official aLqr;a(Ldm;)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
-