NbtText.BlockNbtText, NbtText.EntityNbtText, NbtText.StorageNbtTextText.Serializer| Modifier and Type | Field and Description |
|---|---|
private String |
rawSelector |
private EntitySelector |
selector |
| Modifier | Constructor and Description |
|---|---|
|
EntityNbtText(String rawPath,
boolean interpret,
String rawSelector) |
private |
EntityNbtText(String rawPath,
NbtPathArgumentType.NbtPath path,
boolean interpret,
String rawSelector,
EntitySelector selector) |
| Modifier and Type | Method and Description |
|---|---|
Text |
copy() |
boolean |
equals(Object obj) |
String |
getSelector() |
private static EntitySelector |
parseSelector(String rawSelector) |
protected Stream<CompoundTag> |
toNbt(ServerCommandSource source) |
String |
toString() |
asString, getPath, parse, shouldInterpretappend, getSiblings, getStyle, hashCode, setStyle, streamclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, asFormattedString, asTruncatedString, copyWithoutChildren, deepCopy, formatted, formatted, getString, iterator, streamCopied, styledforEach, spliteratorprivate final String rawSelector
@Nullable private final EntitySelector selector
private EntityNbtText(String rawPath, @Nullable NbtPathArgumentType.NbtPath path, boolean interpret, String rawSelector, @Nullable EntitySelector selector)
@Nullable private static EntitySelector parseSelector(String rawSelector)
public String getSelector()
public Text copy()
protected Stream<CompoundTag> toNbt(ServerCommandSource source)