net.minecraft.text

public record TextParseContext

net.minecraft.network.chat.ResolutionContext
net.minecraft.class_1_466
net.minecraft.text.TextParseContext

Field summary

Modifier and TypeField
private final ServerCommandSource
source
comp_1_411
source
private final Entity
defaultScoreboardEntity
comp_1_407
defaultScoreboardEntity
private final Predicate<TextObjectContents>
objectInfoValidator
comp_1_410
objectInfoValidator
private final int
depthLimit
comp_1_409
depthLimit
private final TextParseContext$DepthLimitBehavior
depthLimitBehavior
comp_1_408
depthLimitBehavior

Constructor summary

ModifierConstructor
public (ServerCommandSource getCommandSource, Entity getEntity, Predicate<TextObjectContents> objectInfoValidator, int depthLimit, TextParseContext$DepthLimitBehavior depthLimitBehavior)

Method summary

Modifier and TypeMethod
public TextObjectContents
validate(ObjectInfo description)
method_1_3118(class_11724 arg0)
validate(TextObjectContents objectContents)
public static TextParseContext
create(CommandSourceStack source)
method_1_2945(class_2168 arg0)
of(ServerCommandSource commandSource)
public static TextParseContext$Builder
builder()
method_1_3117()
builder()
public ServerCommandSource
source()
comp_1_411()
getCommandSource()
public Entity
defaultScoreboardEntity()
comp_1_407()
getEntity()
public Predicate<TextObjectContents>
objectInfoValidator()
comp_1_410()
objectInfoValidator()
public int
depthLimit()
comp_1_409()
depthLimit()
public TextParseContext$DepthLimitBehavior
depthLimitBehavior()
comp_1_408()
depthLimitBehavior()