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

public abstract class LootItemConditionalFunction

implements LootItemFunction

dxb
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(cdt arg0, dvr 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(cdt arg0, dvr 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(dvz arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<dyl[], dxc> 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_)