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

public class LootItemConditions

cun
net.minecraft.world.level.storage.loot.predicates.LootItemConditions
net.minecraft.class_217
net.minecraft.loot.condition.LootConditions
net.minecraft.world.storage.loot.conditions.LootConditionManager
net.minecraft.server.v1_15_R1.LootItemConditions

Field summary

Modifier and TypeField
private static final Map<ResourceLocation, LootItemCondition$Serializer<?>>
a
CONDITIONS_BY_NAME
field_1294
byId
field_186642_a
private static final Map<Class<? extends LootItemCondition>, LootItemCondition$Serializer<?>>
b
CONDITIONS_BY_CLASS
field_1295
byClass
field_186643_b

Method summary

Modifier and TypeMethod
public static <T extends LootItemCondition> void
a(cum$b<? extends T> arg0)
register(LootItemCondition$Serializer<? extends T> arg0)
method_926(class_4570$class_211<? extends T> arg0)
register(LootCondition$Factory<? extends T> condition)
func_186639_a(ILootCondition$AbstractSerializer<? extends T> arg0)
public static LootItemCondition$Serializer<?>
a(sm arg0)
getSerializer(ResourceLocation arg0)
method_922(class_2960 arg0)
get(Identifier id)
func_186641_a(ResourceLocation arg0)
public static <T extends LootItemCondition> LootItemCondition$Serializer<T>
a(T arg0)
getSerializer(T arg0)
method_923(T arg0)
getFactory(T condition)
func_186640_a(T arg0)
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)