Class BanPlayerCommands

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

public class BanPlayerCommands extends Object
  • Field Details

    • ERROR_ALREADY_BANNED

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_ALREADY_BANNED
  • Constructor Details

    • BanPlayerCommands

      public BanPlayerCommands()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136559_)
    • banPlayers

      private static int banPlayers(CommandSourceStack p_136565_, Collection<com.mojang.authlib.GameProfile> p_136566_, @Nullable Component p_136567_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException