public static class NbtText.StorageNbtText extends NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextText.Serializerclass_5348.StyledVisitor<T>, class_5348.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
field_25309, field_25310| 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, waitappend, fillStyle, formatted, formatted, styledasTruncatedString, getString, visit, visit, visitSelf, visitSelfmethod_29430, method_29431, method_29432, method_29433private 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)