Package net.minecraft.server.commands
Class KickCommand
java.lang.Object
net.minecraft.server.commands.KickCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
kickPlayers
(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137796_)
-
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
-
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
-