Package net.minecraft.server.command
Class KickCommand
java.lang.Object
net.minecraft.server.command.KickCommand
- Mappings:
Namespace Name named net/minecraft/server/command/KickCommandintermediary net/minecraft/class_3073official anf
-
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 intexecute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
CANNOT_KICK_OWNER_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CANNOT_KICK_OWNER_EXCEPTION- Mappings:
Namespace Name Mixin selector named CANNOT_KICK_OWNER_EXCEPTIONLnet/minecraft/server/command/KickCommand;CANNOT_KICK_OWNER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_46229Lnet/minecraft/class_3073;field_46229:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLanf;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
CANNOT_KICK_SINGLEPLAYER_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CANNOT_KICK_SINGLEPLAYER_EXCEPTION- Mappings:
Namespace Name Mixin selector named CANNOT_KICK_SINGLEPLAYER_EXCEPTIONLnet/minecraft/server/command/KickCommand;CANNOT_KICK_SINGLEPLAYER_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_47520Lnet/minecraft/class_3073;field_47520:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLanf;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
KickCommand
public KickCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/KickCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13410Lnet/minecraft/class_3073;method_13410(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLanf;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeLnet/minecraft/server/command/KickCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;)Iintermediary method_13411Lnet/minecraft/class_3073;method_13411(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;)Iofficial aLanf;a(Let;Ljava/util/Collection;Lwz;)I
-