net.minecraft.server.command

public class KickCommand

net.minecraft.server.commands.KickCommand
net.minecraft.server.commands.KickCommand
net.minecraft.class_3073
net.minecraft.server.command.KickCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_KICKING_OWNER
ERROR_KICKING_OWNER
field_46229
CANNOT_KICK_OWNER_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SINGLEPLAYER
ERROR_SINGLEPLAYER
field_47520
CANNOT_KICK_SINGLEPLAYER_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13410(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
kickPlayers(CommandSourceStack source, Collection<ServerPlayer> players, Component reason)
kickPlayers(CommandSourceStack source, Collection<ServerPlayer> players, Component reason)
method_13411(class_2168 arg0, Collection<class_3222> arg1, class_2561 arg2)
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason)