Interface LootCommand.DropConsumer
- Enclosing class:
LootCommand
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionintaccept(CommandContext<CommandSourceStack> context, List<ItemStack> drops, LootCommand.Callback successCallback)
-
Method Details
-
accept
int accept(CommandContext<CommandSourceStack> context, List<ItemStack> drops, LootCommand.Callback successCallback) throws CommandSyntaxException - Throws:
CommandSyntaxException
-