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 vvintermediary net/minecraft/class_2138named net/minecraft/server/BannedPlayerEntry
-
Field Summary
Fields inherited from class net.minecraft.server.BanEntry
creationDate, DATE_FORMAT, expiryDate, reason, source -
Constructor Summary
ConstructorsConstructorDescriptionBannedPlayerEntry(JsonObject object) BannedPlayerEntry(com.mojang.authlib.GameProfile profile) BannedPlayerEntry(com.mojang.authlib.GameProfile profile, Date created, String source, Date expiry, String reason) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.authlib.GameProfilegetProfileFromJson(JsonObject json) protected voidserialize(JsonObject jsonObject) Methods inherited from class net.minecraft.server.BanEntry
getExpiryDate, getReason, isInvalid, method_21378Methods 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>Lvv;<init>(Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_2138;<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 Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason) - Mappings:
Namespace Name Mixin selector official <init>Lvv;<init>(Lcom/mojang/authlib/GameProfile;Ljava/util/Date;Ljava/lang/String;Ljava/util/Date;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2138;<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>Lvv;<init>(Lcom/google/gson/JsonObject;)Vintermediary <init>Lnet/minecraft/class_2138;<init>(Lcom/google/gson/JsonObject;)Vnamed <init>Lnet/minecraft/server/BannedPlayerEntry;<init>(Lcom/google/gson/JsonObject;)V
-
-
Method Details
-
serialize
- Overrides:
serializein classBanEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official aLvs;a(Lcom/google/gson/JsonObject;)Vintermediary method_8242Lnet/minecraft/class_2133;method_8242(Lcom/google/gson/JsonObject;)Vnamed serializeLnet/minecraft/server/ServerConfigEntry;serialize(Lcom/google/gson/JsonObject;)V
-
method_21379
- Specified by:
method_21379in classBanEntry<com.mojang.authlib.GameProfile>- Mappings:
Namespace Name Mixin selector official eLvk;e()Lij;intermediary method_21379Lnet/minecraft/class_732;method_21379()Lnet/minecraft/class_1982;named method_21379Lnet/minecraft/server/BanEntry;method_21379()Lnet/minecraft/text/Text;
-
getProfileFromJson
- Mappings:
Namespace Name Mixin selector official bLvv;b(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;intermediary method_8264Lnet/minecraft/class_2138;method_8264(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;named getProfileFromJsonLnet/minecraft/server/BannedPlayerEntry;getProfileFromJson(Lcom/google/gson/JsonObject;)Lcom/mojang/authlib/GameProfile;
-