Package net.minecraft.server
Class BannedIpEntry
- Mappings:
Namespace Name official aefintermediary net/minecraft/class_3320named net/minecraft/server/BannedIpEntry
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, FOREVER, reason, source -
Constructor Summary
ConstructorsConstructorDescriptionBannedIpEntry(JsonObject json)BannedIpEntry(String ip)BannedIpEntry(String ip, @Nullable Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfromJson(JsonObject json)private static StringgetIp(JsonObject json)toText()Methods inherited from class net.minecraft.server.BanEntry
getCreationDate, getExpiryDate, getReason, getSource, isInvalidMethods inherited from class net.minecraft.server.ServerConfigEntry
getKey
-
Constructor Details
-
BannedIpEntry
- Mappings:
Namespace Name Mixin selector official <init>Laef;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3320;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/server/BannedIpEntry;<init>(Ljava/lang/String;)V
-
BannedIpEntry
public BannedIpEntry(String ip, @Nullable @Nullable Date created, @Nullable @Nullable String source, @Nullable @Nullable Date expiry, @Nullable @Nullable String reason)- Mappings:
Namespace Name Mixin selector official <init>Laef;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3320;<init>(Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vnamed <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>Laef;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3320;<init>(Lcom/google/gson/JsonObject;)Vnamed <init>Lnet/minecraft/server/BannedIpEntry;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
toText
-
getIp
- Mappings:
Namespace Name Mixin selector official bLaef;b(Lcom/google/gson/JsonObject;)Ljava/lang/String;intermediary method_14532Lnet/minecraft/class_3320;method_14532(Lcom/google/gson/JsonObject;)Ljava/lang/String;named getIpLnet/minecraft/server/BannedIpEntry;getIp(Lcom/google/gson/JsonObject;)Ljava/lang/String;
-
fromJson
- Overrides:
fromJsonin classBanEntry<String>- Mappings:
Namespace Name Mixin selector official aLael;a(Lcom/google/gson/JsonObject;)Vintermediary method_24896Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)Vnamed fromJsonLnet/minecraft/server/ServerConfigEntry;fromJson(Lcom/google/gson/JsonObject;)V
-