net.minecraft.world.scores.criteria

public class ObjectiveCriteria

eyj
net.minecraft.world.scores.criteria.ObjectiveCriteria
net.minecraft.class_274
net.minecraft.scoreboard.ScoreboardCriterion
net.minecraft.src.C_3081_
net.minecraft.world.scores.criteria.IScoreboardCriteria

Field summary

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

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, eyj$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)
m_166109_(String p_166110_, boolean p_166111_, C_3081_$C_3082_ p_166112_)
private static ObjectiveCriteria
b(String arg0)
registerCustom(String arg0)
method_37270(String arg0)
create(String name)
m_166113_(String p_166114_)
public static Set<String>
c()
getCustomCriteriaNames()
method_37271()
getAllSimpleCriteria()
m_166115_()
public static Optional<ObjectiveCriteria>
a(String arg0)
byName(String arg0)
method_1224(String arg0)
getOrCreateStatCriterion(String name)
m_83614_(String p_83615_)
private static <T> Optional<ObjectiveCriteria>
a(avy<T> arg0, akr arg1)
getStat(StatType<T> arg0, ResourceLocation arg1)
method_1223(class_3448<T> arg0, class_2960 arg1)
getOrCreateStatCriterion(StatType<T> statType, Identifier id)
m_83611_(C_133_<T> p_83612_, C_5265_ p_83613_)
public String
d()
getName()
method_1225()
getName()
m_83620_()
public boolean
e()
isReadOnly()
method_1226()
isReadOnly()
m_83621_()
public ObjectiveCriteria$RenderType
f()
getDefaultRenderType()
method_1227()
getDefaultRenderType()
m_83622_()