public static class NbtText.StorageNbtText extends NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextText.Serializer, Text.StyledVisitor<T>, Text.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
TERMINATE_VISIT| Constructor and Description |
|---|
StorageNbtText(String rawPath,
boolean interpret,
Identifier id) |
StorageNbtText(String rawPath,
NbtPathArgumentType.NbtPath path,
boolean interpret,
Identifier id) |
| Modifier and Type | Method and Description |
|---|---|
NbtText.StorageNbtText |
copy()
Copies the text itself, excluding the styles or siblings.
|
boolean |
equals(Object obj) |
Identifier |
getId() |
protected Stream<CompoundTag> |
toNbt(ServerCommandSource source) |
String |
toString() |
getPath, parse, shouldInterpretappend, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopyclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate final Identifier id
public StorageNbtText(String rawPath, boolean interpret, Identifier id)
public StorageNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, Identifier id)
public Identifier getId()
public NbtText.StorageNbtText copy()
Textprotected Stream<CompoundTag> toNbt(ServerCommandSource source)