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.

@FunctionalInterface static interface LootCommand.DropConsumer
  • Method Details

    • accept

      int accept(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, List<ItemStack> pItems, LootCommand.Callback pCallback) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException