net.minecraft.network.chat

public class ScoreComponent

extends BaseComponent implements ContextAwareComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText, ContextAwareComponent

pa
net.minecraft.network.chat.ScoreComponent
net.minecraft.class_2578
net.minecraft.text.ScoreText
net.minecraft.src.C_5017_
net.minecraft.network.chat.ChatComponentScore

Field summary

Modifier and TypeField
private static final String
d
SCORER_PLACEHOLDER
field_33290
SENDER_PLACEHOLDER
f_178512_
private final String
e
name
field_11787
name
f_131046_
private final EntitySelector
f
selector
field_11786
selector
f_131047_
private final String
g
objective
field_11785
objective
f_131048_

Constructor summary

ModifierConstructor
public (String name, String objective)
private (String name, EntitySelector selector, String objective)

Method summary

Modifier and TypeMethod
private static EntitySelector
d(String arg0)
parseSelector(String arg0)
method_27701(String arg0)
parseEntitySelector(String name)
m_131066_(String p_131067_)
public String
h()
getName()
method_10930()
getName()
m_131071_()
public EntitySelector
i()
getSelector()
method_36137()
getSelector()
m_178513_()
public String
j()
getObjective()
method_10928()
getObjective()
m_131072_()
private String
a(dl arg0)
findTargetName(CommandSourceStack arg0)
method_27699(class_2168 arg0)
getPlayerName(ServerCommandSource source)
m_131056_(C_2969_ arg0)
private String
a(String arg0, dl arg1)
getScore(String arg0, CommandSourceStack arg1)
method_27700(String arg0, class_2168 arg1)
getScore(String playerName, ServerCommandSource source)
m_131062_(String p_131064_, C_2969_ arg1)
public ScoreComponent
k()
plainCopy()
method_10929()
copy()
m_6879_()
public MutableComponent
a(dl arg0, atf 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_5638_(C_2969_ p_131060_, C_507_ p_131061_, int arg2)