Class BannedIpList


public class BannedIpList extends ServerConfigList<String,BannedIpEntry>
Mappings:
Namespace Name
named net/minecraft/server/BannedIpList
intermediary net/minecraft/class_3317
official ava
  • Constructor Details

    • BannedIpList

      public BannedIpList(File file)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
      intermediary <init> Lnet/minecraft/class_3331;<init>(Ljava/io/File;)V
      official <init> Lavi;<init>(Ljava/io/File;)V
  • Method Details

    • fromJson

      protected ServerConfigEntry<String> fromJson(JsonObject json)
      Specified by:
      fromJson in class ServerConfigList<String,BannedIpEntry>
      Mappings:
      Namespace Name Mixin selector
      named fromJson Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
      intermediary method_14642 Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;
      official a Lavi;a(Lcom/google/gson/JsonObject;)Lavh;
    • isBanned

      public boolean isBanned(SocketAddress ip)
      Mappings:
      Namespace Name Mixin selector
      named isBanned Lnet/minecraft/server/BannedIpList;isBanned(Ljava/net/SocketAddress;)Z
      intermediary method_14527 Lnet/minecraft/class_3317;method_14527(Ljava/net/SocketAddress;)Z
      official a Lava;a(Ljava/net/SocketAddress;)Z
    • isBanned

      public boolean isBanned(String ip)
      Mappings:
      Namespace Name Mixin selector
      named isBanned Lnet/minecraft/server/BannedIpList;isBanned(Ljava/lang/String;)Z
      intermediary method_14529 Lnet/minecraft/class_3317;method_14529(Ljava/lang/String;)Z
      official a Lava;a(Ljava/lang/String;)Z
    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/server/BannedIpList;get(Ljava/net/SocketAddress;)Lnet/minecraft/server/BannedIpEntry;
      intermediary method_14528 Lnet/minecraft/class_3317;method_14528(Ljava/net/SocketAddress;)Lnet/minecraft/class_3320;
      official b Lava;b(Ljava/net/SocketAddress;)Lavb;
    • stringifyAddress

      private String stringifyAddress(SocketAddress address)
      Mappings:
      Namespace Name Mixin selector
      named stringifyAddress Lnet/minecraft/server/BannedIpList;stringifyAddress(Ljava/net/SocketAddress;)Ljava/lang/String;
      intermediary method_14526 Lnet/minecraft/class_3317;method_14526(Ljava/net/SocketAddress;)Ljava/lang/String;
      official c Lava;c(Ljava/net/SocketAddress;)Ljava/lang/String;