类 UserBanListEntry
java.lang.Object
net.minecraft.server.players.StoredUserEntry<T>
net.minecraft.server.players.BanListEntry<com.mojang.authlib.GameProfile>
net.minecraft.server.players.UserBanListEntry
-
字段概要
从类继承的字段 net.minecraft.server.players.BanListEntry
created, DATE_FORMAT, expires, EXPIRES_NEVER, reason, source
-
构造器概要
构造器构造器说明UserBanListEntry
(com.google.gson.JsonObject pEntryData) UserBanListEntry
(com.mojang.authlib.GameProfile pUser) UserBanListEntry
(com.mojang.authlib.GameProfile pProfile, Date pCreated, String pSource, Date pExpires, String pReason) -
方法概要
修饰符和类型方法说明private static com.mojang.authlib.GameProfile
createGameProfile
(com.google.gson.JsonObject pJson) protected void
serialize
(com.google.gson.JsonObject pData) 从类继承的方法 net.minecraft.server.players.BanListEntry
getCreated, getExpires, getReason, getSource, hasExpired
从类继承的方法 net.minecraft.server.players.StoredUserEntry
getUser
-
构造器详细资料
-
UserBanListEntry
public UserBanListEntry(com.mojang.authlib.GameProfile pUser) -
UserBanListEntry
-
UserBanListEntry
public UserBanListEntry(com.google.gson.JsonObject pEntryData)
-
-
方法详细资料
-
serialize
protected void serialize(com.google.gson.JsonObject pData) - 覆盖:
serialize
在类中BanListEntry<com.mojang.authlib.GameProfile>
-
getDisplayName
- 指定者:
getDisplayName
在类中BanListEntry<com.mojang.authlib.GameProfile>
-
createGameProfile
private static com.mojang.authlib.GameProfile createGameProfile(com.google.gson.JsonObject pJson)
-