@@ -35,6 +35,22 @@ public final class Criteria {
3535
3636 // SORTFIELDS:ON
3737
38+ /**
39+ * Represents a {@link Criterion} which causes an {@link Objective}
40+ * to have a score that represents the amount of air the player has
41+ * left from swimming under water, matches the air nbt tag of the
42+ * player, on a scale of 0-300.
43+ */
44+ public static final Criterion AIR = DummyObjectProvider .createFor (Criterion .class , "AIR" );
45+
46+ /**
47+ * Represents a {@link Criterion} which causes an {@link Objective}
48+ * to have a score for a player represent their amount of armor points,
49+ * on a scale of 0-20. May appear as 0 for players before their armor
50+ * has changed for the first time.
51+ */
52+ public static final Criterion ARMOR = DummyObjectProvider .createFor (Criterion .class , "ARMOR" );
53+
3854 /**
3955 * Represents a {@link Criteria} which causes an {@link Objective}
4056 * to have a score for a player incremented when they die.
@@ -47,6 +63,14 @@ public final class Criteria {
4763 */
4864 public static final Criterion DUMMY = DummyObjectProvider .createFor (Criterion .class , "DUMMY" );
4965
66+ /**
67+ * Represents a {@link Criterion} which causes an {@link Objective}
68+ * to have a score that represents the amount of hunger points the
69+ * player has, on a scale of 0-20. May appear as 0 for players before
70+ * their foodLevel has changed for the first time.
71+ */
72+ public static final Criterion FOOD = DummyObjectProvider .createFor (Criterion .class , "FOOD" );
73+
5074 /**
5175 * Represents a {@link Criteria} which causes an {@link Objective} to have
5276 * a score for a player represent their current health, on a scale of 0-20
@@ -55,6 +79,12 @@ public final class Criteria {
5579 */
5680 public static final Criterion HEALTH = DummyObjectProvider .createFor (Criterion .class , "HEALTH" );
5781
82+ /**
83+ * Represents a {@link Criteria} which causes an {@link Objective} to have
84+ * a score that matches the current experience level of the player.
85+ */
86+ public static final Criterion LEVEL = DummyObjectProvider .createFor (Criterion .class , "LEVEL" );
87+
5888 /**
5989 * Represents a {@link Criteria} which causes an {@link Objective}
6090 * to have a score for a player incremented when they kill a player.
@@ -74,6 +104,13 @@ public final class Criteria {
74104 */
75105 public static final Criterion TRIGGER = DummyObjectProvider .createFor (Criterion .class , "TRIGGER" );
76106
107+ /**
108+ * Represents a {@link Criteria} which causes an {@link Objective} to have
109+ * a score that matches the total amount of experience the player has
110+ * collected since their last death (or in other words, their score).
111+ */
112+ public static final Criterion XP = DummyObjectProvider .createFor (Criterion .class , "XP" );
113+
77114 // SORTFIELDS:OFF
78115
79116 // Suppress default constructor to ensure non-instantiability.
0 commit comments