net.minecraft.server.command

public class 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
field_46229
CANNOT_KICK_OWNER_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
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)
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)
method_13411(class_2168 arg0, Collection<class_3222> arg1, class_2561 arg2)
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason)
private static Text
lambda$kickPlayers$0(ServerPlayer arg0, Component arg1)
method_52003(class_3222 arg0, class_2561 arg1)
method_52003(ServerPlayerEntity arg0, Text arg1)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13412(com.mojang.brigadier.context.CommandContext arg0)
method_13412(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13409(com.mojang.brigadier.context.CommandContext arg0)
method_13409(com.mojang.brigadier.context.CommandContext context)