public class UserListBansEntry extends UserListEntryBan<com.mojang.authlib.GameProfile>
banEndDate, bannedBy, banStartDate, DATE_FORMAT, reason
Constructor and Description |
---|
UserListBansEntry(com.mojang.authlib.GameProfile profile) |
UserListBansEntry(com.mojang.authlib.GameProfile profile,
java.util.Date startDate,
java.lang.String banner,
java.util.Date endDate,
java.lang.String banReason) |
UserListBansEntry(com.google.gson.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
protected void |
onSerialization(com.google.gson.JsonObject data) |
private static com.mojang.authlib.GameProfile |
toGameProfile(com.google.gson.JsonObject json) |
getBanEndDate, getBanReason, hasBanExpired
getValue
public UserListBansEntry(com.mojang.authlib.GameProfile profile)
public UserListBansEntry(com.mojang.authlib.GameProfile profile, java.util.Date startDate, java.lang.String banner, java.util.Date endDate, java.lang.String banReason)
public UserListBansEntry(com.google.gson.JsonObject json)
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization
in class UserListEntryBan<com.mojang.authlib.GameProfile>
private static com.mojang.authlib.GameProfile toGameProfile(com.google.gson.JsonObject json)