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
getCommandSource
private final Entity
defaultScoreboardEntity
comp_1_407
getEntity
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
private final int
resolvedComponentLimit
comp_1_917
resolvedComponentLimit
private final org.apache.commons.lang3.mutable.MutableInt
resolvedComponentCount
comp_1_916
resolvedComponentCount
private static final int
DEFAULT_RESOLVED_COMPONENT_LIMIT
field_1_7419
field_1_7419

Constructor summary

ModifierConstructor
public (ServerCommandSource getCommandSource, Entity getEntity, Predicate<TextObjectContents> objectInfoValidator, int depthLimit, TextParseContext$DepthLimitBehavior depthLimitBehavior, int resolvedComponentLimit, org.apache.commons.lang3.mutable.MutableInt resolvedComponentCount)

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()
public int
resolvedComponentLimit()
comp_1_917()
resolvedComponentLimit()
public org.apache.commons.lang3.mutable.MutableInt
resolvedComponentCount()
comp_1_916()
resolvedComponentCount()