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

public abstract class LootItemConditionalFunction

implements LootItemFunction

dsq
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.class_120
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.src.C_2924_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionConditional

Field summary

Modifier and TypeField
protected final LootItemCondition[]
g
predicates
field_1047
conditions
f_80676_
private final Predicate<LootContext>
a
compositePredicates
field_1048
predicate
f_80675_

Constructor summary

ModifierConstructor
protected (LootItemCondition[] conditions)

Method summary

Modifier and TypeMethod
public final ItemStack
b(caa arg0, drg arg1)
apply(ItemStack arg0, LootContext arg1)
method_521(class_1799 arg0, class_47 arg1)
apply(ItemStack arg0, LootContext arg1)
apply(C_1391_ p_80690_, C_2811_ arg1)
protected abstract ItemStack
a(caa arg0, drg arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack stack, LootContext context)
m_7372_(C_1391_ p_80680_, C_2811_ arg1)
public void
a(dro arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<dua[], dsr> arg0)
simpleBuilder(Function<LootItemCondition[], LootItemFunction> arg0)
method_520(Function<class_5341[], class_117> arg0)
builder(Function<LootCondition[], LootFunction> joiner)
m_80683_(Function<C_3004_[], C_2928_> p_80684_)