Modifier and Type | Class and Description |
---|---|
static class |
ScoreboardCriterion.RenderType |
Modifier and Type | Field and Description |
---|---|
static ScoreboardCriterion |
AIR |
static ScoreboardCriterion |
ARMOR |
private ScoreboardCriterion.RenderType |
criterionType |
static ScoreboardCriterion |
DEATH_COUNT |
static ScoreboardCriterion |
DUMMY |
static ScoreboardCriterion |
FOOD |
static ScoreboardCriterion |
HEALTH |
static ScoreboardCriterion[] |
KILLED_BY_TEAMS |
static ScoreboardCriterion |
LEVEL |
private String |
name |
static Map<String,ScoreboardCriterion> |
OBJECTIVES |
static ScoreboardCriterion |
PLAYER_KILL_COUNT |
private boolean |
readOnly |
static ScoreboardCriterion[] |
TEAM_KILLS |
static ScoreboardCriterion |
TOTAL_KILL_COUNT |
static ScoreboardCriterion |
TRIGGER |
static ScoreboardCriterion |
XP |
Modifier | Constructor and Description |
---|---|
|
ScoreboardCriterion(String name) |
protected |
ScoreboardCriterion(String name,
boolean readOnly,
ScoreboardCriterion.RenderType renderType) |
Modifier and Type | Method and Description |
---|---|
private static <T> Optional<ScoreboardCriterion> |
createStatCriterion(StatType<T> statType,
Identifier id) |
static Optional<ScoreboardCriterion> |
createStatCriterion(String name) |
ScoreboardCriterion.RenderType |
getCriterionType() |
String |
getName() |
boolean |
isReadOnly() |
public static final Map<String,ScoreboardCriterion> OBJECTIVES
public static final ScoreboardCriterion DUMMY
public static final ScoreboardCriterion TRIGGER
public static final ScoreboardCriterion DEATH_COUNT
public static final ScoreboardCriterion PLAYER_KILL_COUNT
public static final ScoreboardCriterion TOTAL_KILL_COUNT
public static final ScoreboardCriterion HEALTH
public static final ScoreboardCriterion FOOD
public static final ScoreboardCriterion AIR
public static final ScoreboardCriterion ARMOR
public static final ScoreboardCriterion XP
public static final ScoreboardCriterion LEVEL
public static final ScoreboardCriterion[] TEAM_KILLS
public static final ScoreboardCriterion[] KILLED_BY_TEAMS
private final String name
private final boolean readOnly
private final ScoreboardCriterion.RenderType criterionType
public ScoreboardCriterion(String name)
protected ScoreboardCriterion(String name, boolean readOnly, ScoreboardCriterion.RenderType renderType)
public static Optional<ScoreboardCriterion> createStatCriterion(String name)
private static <T> Optional<ScoreboardCriterion> createStatCriterion(StatType<T> statType, Identifier id)
public String getName()
public boolean isReadOnly()
public ScoreboardCriterion.RenderType getCriterionType()