public interface LootFunction extends LootContextAware, BiFunction<ItemStack,LootContext,ItemStack>
Modifier and Type | Interface and Description |
---|---|
static interface |
LootFunction.Builder |
Modifier and Type | Method and Description |
---|---|
static Consumer<ItemStack> |
apply(BiFunction<ItemStack,LootContext,ItemStack> itemApplier,
Consumer<ItemStack> lootConsumer,
LootContext context) |
LootFunctionType |
getType() |
getRequiredParameters, validate
andThen, apply
LootFunctionType getType()
static Consumer<ItemStack> apply(BiFunction<ItemStack,LootContext,ItemStack> itemApplier, Consumer<ItemStack> lootConsumer, LootContext context)