net.minecraft.world.level.storage.loot.predicates

public class LootItemConditions

dlj
net.minecraft.world.level.storage.loot.predicates.LootItemConditions
net.minecraft.class_217
net.minecraft.loot.condition.LootConditionTypes
net.minecraft.src.C_3007_
net.minecraft.world.level.storage.loot.predicates.LootItemConditions

Field summary

Modifier and TypeField
public static final LootItemConditionType
a
INVERTED
field_25235
INVERTED
f_81811_
public static final LootItemConditionType
b
ALTERNATIVE
field_25236
ALTERNATIVE
f_81812_
public static final LootItemConditionType
c
RANDOM_CHANCE
field_25237
RANDOM_CHANCE
f_81813_
public static final LootItemConditionType
d
RANDOM_CHANCE_WITH_LOOTING
field_25238
RANDOM_CHANCE_WITH_LOOTING
f_81814_
public static final LootItemConditionType
e
ENTITY_PROPERTIES
field_25239
ENTITY_PROPERTIES
f_81815_
public static final LootItemConditionType
f
KILLED_BY_PLAYER
field_25240
KILLED_BY_PLAYER
f_81816_
public static final LootItemConditionType
g
ENTITY_SCORES
field_25241
ENTITY_SCORES
f_81817_
public static final LootItemConditionType
h
BLOCK_STATE_PROPERTY
field_25242
BLOCK_STATE_PROPERTY
f_81818_
public static final LootItemConditionType
i
MATCH_TOOL
field_25243
MATCH_TOOL
f_81819_
public static final LootItemConditionType
j
TABLE_BONUS
field_25244
TABLE_BONUS
f_81820_
public static final LootItemConditionType
k
SURVIVES_EXPLOSION
field_25245
SURVIVES_EXPLOSION
f_81821_
public static final LootItemConditionType
l
DAMAGE_SOURCE_PROPERTIES
field_25246
DAMAGE_SOURCE_PROPERTIES
f_81822_
public static final LootItemConditionType
m
LOCATION_CHECK
field_25247
LOCATION_CHECK
f_81823_
public static final LootItemConditionType
n
WEATHER_CHECK
field_25248
WEATHER_CHECK
f_81824_
public static final LootItemConditionType
o
REFERENCE
field_25249
REFERENCE
f_81825_
public static final LootItemConditionType
p
TIME_CHECK
field_25250
TIME_CHECK
f_81826_
public static final LootItemConditionType
q
VALUE_CHECK
field_27911
VALUE_CHECK
f_165504_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static LootItemConditionType
a(String arg0, div<? extends dlh> arg1)
register(String arg0, Serializer<? extends LootItemCondition> arg1)
method_29327(String arg0, class_5335<? extends class_5341> arg1)
register(String id, JsonSerializer<? extends LootCondition> serializer)
m_81831_(String p_81832_, C_2835_<? extends C_3004_> p_81833_)
public static Object
a()
createGsonAdapter()
method_29326()
createGsonSerializer()
m_81828_()
public static <T> Predicate<T>
a(Predicate<T>[] arg0)
andConditions(Predicate<T>[] arg0)
method_924(Predicate<T>[] arg0)
joinAnd(Predicate<T>[] predicates)
m_81834_(Predicate<T>[] p_81835_)
public static <T> Predicate<T>
b(Predicate<T>[] arg0)
orConditions(Predicate<T>[] arg0)
method_925(Predicate<T>[] arg0)
joinOr(Predicate<T>[] predicates)
m_81841_(Predicate<T>[] p_81842_)