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

public class LootItemConditions

etw
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>
u
TYPED_CODEC
field_45870
BASE_CODEC
f_290504_
public static final com.mojang.serialization.Codec<LootItemCondition>
a
DIRECT_CODEC
field_50031
CODEC
f_317075_
public static final com.mojang.serialization.Codec<Holder<LootItemCondition>>
b
CODEC
field_45869
ENTRY_CODEC
f_290534_
public static final LootItemConditionType
c
INVERTED
field_25235
INVERTED
f_81811_
public static final LootItemConditionType
d
ANY_OF
field_44789
ANY_OF
f_285643_
public static final LootItemConditionType
e
ALL_OF
field_44790
ALL_OF
f_285646_
public static final LootItemConditionType
f
RANDOM_CHANCE
field_25237
RANDOM_CHANCE
f_81813_
public static final LootItemConditionType
g
RANDOM_CHANCE_WITH_LOOTING
field_25238
RANDOM_CHANCE_WITH_LOOTING
f_81814_
public static final LootItemConditionType
h
ENTITY_PROPERTIES
field_25239
ENTITY_PROPERTIES
f_81815_
public static final LootItemConditionType
i
KILLED_BY_PLAYER
field_25240
KILLED_BY_PLAYER
f_81816_
public static final LootItemConditionType
j
ENTITY_SCORES
field_25241
ENTITY_SCORES
f_81817_
public static final LootItemConditionType
k
BLOCK_STATE_PROPERTY
field_25242
BLOCK_STATE_PROPERTY
f_81818_
public static final LootItemConditionType
l
MATCH_TOOL
field_25243
MATCH_TOOL
f_81819_
public static final LootItemConditionType
m
TABLE_BONUS
field_25244
TABLE_BONUS
f_81820_
public static final LootItemConditionType
n
SURVIVES_EXPLOSION
field_25245
SURVIVES_EXPLOSION
f_81821_
public static final LootItemConditionType
o
DAMAGE_SOURCE_PROPERTIES
field_25246
DAMAGE_SOURCE_PROPERTIES
f_81822_
public static final LootItemConditionType
p
LOCATION_CHECK
field_25247
LOCATION_CHECK
f_81823_
public static final LootItemConditionType
q
WEATHER_CHECK
field_25248
WEATHER_CHECK
f_81824_
public static final LootItemConditionType
r
REFERENCE
field_25249
REFERENCE
f_81825_
public static final LootItemConditionType
s
TIME_CHECK
field_25250
TIME_CHECK
f_81826_
public static final LootItemConditionType
t
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.MapCodec<? extends etu> arg1)
register(String arg0, com.mojang.serialization.MapCodec<? extends LootItemCondition> arg1)
method_29327(String arg0, com.mojang.serialization.MapCodec<? extends class_5341> arg1)
register(String id, com.mojang.serialization.MapCodec<? extends LootCondition> codec)
m_81831_(String p_81832_, com.mojang.serialization.MapCodec<? extends C_3004_> p_331746_)