Package net.minecraft.server
Class BannedIpEntry
public class BannedIpEntry extends BanEntry<String>
- Mappings:
Namespace Name official adi
intermediary net/minecraft/class_3320
named net/minecraft/server/BannedIpEntry
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, reason, source
-
Constructor Summary
Constructors Constructor Description BannedIpEntry(JsonObject json)
BannedIpEntry(String ip)
BannedIpEntry(String ip, Date created, String source, Date expiry, String reason)
-
Method Summary
Modifier and Type Method Description protected void
fromJson(JsonObject json)
private static String
getIp(JsonObject json)
Text
toText()
Methods inherited from class net.minecraft.server.BanEntry
getExpiryDate, getReason, getSource, isInvalid
Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey
-
Constructor Details
-
BannedIpEntry
- Mappings:
Namespace Name Mixin selector official <init>
Ladi;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3320;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/server/BannedIpEntry;<init>(Ljava/lang/String;)V
-
BannedIpEntry
public BannedIpEntry(String ip, @Nullable Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason)- Mappings:
Namespace Name Mixin selector official <init>
Ladi;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3320;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
named <init>
Lnet/minecraft/server/BannedIpEntry;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
-
BannedIpEntry
- Mappings:
Namespace Name Mixin selector official <init>
Ladi;<init>(Lcom/google/gson/JsonObject;)V
intermediary <init>
Lnet/minecraft/class_3320;<init>(Lcom/google/gson/JsonObject;)V
named <init>
Lnet/minecraft/server/BannedIpEntry;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
toText
-
getIp
- Mappings:
Namespace Name Mixin selector official b
Ladi;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;
intermediary method_14532
Lnet/minecraft/class_3320;method_14532(Lcom/google/gson/JsonObject;)Ljava/lang/String;
named getIp
Lnet/minecraft/server/BannedIpEntry;getIp(Lcom/google/gson/JsonObject;)Ljava/lang/String;
-
fromJson
- Overrides:
fromJson
in classBanEntry<String>
- Mappings:
Namespace Name Mixin selector official a
Ladn;a(Lcom/google/gson/JsonObject;)V
intermediary method_24896
Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)V
named fromJson
Lnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
-