public static class NbtText.StorageNbtText extends NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtText
Text.Serializer
StringVisitable.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, shouldInterpret
append, asOrderedText, asString, getSiblings, getStyle, hashCode, setStyle, shallowCopy
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
append, fillStyle, formatted, formatted, styled
asTruncatedString, getString, of, visit, visit, visitSelf, visitSelf
concat, concat, plain, styled
private 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()
Text
protected Stream<CompoundTag> toNbt(ServerCommandSource source)