Package net.minecraft.server
Class BannedIpList
public class BannedIpList extends ServerConfigList<String,BannedIpEntry>
- Mappings:
Namespace Name official adh
intermediary net/minecraft/class_3317
named net/minecraft/server/BannedIpList
-
Field Summary
Fields inherited from class net.minecraft.server.ServerConfigList
LOGGER
-
Constructor Summary
Constructors Constructor Description BannedIpList(File file)
-
Method Summary
Modifier and Type Method Description protected ServerConfigEntry<String>
fromJson(JsonObject json)
BannedIpEntry
get(SocketAddress socketAddress)
boolean
isBanned(String ip)
boolean
isBanned(SocketAddress ip)
private String
stringifyAddress(SocketAddress socketAddress)
-
Constructor Details
-
BannedIpList
- Mappings:
Namespace Name Mixin selector official <init>
Lado;<init>(Ljava/io/File;)V
intermediary <init>
Lnet/minecraft/class_3331;<init>(Ljava/io/File;)V
named <init>
Lnet/minecraft/server/ServerConfigList;<init>(Ljava/io/File;)V
-
-
Method Details
-
fromJson
- Specified by:
fromJson
in classServerConfigList<String,BannedIpEntry>
- Mappings:
Namespace Name Mixin selector official a
Lado;a(Lcom/google/gson/JsonObject;)Ladn;
intermediary method_14642
Lnet/minecraft/class_3331;method_14642(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_3330;
named fromJson
Lnet/minecraft/server/ServerConfigList;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/server/ServerConfigEntry;
-
isBanned
- Mappings:
Namespace Name Mixin selector official a
Ladh;a(Ljava/net/SocketAddress;)Z
intermediary method_14527
Lnet/minecraft/class_3317;method_14527(Ljava/net/SocketAddress;)Z
named isBanned
Lnet/minecraft/server/BannedIpList;isBanned(Ljava/net/SocketAddress;)Z
-
isBanned
- Mappings:
Namespace Name Mixin selector official a
Ladh;a(Ljava/lang/String;)Z
intermediary method_14529
Lnet/minecraft/class_3317;method_14529(Ljava/lang/String;)Z
named isBanned
Lnet/minecraft/server/BannedIpList;isBanned(Ljava/lang/String;)Z
-
get
- Mappings:
Namespace Name Mixin selector official b
Ladh;b(Ljava/net/SocketAddress;)Ladi;
intermediary method_14528
Lnet/minecraft/class_3317;method_14528(Ljava/net/SocketAddress;)Lnet/minecraft/class_3320;
named get
Lnet/minecraft/server/BannedIpList;get(Ljava/net/SocketAddress;)Lnet/minecraft/server/BannedIpEntry;
-
stringifyAddress
- Mappings:
Namespace Name Mixin selector official c
Ladh;c(Ljava/net/SocketAddress;)Ljava/lang/String;
intermediary method_14526
Lnet/minecraft/class_3317;method_14526(Ljava/net/SocketAddress;)Ljava/lang/String;
named stringifyAddress
Lnet/minecraft/server/BannedIpList;stringifyAddress(Ljava/net/SocketAddress;)Ljava/lang/String;
-