Class ClearInventoryCommands

java.lang.Object
net.minecraft.server.commands.ClearInventoryCommands

public class ClearInventoryCommands extends Object
  • Field Details

    • ERROR_SINGLE

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_SINGLE
    • ERROR_MULTIPLE

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_MULTIPLE
  • Constructor Details

    • ClearInventoryCommands

      public ClearInventoryCommands()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136700_)
    • clearInventory

      private static int clearInventory(CommandSourceStack p_136706_, Collection<ServerPlayer> p_136707_, Predicate<ItemStack> p_136708_, int p_136709_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException