net.minecraft.world.scores.criteria

public class ObjectiveCriteria

fdg
net.minecraft.world.scores.criteria.ObjectiveCriteria
net.minecraft.class_274
net.minecraft.scoreboard.ScoreboardCriterion
net.minecraft.world.scores.criteria.IScoreboardCriteria

Field summary

Modifier and TypeField
private static final Map<String, ObjectiveCriteria>
a
CUSTOM_CRITERIA
field_33939
SIMPLE_CRITERIA
private static final Map<String, ObjectiveCriteria>
o
CRITERIA_CACHE
field_1455
CRITERIA
public static final ObjectiveCriteria
b
DUMMY
field_1468
DUMMY
public static final ObjectiveCriteria
c
TRIGGER
field_1462
TRIGGER
public static final ObjectiveCriteria
d
DEATH_COUNT
field_1456
DEATH_COUNT
public static final ObjectiveCriteria
e
KILL_COUNT_PLAYERS
field_1463
PLAYER_KILL_COUNT
public static final ObjectiveCriteria
f
KILL_COUNT_ALL
field_1457
TOTAL_KILL_COUNT
public static final ObjectiveCriteria
g
HEALTH
field_1453
HEALTH
public static final ObjectiveCriteria
h
FOOD
field_1464
FOOD
public static final ObjectiveCriteria
i
AIR
field_1459
AIR
public static final ObjectiveCriteria
j
ARMOR
field_1452
ARMOR
public static final ObjectiveCriteria
k
EXPERIENCE
field_1460
XP
public static final ObjectiveCriteria
l
LEVEL
field_1465
LEVEL
public static final ObjectiveCriteria[]
m
TEAM_KILL
field_1466
TEAM_KILLS
public static final ObjectiveCriteria[]
n
KILLED_BY_TEAM
field_1458
KILLED_BY_TEAMS
private final String
p
name
field_1454
name
private final boolean
q
readOnly
field_1461
readOnly
private final ObjectiveCriteria$RenderType
r
renderType
field_1467
defaultRenderType

Constructor summary

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

Method summary

Modifier and TypeMethod
private static ObjectiveCriteria
a(String arg0, boolean arg1, fdg$a arg2)
registerCustom(String arg0, boolean arg1, ObjectiveCriteria$RenderType arg2)
method_37269(String arg0, boolean arg1, class_274$class_275 arg2)
create(String name, boolean readOnly, ScoreboardCriterion$RenderType defaultRenderType)
private static ObjectiveCriteria
b(String arg0)
registerCustom(String arg0)
method_37270(String arg0)
create(String name)
public static Set<String>
c()
getCustomCriteriaNames()
method_37271()
getAllSimpleCriteria()
public static Optional<ObjectiveCriteria>
a(String arg0)
byName(String arg0)
method_1224(String arg0)
getOrCreateStatCriterion(String name)
private static <T> Optional<ObjectiveCriteria>
a(axo<T> arg0, alz arg1)
getStat(StatType<T> arg0, ResourceLocation arg1)
method_1223(class_3448<T> arg0, class_2960 arg1)
getOrCreateStatCriterion(StatType<T> statType, Identifier id)
public String
d()
getName()
method_1225()
getName()
public boolean
e()
isReadOnly()
method_1226()
isReadOnly()
public ObjectiveCriteria$RenderType
f()
getDefaultRenderType()
method_1227()
getDefaultRenderType()