public static class NbtText.BlockNbtText extends NbtText
NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextText.SerializerStringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
private PosArgument |
pos |
private String |
rawPos |
EMPTY, TERMINATE_VISIT| Modifier | Constructor and Description |
|---|---|
|
BlockNbtText(String rawPath,
boolean rawJson,
String rawPos) |
private |
BlockNbtText(String rawPath,
NbtPathArgumentType.NbtPath path,
boolean interpret,
String rawPos,
PosArgument pos) |
| Modifier and Type | Method and Description |
|---|---|
NbtText.BlockNbtText |
copy()
Copies the text itself, excluding the styles or siblings.
|
boolean |
equals(Object obj) |
String |
getPos() |
private PosArgument |
parsePos(String rawPos) |
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 String rawPos
@Nullable private final PosArgument pos
private BlockNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, String rawPos, @Nullable PosArgument pos)
@Nullable private PosArgument parsePos(String rawPos)
public NbtText.BlockNbtText copy()
Textprotected Stream<CompoundTag> toNbt(ServerCommandSource source)