Package net.minecraft.server.commands
Class KickCommand
java.lang.Object
net.minecraft.server.commands.KickCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_OWNERprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_KICKING_OWNER
- 
ERROR_SINGLEPLAYERprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_SINGLEPLAYER
 
- 
- 
Constructor Details- 
KickCommandpublic KickCommand()
 
- 
- 
Method Details- 
register
- 
kickPlayersprivate 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
 
 
-