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,StringRenderable,Text
- Enclosing class:
- NbtText
public static class NbtText.StorageNbtText extends NbtText
-
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.StringRenderable
StringRenderable.StyledVisitor<T>, StringRenderable.Visitor<T> -
Field Summary
Fields Modifier and Type Field Description private Identifierid -
Constructor Summary
Constructors Constructor Description StorageNbtText(String rawPath, boolean interpret, Identifier id)StorageNbtText(String rawPath, NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id) -
Method Summary
Modifier and Type Method Description NbtText.StorageNbtTextcopy()Copies the text itself, excluding the styles or siblings.booleanequals(Object obj)IdentifiergetId()protected Stream<CompoundTag>toNbt(ServerCommandSource source)StringtoString()Methods inherited from class net.minecraft.text.BaseText
append, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
Constructor Details
-
StorageNbtText
-
StorageNbtText
public StorageNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id)
-
-
Method Details