net.minecraft.world.level.storage.loot.functions

public abstract class LootItemConditionalFunction

implements LootItemFunction

eyc
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.class_120
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.world.level.storage.loot.functions.LootItemFunctionConditional

Field summary

Modifier and TypeField
protected final List<LootItemCondition>
g
predicates
field_1047
conditions
private final Predicate<LootContext>
a
compositePredicates
field_1048
predicate

Constructor summary

ModifierConstructor
protected (List<LootItemCondition> conditions)

Method summary

Modifier and TypeMethod
public abstract LootItemFunctionType<? extends LootItemConditionalFunction>
b()
getType()
method_29321()
getType()
protected static <T extends LootItemConditionalFunction> com.mojang.datafixers.Products$P1<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<T>, List<LootItemCondition>>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
commonFields(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
method_53344(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> arg0)
addConditionsField(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<T> instance)
public final ItemStack
b(cxp arg0, ewp arg1)
apply(ItemStack arg0, LootContext arg1)
method_521(class_1799 arg0, class_47 arg1)
apply(ItemStack arg0, LootContext arg1)
protected abstract ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack stack, LootContext context)
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<List<ezy>, eyd> arg0)
simpleBuilder(Function<List<LootItemCondition>, LootItemFunction> arg0)
method_520(Function<List<class_5341>, class_117> arg0)
builder(Function<List<LootCondition>, LootFunction> joiner)