Package net.minecraft.server.commands
Class KickCommand
java.lang.Object
net.minecraft.server.commands.KickCommand
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate static intkickPlayers(CommandSourceStack p_137802_, Collection<ServerPlayer> p_137803_, Component p_137804_) static voidregister(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
 
 -