net.minecraft.network.chat.contents

public record ScoreContents

implements ComponentContents

zd
net.minecraft.network.chat.contents.ScoreContents
net.minecraft.class_2578
net.minecraft.unmapped.C_rjywhoyw
net.minecraft.text.ScoreTextContent
net.minecraft.text.component.ScoreComponent
net.minecraft.src.C_213520_
net.minecraft.network.chat.contents.ScoreContents

Field summary

Modifier and TypeField
private final com.mojang.datafixers.util.Either<SelectorPattern, String>
d
name
comp_3078
f_kihbpfxo
name
name
f_237434_
private final String
e
objective
comp_3079
f_ijyikulf
objective
objective
f_237436_
public static final com.mojang.serialization.MapCodec<ScoreContents>
a
INNER_CODEC
field_46626
f_pibdjehx
INNER_CODEC
INNER_CODEC
f_303021_
public static final com.mojang.serialization.MapCodec<ScoreContents>
b
CODEC
field_46627
f_lbsgdplz
CODEC
CODEC
f_303494_
public static final ComponentContents$Type<ScoreContents>
c
TYPE
field_46628
f_mgxrluva
TYPE
TYPE
f_303411_

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.util.Either<SelectorPattern, String> name, String objective)

Method summary

Modifier and TypeMethod
public ComponentContents$Type<?>
a()
type()
method_54163()
m_utpteufh()
getType()
type()
m_304650_()
private ScoreHolder
a(ew arg0)
findTargetName(CommandSourceStack arg0)
method_27699(class_2168 arg0)
m_pojamjzu(C_pennblrk arg0)
getScoreHolder(ServerCommandSource source)
getScoreHolder(ServerCommandSource source)
m_237441_(C_2969_ arg0)
private MutableComponent
a(fdb arg0, ew arg1)
getScore(ScoreHolder arg0, CommandSourceStack arg1)
method_27700(class_9015 arg0, class_2168 arg1)
m_flxhhgjn(C_hswmfudr arg0, C_pennblrk arg1)
getScore(ScoreHolder scoreHolder, ServerCommandSource source)
getScore(ScoreHolder holder, ServerCommandSource source)
m_237449_(C_301985_ p_237451_, C_2969_ arg1)
public MutableComponent
a(ew arg0, bvj arg1, int arg2)
resolve(CommandSourceStack arg0, Entity arg1, int arg2)
method_10890(class_2168 arg0, class_1297 arg1, int arg2)
m_jylyfbgl(C_pennblrk arg0, C_astfners arg1, int arg2)
parse(ServerCommandSource arg0, Entity arg1, int arg2)
resolve(ServerCommandSource arg0, Entity arg1, int arg2)
m_213698_(C_2969_ p_237445_, C_507_ p_237446_, int arg2)
public com.mojang.datafixers.util.Either<SelectorPattern, String>
b()
name()
comp_3078()
m_iuhlrrxg()
name()
name()
f_237434_()
public String
c()
objective()
comp_3079()
m_ukivgfah()
objective()
objective()
f_237436_()