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
ConstructorDescriptionIpBanListEntry(com.google.gson.JsonObject p_11048_)
IpBanListEntry(String p_11050_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static String
createIpInfo(com.google.gson.JsonObject p_11060_)
protected void
serialize(com.google.gson.JsonObject p_11058_)
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
-
IpBanListEntry
-
IpBanListEntry
-
IpBanListEntry
public IpBanListEntry(com.google.gson.JsonObject p_11048_)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in classBanListEntry<String>
-
createIpInfo
-
serialize
protected void serialize(com.google.gson.JsonObject p_11058_)- Overrides:
serialize
in classBanListEntry<String>
-