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 entryData) IpBanListEntry(String ip) -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringcreateIpInfo(com.google.gson.JsonObject json) protected voidserialize(com.google.gson.JsonObject data) 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 entryData)
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classBanListEntry<String>
-
createIpInfo
-
serialize
protected void serialize(com.google.gson.JsonObject data) - Overrides:
serializein classBanListEntry<String>
-