public interface LootFunction extends LootContextAware, BiFunction<ItemStack,LootContext,ItemStack>
Modifier and Type | Interface and Description |
---|---|
static interface |
LootFunction.Builder |
static class |
LootFunction.Factory<T extends LootFunction> |
Modifier and Type | Method and Description |
---|---|
static Consumer<ItemStack> |
apply(BiFunction<ItemStack,LootContext,ItemStack> itemApplier,
Consumer<ItemStack> itemDropper,
LootContext context) |
check, getRequiredParameters
andThen, apply
static Consumer<ItemStack> apply(BiFunction<ItemStack,LootContext,ItemStack> itemApplier, Consumer<ItemStack> itemDropper, LootContext context)