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> lootConsumer,
LootContext context) |
getRequiredParameters, validateandThen, applystatic Consumer<ItemStack> apply(BiFunction<ItemStack,LootContext,ItemStack> itemApplier, Consumer<ItemStack> lootConsumer, LootContext context)