Class KickCommand

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

public class KickCommand extends Object
Mappings:
Namespace Name
named net/minecraft/server/command/KickCommand
intermediary net/minecraft/class_3073
official anf
  • Field Details

    • CANNOT_KICK_OWNER_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CANNOT_KICK_OWNER_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named CANNOT_KICK_OWNER_EXCEPTION Lnet/minecraft/server/command/KickCommand;CANNOT_KICK_OWNER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_46229 Lnet/minecraft/class_3073;field_46229:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official a Lanf;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • CANNOT_KICK_SINGLEPLAYER_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CANNOT_KICK_SINGLEPLAYER_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      named CANNOT_KICK_SINGLEPLAYER_EXCEPTION Lnet/minecraft/server/command/KickCommand;CANNOT_KICK_SINGLEPLAYER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_47520 Lnet/minecraft/class_3073;field_47520:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      official b Lanf;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • KickCommand

      public KickCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/server/command/KickCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13410 Lnet/minecraft/class_3073;method_13410(Lcom/mojang/brigadier/CommandDispatcher;)V
      official a Lanf;a(Lcom/mojang/brigadier/CommandDispatcher;)V
    • execute

      private static int execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/server/command/KickCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;)I
      intermediary method_13411 Lnet/minecraft/class_3073;method_13411(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;)I
      official a Lanf;a(Let;Ljava/util/Collection;Lwz;)I