Package net.minecraft.server.management
Class BanEntry<T>
- java.lang.Object
-
- net.minecraft.server.management.UserListEntry<T>
-
- net.minecraft.server.management.BanEntry<T>
-
- Direct Known Subclasses:
IPBanEntry
,ProfileBanEntry
public abstract class BanEntry<T> extends UserListEntry<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Date
created
static java.text.SimpleDateFormat
DATE_FORMAT
protected java.util.Date
expires
protected java.lang.String
reason
protected java.lang.String
source
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ITextComponent
getDisplayName()
java.util.Date
getExpires()
java.lang.String
getReason()
java.lang.String
getSource()
(package private) boolean
hasExpired()
protected void
serialize(com.google.gson.JsonObject p_152641_1_)
-
Methods inherited from class net.minecraft.server.management.UserListEntry
getUser
-
-
-
-
Method Detail
-
getSource
public java.lang.String getSource()
-
getExpires
public java.util.Date getExpires()
-
getReason
public java.lang.String getReason()
-
getDisplayName
public abstract ITextComponent getDisplayName()
-
hasExpired
boolean hasExpired()
- Overrides:
hasExpired
in classUserListEntry<T>
-
serialize
protected void serialize(com.google.gson.JsonObject p_152641_1_)
- Specified by:
serialize
in classUserListEntry<T>
-
-