Package net.minecraft.server.players
Class IpBanListEntry
-
Field Summary
Fields inherited from class net.minecraft.server.players.BanListEntry
created, DATE_FORMAT, expires, EXPIRES_NEVER, reason, source -
Constructor Summary
ConstructorsConstructorDescriptionIpBanListEntry(com.google.gson.JsonObject p_11048_) IpBanListEntry(String p_11050_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringcreateIpInfo(com.google.gson.JsonObject p_11060_) protected voidserialize(com.google.gson.JsonObject p_11058_) Methods inherited from class net.minecraft.server.players.BanListEntry
getCreated, getExpires, getReason, getSource, hasExpiredMethods inherited from class net.minecraft.server.players.StoredUserEntry
getUser
-
Constructor Details
-
IpBanListEntry
-
IpBanListEntry
-
IpBanListEntry
public IpBanListEntry(com.google.gson.JsonObject p_11048_)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classBanListEntry<String>
-
createIpInfo
-
serialize
protected void serialize(com.google.gson.JsonObject p_11058_) - Overrides:
serializein classBanListEntry<String>
-