net.minecraft.network.chat.contents

public record SelectorContents

implements ComponentContents

yh
net.minecraft.network.chat.contents.SelectorContents
net.minecraft.class_2579
net.minecraft.unmapped.C_mvxjmafd
net.minecraft.text.SelectorTextContent
net.minecraft.text.component.SelectorComponent

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ComponentContents$Type<?>
a()
type()
method_54163()
m_qeavyobk()
getType()
public MutableComponent
a(ei arg0, bwf arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
m_rhudwjqi(C_pennblrk arg0, C_astfners arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
m_rhudwjqi(ServerCommandSource arg0, Entity arg1, int arg2)
public <T> Optional<T>
a(xd$b<T> arg0, xv arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
m_mbozbabc(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
public <T> Optional<T>
a(xd$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
m_jmccmlry(C_xzalvetc$C_delqnnjz<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
public SelectorPattern
b()
selector()
comp_3080()
m_lldmzehd()
selector()
selector()
public Optional<Component>
c()
separator()
comp_3081()
m_ubwduiyr()
separator()
separator()