net.minecraft.world.scores.criteria

public class ObjectiveCriteria

cwl
net.minecraft.world.scores.criteria.ObjectiveCriteria
net.minecraft.class_274
net.minecraft.scoreboard.ScoreboardCriterion
net.minecraft.scoreboard.ScoreCriteria
net.minecraft.server.v1_15_R1.IScoreboardCriteria

Field summary

Modifier and TypeField
public static final Map<String, ObjectiveCriteria>
a
CRITERIA_BY_NAME
field_1455
OBJECTIVES
field_96643_a
criteria
public static final ObjectiveCriteria
b
DUMMY
field_1468
DUMMY
field_96641_b
DUMMY
public static final ObjectiveCriteria
c
TRIGGER
field_1462
TRIGGER
field_178791_c
TRIGGER
public static final ObjectiveCriteria
d
DEATH_COUNT
field_1456
DEATH_COUNT
field_96642_c
DEATH_COUNT
public static final ObjectiveCriteria
e
KILL_COUNT_PLAYERS
field_1463
PLAYER_KILL_COUNT
field_96639_d
PLAYER_KILL_COUNT
public static final ObjectiveCriteria
f
KILL_COUNT_ALL
field_1457
TOTAL_KILL_COUNT
field_96640_e
TOTAL_KILL_COUNT
public static final ObjectiveCriteria
g
HEALTH
field_1453
HEALTH
field_96638_f
HEALTH
public static final ObjectiveCriteria
h
FOOD
field_1464
FOOD
field_186698_h
FOOD
public static final ObjectiveCriteria
i
AIR
field_1459
AIR
field_186699_i
AIR
public static final ObjectiveCriteria
j
ARMOR
field_1452
ARMOR
field_186700_j
ARMOR
public static final ObjectiveCriteria
k
EXPERIENCE
field_1460
XP
field_186701_k
XP
public static final ObjectiveCriteria
l
LEVEL
field_1465
LEVEL
field_186702_l
LEVEL
public static final ObjectiveCriteria[]
m
TEAM_KILL
field_1466
TEAM_KILLS
field_197913_m
public static final ObjectiveCriteria[]
n
KILLED_BY_TEAM
field_1458
KILLED_BY_TEAMS
field_197914_n
private final String
o
name
field_1454
name
field_197915_o
private final boolean
p
readOnly
field_1461
readOnly
field_197916_p
private final ObjectiveCriteria$RenderType
q
renderType
field_1467
criterionType
field_197917_q

Constructor summary

ModifierConstructor
public (String name)
protected (String name, boolean readOnly, ObjectiveCriteria$RenderType arg2)

Method summary

Modifier and TypeMethod
public static Optional<ObjectiveCriteria>
a(String arg0)
byName(String arg0)
method_1224(String arg0)
createStatCriterion(String name)
func_216390_a(String arg0)
private static <T> Optional<ObjectiveCriteria>
a(aaq<T> arg0, sm arg1)
getStat(StatType<T> arg0, ResourceLocation arg1)
method_1223(class_3448<T> arg0, class_2960 arg1)
createStatCriterion(StatType<T> statType, Identifier id)
func_216391_a(StatType<T> arg0, ResourceLocation arg1)
public String
c()
getName()
method_1225()
getName()
func_96636_a()
getName()
public boolean
d()
isReadOnly()
method_1226()
isReadOnly()
func_96637_b()
isReadOnly()
public ObjectiveCriteria$RenderType
e()
getDefaultRenderType()
method_1227()
getCriterionType()
func_178790_c()