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

public abstract class LootItemConditionalFunction

implements LootItemFunction

cqg
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_14_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(bcj arg0, coy 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(bcj arg0, coy 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(cpc arg0, Function<qv, cpb> arg1, Set<qv> arg2, cqx arg3)
validate(LootTableProblemCollector arg0, Function<ResourceLocation, LootTable> arg1, Set<ResourceLocation> arg2, LootContextParamSet arg3)
method_292(class_58 arg0, Function<class_2960, class_52> arg1, Set<class_2960> arg2, class_176 arg3)
check(LootTableReporter arg0, Function<Identifier, LootTable> arg1, Set<Identifier> arg2, LootContextType arg3)
func_215856_a(ValidationResults arg0, Function<ResourceLocation, LootTable> arg1, Set<ResourceLocation> arg2, LootParameterSet arg3)
protected static LootItemConditionalFunction$Builder<?>
a(Function<crk[], cqh> arg0)
simpleBuilder(Function<LootItemCondition[], LootItemFunction> arg0)
method_520(Function<class_209[], class_117> arg0)
builder(Function<LootCondition[], LootFunction> joiner)
func_215860_a(Function<ILootCondition[], ILootFunction> arg0)