Class BanIpCommand
java.lang.Object
net.minecraft.server.dedicated.command.BanIpCommand
- Mappings:
Namespace Name named net/minecraft/server/dedicated/command/BanIpCommandintermediary net/minecraft/class_3012official ama
-
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 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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_IP_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_IP_EXCEPTIONLnet/minecraft/server/dedicated/command/BanIpCommand;INVALID_IP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13468Lnet/minecraft/class_3012;field_13468:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLama;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
ALREADY_BANNED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_BANNED_EXCEPTION- Mappings:
Namespace Name Mixin selector named ALREADY_BANNED_EXCEPTIONLnet/minecraft/server/dedicated/command/BanIpCommand;ALREADY_BANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13467Lnet/minecraft/class_3012;field_13467:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLama;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
BanIpCommand
public BanIpCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/dedicated/command/BanIpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13008Lnet/minecraft/class_3012;method_13008(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLama;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
checkIp
private 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 checkIpLnet/minecraft/server/dedicated/command/BanIpCommand;checkIp(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)Iintermediary method_13009Lnet/minecraft/class_3012;method_13009(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)Iofficial aLama;a(Let;Ljava/lang/String;Lwz;)I
-
banIp
private 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 banIpLnet/minecraft/server/dedicated/command/BanIpCommand;banIp(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/text/Text;)Iintermediary method_13007Lnet/minecraft/class_3012;method_13007(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_2561;)Iofficial bLama;b(Let;Ljava/lang/String;Lwz;)I
-