Class ClearCommand

java.lang.Object
net.minecraft.command.impl.ClearCommand

public class ClearCommand 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

    • ClearCommand

      public ClearCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198243_0_)
    • clearInventory

      private static int clearInventory(CommandSource p_198244_0_, Collection<ServerPlayerEntity> p_198244_1_, Predicate<ItemStack> p_198244_2_, int p_198244_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException