Class BanCommand
java.lang.Object
net.minecraft.server.dedicated.command.BanCommand
- Mappings:
- Namespace - Name - official - adx- intermediary - net/minecraft/class_3016- named - net/minecraft/server/dedicated/command/BanCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
ALREADY_BANNED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_BANNED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Ladx;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13473- Lnet/minecraft/class_3016;field_13473:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - ALREADY_BANNED_EXCEPTION- Lnet/minecraft/server/dedicated/command/BanCommand;ALREADY_BANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
BanCommandpublic BanCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - official - a- Ladx;a(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13021- Lnet/minecraft/class_3016;method_13021(Lcom/mojang/brigadier/CommandDispatcher;)V- named - register- Lnet/minecraft/server/dedicated/command/BanCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
banprivate static int ban(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable @Nullable Text reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ladx;a(Lds;Ljava/util/Collection;Lsw;)I- intermediary - method_13022- Lnet/minecraft/class_3016;method_13022(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;)I- named - ban- Lnet/minecraft/server/dedicated/command/BanCommand;ban(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;)I
 
 
-