net.minecraft.network.chat

public abstract class NbtComponent

extends BaseComponent implements ContextAwareComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText, ContextAwareComponent

oz
net.minecraft.network.chat.NbtComponent
net.minecraft.class_2574
net.minecraft.text.NbtText
net.minecraft.src.C_5013_
net.minecraft.network.chat.ChatComponentNBT

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
h
LOGGER
field_11777
LOGGER
f_130953_
protected final boolean
d
interpreting
field_11778
interpret
f_130950_
protected final Optional<Component>
e
separator
field_33539
separator
f_178447_
protected final String
f
nbtPathPattern
field_11776
rawPath
f_130951_
protected final NbtPathArgument$NbtPath
g
compiledNbtPath
field_11779
path
f_130952_

Constructor summary

ModifierConstructor
public (String rawPath, boolean interpret, Optional<Component> separator)
protected (String rawPath, NbtPathArgument$NbtPath path, boolean interpret, Optional<Component> separator)

Method summary

Modifier and TypeMethod
private static NbtPathArgument$NbtPath
d(String arg0)
compileNbtPath(String arg0)
method_10919(String arg0)
parsePath(String rawPath)
m_130977_(String p_130978_)
protected abstract Stream<CompoundTag>
a(dl arg0)
getData(CommandSourceStack arg0)
method_10916(class_2168 arg0)
toNbt(ServerCommandSource source)
m_7353_(C_2969_ arg0)
public String
h()
getNbtPath()
method_10920()
getPath()
m_130979_()
public boolean
i()
isInterpreting()
method_10921()
shouldInterpret()
m_130980_()
public MutableComponent
a(dl arg0, atg arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
m_5638_(C_2969_ p_130965_, C_507_ p_130966_, int arg2)