public class ScoreboardObjective extends Object
Modifier and Type | Field and Description |
---|---|
private ScoreboardCriterion |
criterion |
private Text |
displayName |
private Text |
field_24194 |
private String |
name |
private ScoreboardCriterion.RenderType |
renderType |
private Scoreboard |
scoreboard |
Constructor and Description |
---|
ScoreboardObjective(Scoreboard scoreboard,
String name,
ScoreboardCriterion criterion,
Text displayName,
ScoreboardCriterion.RenderType renderType) |
Modifier and Type | Method and Description |
---|---|
ScoreboardCriterion |
getCriterion() |
Text |
getDisplayName() |
String |
getName() |
ScoreboardCriterion.RenderType |
getRenderType() |
Scoreboard |
getScoreboard() |
private Text |
method_27441() |
void |
setDisplayName(Text name) |
void |
setRenderType(ScoreboardCriterion.RenderType renderType) |
Text |
toHoverableText() |
private final Scoreboard scoreboard
private final String name
private final ScoreboardCriterion criterion
private Text displayName
private Text field_24194
private ScoreboardCriterion.RenderType renderType
public ScoreboardObjective(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)
@Environment(value=CLIENT) public Scoreboard getScoreboard()
public String getName()
public ScoreboardCriterion getCriterion()
public Text getDisplayName()
private Text method_27441()
public Text toHoverableText()
public void setDisplayName(Text name)
public ScoreboardCriterion.RenderType getRenderType()
public void setRenderType(ScoreboardCriterion.RenderType renderType)