public static class NbtText.StorageNbtText extends NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextText.SerializerStringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
private Identifier |
id |
EMPTY, 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, asOrderedText, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopyclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, fillStyle, formatted, formatted, styledasTruncatedString, getString, of, visit, visit, visitSelf, visitSelfconcat, concat, plain, styledprivate 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)