Class Criteria
- java.lang.Object
-
- org.spongepowered.api.scoreboard.criteria.Criteria
-
public final class Criteria extends java.lang.Object
Criteria names which trigger an objective to be modified by actions in-game.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<Criterion>
AIR
static DefaultedRegistryReference<Criterion>
ARMOR
static DefaultedRegistryReference<Criterion>
DEATH_COUNT
static DefaultedRegistryReference<Criterion>
DUMMY
static DefaultedRegistryReference<Criterion>
EXPERIENCE
static DefaultedRegistryReference<Criterion>
FOOD
static DefaultedRegistryReference<Criterion>
HEALTH
Represents aCriterion
which causes anObjective
to have a score for a player represent their current health, on a scale of 0-20 (can be greater than 20 due to effects such asPotionEffectTypes.HEALTH_BOOST
).static DefaultedRegistryReference<Criterion>
LEVEL
static DefaultedRegistryReference<Criterion>
PLAYER_KILL_COUNT
static DefaultedRegistryReference<Criterion>
TOTAL_KILL_COUNT
static DefaultedRegistryReference<Criterion>
TRIGGER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<Criterion>
registry()
-
-
-
Field Detail
-
AIR
public static final DefaultedRegistryReference<Criterion> AIR
-
ARMOR
public static final DefaultedRegistryReference<Criterion> ARMOR
-
DEATH_COUNT
public static final DefaultedRegistryReference<Criterion> DEATH_COUNT
-
DUMMY
public static final DefaultedRegistryReference<Criterion> DUMMY
-
FOOD
public static final DefaultedRegistryReference<Criterion> FOOD
-
HEALTH
public static final DefaultedRegistryReference<Criterion> HEALTH
Represents aCriterion
which causes anObjective
to have a score for a player represent their current health, on a scale of 0-20 (can be greater than 20 due to effects such asPotionEffectTypes.HEALTH_BOOST
).
-
LEVEL
public static final DefaultedRegistryReference<Criterion> LEVEL
-
PLAYER_KILL_COUNT
public static final DefaultedRegistryReference<Criterion> PLAYER_KILL_COUNT
-
TOTAL_KILL_COUNT
public static final DefaultedRegistryReference<Criterion> TOTAL_KILL_COUNT
-
TRIGGER
public static final DefaultedRegistryReference<Criterion> TRIGGER
-
EXPERIENCE
public static final DefaultedRegistryReference<Criterion> EXPERIENCE
-
-