Class PardonIpCommand

java.lang.Object
net.minecraft.server.dedicated.command.PardonIpCommand

public class PardonIpCommand extends Object
Mappings:
Namespace Name
official afh
intermediary net/minecraft/class_3088
named net/minecraft/server/dedicated/command/PardonIpCommand
  • Field Details

    • INVALID_IP_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_IP_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13671 Lnet/minecraft/class_3088;field_13671:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named INVALID_IP_EXCEPTION Lnet/minecraft/server/dedicated/command/PardonIpCommand;INVALID_IP_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
    • ALREADY_UNBANNED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ALREADY_UNBANNED_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official b Lafh;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      intermediary field_13672 Lnet/minecraft/class_3088;field_13672:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
      named ALREADY_UNBANNED_EXCEPTION Lnet/minecraft/server/dedicated/command/PardonIpCommand;ALREADY_UNBANNED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
  • Constructor Details

    • PardonIpCommand

      public PardonIpCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lcom/mojang/brigadier/CommandDispatcher;)V
      intermediary method_13478 Lnet/minecraft/class_3088;method_13478(Lcom/mojang/brigadier/CommandDispatcher;)V
      named register Lnet/minecraft/server/dedicated/command/PardonIpCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
    • pardonIp

      private static int pardonIp(ServerCommandSource source, String target) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lafh;a(Lds;Ljava/lang/String;)I
      intermediary method_13482 Lnet/minecraft/class_3088;method_13482(Lnet/minecraft/class_2168;Ljava/lang/String;)I
      named pardonIp Lnet/minecraft/server/dedicated/command/PardonIpCommand;pardonIp(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I