Package net.minecraft.scoreboard
Class ScoreCriteria
java.lang.Object
net.minecraft.scoreboard.ScoreCriteria
- Direct Known Subclasses:
Stat
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScoreCriteria
static final ScoreCriteria
static final Map<String,
ScoreCriteria> static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria
static final ScoreCriteria[]
static final ScoreCriteria
private final String
private final boolean
private final ScoreCriteria.RenderType
static final ScoreCriteria[]
static final ScoreCriteria
-
Constructor Summary
ModifierConstructorDescriptionScoreCriteria
(String p_i47676_1_) protected
ScoreCriteria
(String p_i47677_1_, boolean p_i47677_2_, ScoreCriteria.RenderType p_i47677_3_) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<ScoreCriteria>
getName()
private static <T> Optional<ScoreCriteria>
getStat
(StatType<T> p_216391_0_, ResourceLocation p_216391_1_) boolean
-
Field Details
-
CRITERIA_BY_NAME
-
DUMMY
-
TRIGGER
-
DEATH_COUNT
-
KILL_COUNT_PLAYERS
-
KILL_COUNT_ALL
-
HEALTH
-
FOOD
-
AIR
-
ARMOR
-
EXPERIENCE
-
LEVEL
-
TEAM_KILL
-
KILLED_BY_TEAM
-
name
-
readOnly
private final boolean readOnly -
renderType
-
-
Constructor Details
-
ScoreCriteria
-
ScoreCriteria
protected ScoreCriteria(String p_i47677_1_, boolean p_i47677_2_, ScoreCriteria.RenderType p_i47677_3_)
-
-
Method Details
-
byName
-
getStat
private static <T> Optional<ScoreCriteria> getStat(StatType<T> p_216391_0_, ResourceLocation p_216391_1_) -
getName
-
isReadOnly
public boolean isReadOnly() -
getDefaultRenderType
-