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 pSource, Collection<ServerPlayer> pPlayers, Component pReason) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException