net.minecraft.network.chat.contents

public record SelectorContents

implements ComponentContents

ze
net.minecraft.network.chat.contents.SelectorContents
net.minecraft.class_2579
net.minecraft.text.SelectorTextContent
net.minecraft.network.chat.contents.SelectorContents

Field summary

Modifier and TypeField
private final SelectorPattern
c
selector
comp_3080
selector
private final Optional<Component>
d
separator
comp_3081
separator
public static final com.mojang.serialization.MapCodec<SelectorContents>
a
CODEC
field_46629
CODEC
public static final ComponentContents$Type<SelectorContents>
b
TYPE
field_46630
TYPE

Constructor summary

ModifierConstructor
public (SelectorPattern arg0, Optional<Component> separator)

Method summary

Modifier and TypeMethod
public ComponentContents$Type<?>
a()
type()
method_54163()
getType()
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 <T> Optional<T>
a(ya$b<T> arg0, ys arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
public <T> Optional<T>
a(ya$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
public SelectorPattern
b()
selector()
comp_3080()
selector()
public Optional<Component>
c()
separator()
comp_3081()
separator()