Package net.minecraft.server.players
Class UserBanListEntry
java.lang.Object
net.minecraft.server.players.StoredUserEntry<T>
net.minecraft.server.players.BanListEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.UserBanListEntry
-
Field Summary
Fields inherited from class net.minecraft.server.players.BanListEntry
created, DATE_FORMAT, expires, EXPIRES_NEVER, reason, source
-
Constructor Summary
ConstructorDescriptionUserBanListEntry
(com.google.gson.JsonObject p_11434_) UserBanListEntry
(com.mojang.authlib.GameProfile p_11436_) UserBanListEntry
(com.mojang.authlib.GameProfile p_11438_, Date p_11439_, String p_11440_, Date p_11441_, String p_11442_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.authlib.GameProfile
createGameProfile
(com.google.gson.JsonObject p_11446_) protected void
serialize
(com.google.gson.JsonObject p_11444_) Methods inherited from class net.minecraft.server.players.BanListEntry
getCreated, getExpires, getReason, getSource, hasExpired
Methods inherited from class net.minecraft.server.players.StoredUserEntry
getUser
-
Constructor Details
-
UserBanListEntry
public UserBanListEntry(@Nullable com.mojang.authlib.GameProfile p_11436_) -
UserBanListEntry
-
UserBanListEntry
public UserBanListEntry(com.google.gson.JsonObject p_11434_)
-
-
Method Details
-
serialize
protected void serialize(com.google.gson.JsonObject p_11444_) - Overrides:
serialize
in classBanListEntry<com.mojang.authlib.GameProfile>
-
getDisplayName
- Specified by:
getDisplayName
in classBanListEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
@Nullable private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject p_11446_)
-