Package net.minecraft.server.players
Class BanListEntry<T>
java.lang.Object
net.minecraft.server.players.StoredUserEntry<T>
net.minecraft.server.players.BanListEntry<T>
- Direct Known Subclasses:
IpBanListEntry
,UserBanListEntry
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BanListEntry
(T p_10950_, com.google.gson.JsonObject p_10951_) -
Method Summary
Methods inherited from class net.minecraft.server.players.StoredUserEntry
getUser
-
Field Details
-
DATE_FORMAT
-
EXPIRES_NEVER
- See Also:
-
created
-
source
-
expires
-
reason
-
-
Constructor Details
-
BanListEntry
-
BanListEntry
-
-
Method Details
-
getCreated
-
getSource
-
getExpires
-
getReason
-
getDisplayName
-
hasExpired
boolean hasExpired()- Overrides:
hasExpired
in classStoredUserEntry<T>
-
serialize
protected void serialize(com.google.gson.JsonObject p_10959_) - Specified by:
serialize
in classStoredUserEntry<T>
-