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

public class LootItemConditions

efr
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
private static final com.mojang.serialization.Codec<LootItemCondition>
t
TYPED_CODEC
field_45870
BASE_CODEC
f_290504_
public static final com.mojang.serialization.Codec<LootItemCondition>
a
CODEC
field_45869
CODEC
f_290534_
public static final LootItemConditionType
b
INVERTED
field_25235
INVERTED
f_81811_
public static final LootItemConditionType
c
ANY_OF
field_44789
ANY_OF
f_285643_
public static final LootItemConditionType
d
ALL_OF
field_44790
ALL_OF
f_285646_
public static final LootItemConditionType
e
RANDOM_CHANCE
field_25237
RANDOM_CHANCE
f_81813_
public static final LootItemConditionType
f
RANDOM_CHANCE_WITH_LOOTING
field_25238
RANDOM_CHANCE_WITH_LOOTING
f_81814_
public static final LootItemConditionType
g
ENTITY_PROPERTIES
field_25239
ENTITY_PROPERTIES
f_81815_
public static final LootItemConditionType
h
KILLED_BY_PLAYER
field_25240
KILLED_BY_PLAYER
f_81816_
public static final LootItemConditionType
i
ENTITY_SCORES
field_25241
ENTITY_SCORES
f_81817_
public static final LootItemConditionType
j
BLOCK_STATE_PROPERTY
field_25242
BLOCK_STATE_PROPERTY
f_81818_
public static final LootItemConditionType
k
MATCH_TOOL
field_25243
MATCH_TOOL
f_81819_
public static final LootItemConditionType
l
TABLE_BONUS
field_25244
TABLE_BONUS
f_81820_
public static final LootItemConditionType
m
SURVIVES_EXPLOSION
field_25245
SURVIVES_EXPLOSION
f_81821_
public static final LootItemConditionType
n
DAMAGE_SOURCE_PROPERTIES
field_25246
DAMAGE_SOURCE_PROPERTIES
f_81822_
public static final LootItemConditionType
o
LOCATION_CHECK
field_25247
LOCATION_CHECK
f_81823_
public static final LootItemConditionType
p
WEATHER_CHECK
field_25248
WEATHER_CHECK
f_81824_
public static final LootItemConditionType
q
REFERENCE
field_25249
REFERENCE
f_81825_
public static final LootItemConditionType
r
TIME_CHECK
field_25250
TIME_CHECK
f_81826_
public static final LootItemConditionType
s
VALUE_CHECK
field_27911
VALUE_CHECK
f_165504_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static LootItemConditionType
a(String arg0, com.mojang.serialization.Codec<? extends efp> arg1)
register(String arg0, com.mojang.serialization.Codec<? extends LootItemCondition> arg1)
method_29327(String arg0, com.mojang.serialization.Codec<? extends class_5341> arg1)
register(String id, com.mojang.serialization.Codec<? extends LootCondition> codec)
m_81831_(String p_81832_, com.mojang.serialization.Codec<? extends C_3004_> p_300489_)
public static <T> Predicate<T>
a(List<? extends Predicate<T>> arg0)
andConditions(List<? extends Predicate<T>> arg0)
method_924(List<? extends Predicate<T>> arg0)
matchingAll(List<? extends Predicate<T>> predicates)
m_81834_(List<? extends Predicate<T>> p_300844_)
public static <T> Predicate<T>
b(List<? extends Predicate<T>> arg0)
orConditions(List<? extends Predicate<T>> arg0)
method_925(List<? extends Predicate<T>> arg0)
matchingAny(List<? extends Predicate<T>> arg0)
m_81841_(List<? extends Predicate<T>> p_298478_)