net.minecraft.network.chat.contents

public class ScoreContents

implements ComponentContents

yh
net.minecraft.network.chat.contents.ScoreContents
net.minecraft.class_2578
net.minecraft.text.ScoreTextContent
net.minecraft.src.C_213520_
net.minecraft.network.chat.contents.ScoreContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ScoreContents>
a
INNER_CODEC
field_46626
INNER_CODEC
f_303021_
public static final com.mojang.serialization.MapCodec<ScoreContents>
b
CODEC
field_46627
CODEC
f_303494_
public static final ComponentContents$Type<ScoreContents>
c
TYPE
field_46628
TYPE
f_303411_
private final String
d
name
field_11787
name
f_237434_
private final EntitySelector
e
selector
field_11786
selector
f_237435_
private final String
f
objective
field_11785
objective
f_237436_

Constructor summary

ModifierConstructor
public (String name, String objective)

Method summary

Modifier and TypeMethod
private static EntitySelector
a(String arg0)
parseSelector(String arg0)
method_27701(String arg0)
parseEntitySelector(String name)
m_237447_(String p_237448_)
public ComponentContents$Type<?>
a()
type()
method_54163()
getType()
m_304650_()
public String
b()
getName()
method_10930()
getName()
m_237440_()
public EntitySelector
c()
getSelector()
method_36137()
getSelector()
m_237452_()
public String
d()
getObjective()
method_10928()
getObjective()
m_237453_()
private ScoreHolder
a(et arg0)
findTargetName(CommandSourceStack arg0)
method_27699(class_2168 arg0)
getScoreHolder(ServerCommandSource source)
m_237441_(C_2969_ arg0)
private MutableComponent
a(eyf arg0, et arg1)
getScore(ScoreHolder arg0, CommandSourceStack arg1)
method_27700(class_9015 arg0, class_2168 arg1)
getScore(ScoreHolder scoreHolder, ServerCommandSource source)
m_237449_(C_301985_ p_237451_, C_2969_ arg1)
public MutableComponent
a(et arg0, bsr 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)
m_213698_(C_2969_ p_237445_, C_507_ p_237446_, int arg2)