net.minecraft.network.chat.contents

public class NbtContents

implements ComponentContents

zb
net.minecraft.network.chat.contents.NbtContents
net.minecraft.class_2574
net.minecraft.text.NbtTextContent
net.minecraft.network.chat.contents.NbtContents

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_11777
LOGGER
public static final com.mojang.serialization.MapCodec<NbtContents>
a
CODEC
field_46621
CODEC
public static final ComponentContents$Type<NbtContents>
b
TYPE
field_46622
TYPE
private final boolean
e
interpreting
field_11778
interpret
private final Optional<Component>
f
separator
field_33539
separator
private final String
g
nbtPathPattern
field_11776
rawPath
private final DataSource
h
dataSource
field_39014
dataSource
protected final NbtPathArgument$NbtPath
c
compiledNbtPath
field_11779
path

Constructor summary

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

Method summary

Modifier and TypeMethod
private static NbtPathArgument$NbtPath
a(String arg0)
compileNbtPath(String arg0)
method_10919(String arg0)
parsePath(String rawPath)
public String
b()
getNbtPath()
method_10920()
getPath()
public boolean
c()
isInterpreting()
method_10921()
shouldInterpret()
public Optional<Component>
d()
getSeparator()
method_43484()
getSeparator()
public DataSource
e()
getDataSource()
method_43485()
getDataSource()
public MutableComponent
a(ew arg0, bvk 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)
public ComponentContents$Type<?>
a()
type()
method_54163()
getType()