Class BanCommand
java.lang.Object
net.minecraft.server.dedicated.command.BanCommand
- Mappings:
Namespace Name named net/minecraft/server/dedicated/command/BanCommand
intermediary net/minecraft/class_3016
official anl
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
ban
(ServerCommandSource source, Collection<com.mojang.authlib.GameProfile> targets, @Nullable Text reason) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
ALREADY_BANNED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_BANNED_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_BANNED_EXCEPTION
Lnet/minecraft/server/dedicated/command/BanCommand;ALREADY_BANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13473
Lnet/minecraft/class_3016;field_13473:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lanl;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
BanCommand
public BanCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/dedicated/command/BanCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13021
Lnet/minecraft/class_3016;method_13021(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lanl;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
ban
private 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 named ban
Lnet/minecraft/server/dedicated/command/BanCommand;ban(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/text/Text;)I
intermediary method_13022
Lnet/minecraft/class_3016;method_13022(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2561;)I
official a
Lanl;a(Lew;Ljava/util/Collection;Lxv;)I
-