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

public abstract class LootItemConditionalFunction

implements LootItemFunction

cte
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction
net.minecraft.class_120
net.minecraft.loot.function.ConditionalLootFunction
net.minecraft.world.storage.loot.LootFunction
net.minecraft.server.v1_15_R1.LootItemFunctionConditional

Field summary

Modifier and TypeField
protected final LootItemCondition[]
b
predicates
field_1047
conditions
field_215862_b
private final Predicate<LootContext>
a
compositePredicates
field_1048
predicate
field_215861_a

Constructor summary

ModifierConstructor
protected (LootItemCondition[] conditions)

Method summary

Modifier and TypeMethod
public final ItemStack
b(bek arg0, cru arg1)
apply(ItemStack arg0, LootContext arg1)
method_521(class_1799 arg0, class_47 arg1)
apply(ItemStack arg0, LootContext arg1)
apply(ItemStack arg0, LootContext arg1)
protected abstract ItemStack
a(bek arg0, cru arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack stack, LootContext context)
func_215859_a(ItemStack arg0, LootContext arg1)
public void
a(csd arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
check(LootTableReporter arg0)
func_225580_a_(ValidationTracker arg0)
protected static LootItemConditionalFunction$Builder<?>
a(Function<cuj[], ctf> arg0)
simpleBuilder(Function<LootItemCondition[], LootItemFunction> arg0)
method_520(Function<class_4570[], class_117> arg0)
builder(Function<LootCondition[], LootFunction> joiner)
func_215860_a(Function<ILootCondition[], ILootFunction> arg0)