Package net.minecraft.server
Class BanEntry<T>
java.lang.Object
net.minecraft.server.ServerConfigEntry<T>
net.minecraft.server.BanEntry<T>
- Direct Known Subclasses:
BannedIpEntry,BannedPlayerEntry
- Mappings:
Namespace Name named net/minecraft/server/BanEntryintermediary net/minecraft/class_3309official aum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Datestatic final SimpleDateFormatstatic final Stringprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanabstract TexttoText()protected voidwrite(JsonObject json) Methods inherited from class net.minecraft.server.ServerConfigEntry
getKey
-
Field Details
-
DATE_FORMAT
- Mappings:
Namespace Name Mixin selector named DATE_FORMATLnet/minecraft/server/BanEntry;DATE_FORMAT:Ljava/text/SimpleDateFormat;intermediary field_14308Lnet/minecraft/class_3309;field_14308:Ljava/text/SimpleDateFormat;official aLaum;a:Ljava/text/SimpleDateFormat;
-
FOREVER
- See Also:
- Mappings:
Namespace Name Mixin selector named FOREVERLnet/minecraft/server/BanEntry;FOREVER:Ljava/lang/String;intermediary field_29787Lnet/minecraft/class_3309;field_29787:Ljava/lang/String;official bLaum;b:Ljava/lang/String;
-
creationDate
- Mappings:
Namespace Name Mixin selector named creationDateLnet/minecraft/server/BanEntry;creationDate:Ljava/util/Date;intermediary field_14306Lnet/minecraft/class_3309;field_14306:Ljava/util/Date;official cLaum;c:Ljava/util/Date;
-
source
- Mappings:
Namespace Name Mixin selector named sourceLnet/minecraft/server/BanEntry;source:Ljava/lang/String;intermediary field_14304Lnet/minecraft/class_3309;field_14304:Ljava/lang/String;official dLaum;d:Ljava/lang/String;
-
expiryDate
- Mappings:
Namespace Name Mixin selector named expiryDateLnet/minecraft/server/BanEntry;expiryDate:Ljava/util/Date;intermediary field_14305Lnet/minecraft/class_3309;field_14305:Ljava/util/Date;official eLaum;e:Ljava/util/Date;
-
reason
- Mappings:
Namespace Name Mixin selector named reasonLnet/minecraft/server/BanEntry;reason:Ljava/lang/String;intermediary field_14307Lnet/minecraft/class_3309;field_14307:Ljava/lang/String;official fLaum;f:Ljava/lang/String;
-
-
Constructor Details
-
BanEntry
public BanEntry(@Nullable T key, @Nullable @Nullable Date creationDate, @Nullable @Nullable String source, @Nullable @Nullable Date expiryDate, @Nullable @Nullable String reason) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/BanEntry;<init>(Ljava/lang/Object;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3309;<init>(Ljava/lang/Object;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vofficial <init>Laum;<init>(Ljava/lang/Object;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
-
BanEntry
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/BanEntry;<init>(Ljava/lang/Object;Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3309;<init>(Ljava/lang/Object;Lcom/google/gson/JsonObject;)Vofficial <init>Laum;<init>(Ljava/lang/Object;Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
getCreationDate
- Mappings:
Namespace Name Mixin selector named getCreationDateLnet/minecraft/server/BanEntry;getCreationDate()Ljava/util/Date;intermediary method_34885Lnet/minecraft/class_3309;method_34885()Ljava/util/Date;official aLaum;a()Ljava/util/Date;
-
getSource
- Mappings:
Namespace Name Mixin selector named getSourceLnet/minecraft/server/BanEntry;getSource()Ljava/lang/String;intermediary method_14501Lnet/minecraft/class_3309;method_14501()Ljava/lang/String;official bLaum;b()Ljava/lang/String;
-
getExpiryDate
- Mappings:
Namespace Name Mixin selector named getExpiryDateLnet/minecraft/server/BanEntry;getExpiryDate()Ljava/util/Date;intermediary method_14502Lnet/minecraft/class_3309;method_14502()Ljava/util/Date;official cLaum;c()Ljava/util/Date;
-
getReason
- Mappings:
Namespace Name Mixin selector named getReasonLnet/minecraft/server/BanEntry;getReason()Ljava/lang/String;intermediary method_14503Lnet/minecraft/class_3309;method_14503()Ljava/lang/String;official dLaum;d()Ljava/lang/String;
-
toText
- Mappings:
Namespace Name Mixin selector named toTextLnet/minecraft/server/BanEntry;toText()Lnet/minecraft/text/Text;intermediary method_14504Lnet/minecraft/class_3309;method_14504()Lnet/minecraft/class_2561;official eLaum;e()Lwz;
-
isInvalid
boolean isInvalid()- Overrides:
isInvalidin classServerConfigEntry<T>- Mappings:
Namespace Name Mixin selector named isInvalidLnet/minecraft/server/ServerConfigEntry;isInvalid()Zintermediary method_14627Lnet/minecraft/class_3330;method_14627()Zofficial fLauv;f()Z
-
write
- Specified by:
writein classServerConfigEntry<T>- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/server/ServerConfigEntry;write(Lcom/google/gson/JsonObject;)Vintermediary method_24896Lnet/minecraft/class_3330;method_24896(Lcom/google/gson/JsonObject;)Vofficial aLauv;a(Lcom/google/gson/JsonObject;)V
-