Class BanIpCommand
java.lang.Object
net.minecraft.server.dedicated.command.BanIpCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/dedicated/command/BanIpCommand- intermediary - net/minecraft/class_3012- official - amf
- 
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 intbanIp(ServerCommandSource source, String targetIp, @Nullable Text reason) private static intcheckIp(ServerCommandSource source, String target, @Nullable Text reason) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
INVALID_IP_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_IP_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - INVALID_IP_EXCEPTION- Lnet/minecraft/server/dedicated/command/BanIpCommand;INVALID_IP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13468- Lnet/minecraft/class_3012;field_13468:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Lamf;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
ALREADY_BANNED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_BANNED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - ALREADY_BANNED_EXCEPTION- Lnet/minecraft/server/dedicated/command/BanIpCommand;ALREADY_BANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13467- Lnet/minecraft/class_3012;field_13467:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Lamf;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
BanIpCommandpublic BanIpCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/dedicated/command/BanIpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13008- Lnet/minecraft/class_3012;method_13008(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Lamf;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
checkIpprivate static int checkIp(ServerCommandSource source, String target, @Nullable @Nullable Text reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - checkIp- Lnet/minecraft/server/dedicated/command/BanIpCommand;checkIp(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)I- intermediary - method_13009- Lnet/minecraft/class_3012;method_13009(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)I- official - a- Lamf;a(Lex;Ljava/lang/String;Lwp;)I
 
- 
banIpprivate static int banIp(ServerCommandSource source, String targetIp, @Nullable @Nullable Text reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - banIp- Lnet/minecraft/server/dedicated/command/BanIpCommand;banIp(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)I- intermediary - method_13007- Lnet/minecraft/class_3012;method_13007(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)I- official - b- Lamf;b(Lex;Ljava/lang/String;Lwp;)I
 
 
-