Package net.minecraft.server
Class BannedPlayerEntry
java.lang.Object
net.minecraft.server.ServerConfigEntry<T>
net.minecraft.server.BanEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.BannedPlayerEntry
- Mappings:
Namespace Name official aeointermediary net/minecraft/class_3336named net/minecraft/server/BannedPlayerEntry
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, FOREVER, reason, source -
Constructor Summary
ConstructorsConstructorDescriptionBannedPlayerEntry(JsonObject json)BannedPlayerEntry(com.mojang.authlib.GameProfile profile)BannedPlayerEntry(com.mojang.authlib.GameProfile profile, @Nullable Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfromJson(JsonObject json)private static com.mojang.authlib.GameProfileprofileFromJson(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
-
BannedPlayerEntry
public BannedPlayerEntry(com.mojang.authlib.GameProfile profile)- Mappings:
Namespace Name Mixin selector official <init>Laeo;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;)V
-
BannedPlayerEntry
public BannedPlayerEntry(com.mojang.authlib.GameProfile profile, @Nullable @Nullable Date created, @Nullable @Nullable String source, @Nullable @Nullable Date expiry, @Nullable @Nullable String reason)- Mappings:
Namespace Name Mixin selector official <init>Laeo;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vnamed <init>Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)V
-
BannedPlayerEntry
- Mappings:
Namespace Name Mixin selector official <init>Laeo;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_3336;<init>(Lcom/google/gson/JsonObject;)Vnamed <init>Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
fromJson
- Overrides:
fromJsonin classBanEntry<com.mojang.authlib.GameProfile>- 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
-
toText
- Specified by:
toTextin classBanEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official eLaec;e()Los;intermediary method_14504Lnet/minecraft/class_3309;method_14504()Lnet/minecraft/class_2561;named toTextLnet/minecraft/server/BanEntry;toText()Lnet/minecraft/text/Text;
-
profileFromJson
- Mappings:
Namespace Name Mixin selector official bLaeo;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_14651Lnet/minecraft/class_3336;method_14651(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named profileFromJsonLnet/minecraft/server/BannedPlayerEntry;profileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-