Class KickCommand

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

public class KickCommand extends Object
  • Field Details

    • ERROR_KICKING_OWNER

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_KICKING_OWNER
    • ERROR_SINGLEPLAYER

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

    • KickCommand

      public KickCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137796_)
    • kickPlayers

      private static int kickPlayers(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException