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

public class LootItemConditions

dbq
net.minecraft.world.level.storage.loot.predicates.LootItemConditions
net.minecraft.class_217
net.minecraft.loot.condition.LootConditionTypes
net.minecraft.loot.conditions.LootConditionManager
net.minecraft.server.v1_16_R3.LootItemConditions

Field summary

Modifier and TypeField
public static final LootItemConditionType
a
INVERTED
field_25235
INVERTED
field_237458_a_
public static final LootItemConditionType
b
ALTERNATIVE
field_25236
ALTERNATIVE
field_237459_b_
public static final LootItemConditionType
c
RANDOM_CHANCE
field_25237
RANDOM_CHANCE
field_237460_c_
public static final LootItemConditionType
d
RANDOM_CHANCE_WITH_LOOTING
field_25238
RANDOM_CHANCE_WITH_LOOTING
field_237461_d_
public static final LootItemConditionType
e
ENTITY_PROPERTIES
field_25239
ENTITY_PROPERTIES
field_237462_e_
public static final LootItemConditionType
f
KILLED_BY_PLAYER
field_25240
KILLED_BY_PLAYER
field_237463_f_
public static final LootItemConditionType
g
ENTITY_SCORES
field_25241
ENTITY_SCORES
field_237464_g_
public static final LootItemConditionType
h
BLOCK_STATE_PROPERTY
field_25242
BLOCK_STATE_PROPERTY
field_237465_h_
public static final LootItemConditionType
i
MATCH_TOOL
field_25243
MATCH_TOOL
field_237466_i_
public static final LootItemConditionType
j
TABLE_BONUS
field_25244
TABLE_BONUS
field_237467_j_
public static final LootItemConditionType
k
SURVIVES_EXPLOSION
field_25245
SURVIVES_EXPLOSION
field_237468_k_
public static final LootItemConditionType
l
DAMAGE_SOURCE_PROPERTIES
field_25246
DAMAGE_SOURCE_PROPERTIES
field_237469_l_
public static final LootItemConditionType
m
LOCATION_CHECK
field_25247
LOCATION_CHECK
field_237470_m_
public static final LootItemConditionType
n
WEATHER_CHECK
field_25248
WEATHER_CHECK
field_237471_n_
public static final LootItemConditionType
o
REFERENCE
field_25249
REFERENCE
field_237472_o_
public static final LootItemConditionType
p
TIME_CHECK
field_25250
TIME_CHECK
field_237473_p_

Method summary

Modifier and TypeMethod
private static LootItemConditionType
a(String arg0, cze<? extends dbo> 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)
func_237475_a_(String arg0, ILootSerializer<? extends ILootCondition> arg1)
public static Object
a()
createGsonAdapter()
method_29326()
createGsonSerializer()
func_237474_a_()
public static <T> Predicate<T>
a(Predicate<T>[] arg0)
andConditions(Predicate<T>[] arg0)
method_924(Predicate<T>[] arg0)
joinAnd(Predicate<T>[] predicates)
func_216305_a(Predicate<T>[] arg0)
public static <T> Predicate<T>
b(Predicate<T>[] arg0)
orConditions(Predicate<T>[] arg0)
method_925(Predicate<T>[] arg0)
joinOr(Predicate<T>[] predicates)
func_216306_b(Predicate<T>[] arg0)