net.minecraft.server

public abstract class BanEntry<T>

extends ServerConfigEntry<T>

net.minecraft.server.players.BanListEntry
net.minecraft.class_3309
net.minecraft.server.BanEntry

Field summary

Modifier and TypeField
public static final SimpleDateFormat
DATE_FORMAT
field_14308
DATE_FORMAT
public static final String
EXPIRES_NEVER
field_29787
FOREVER
protected final Date
created
field_14306
creationDate
protected final String
source
field_14304
source
protected final Date
expires
field_14305
expiryDate
protected final String
reason
field_14307
reason

Constructor summary

ModifierConstructor
public (T key, Date creationDate, String source, Date expiryDate, String reason)
protected (T key, com.google.gson.JsonObject json)

Method summary

Modifier and TypeMethod
public Date
getCreated()
method_34885()
getCreationDate()
public String
getSource()
method_14501()
getSource()
public Date
getExpires()
method_14502()
getExpiryDate()
public String
getReason()
method_14503()
getReason()
public Text
getReasonMessage()
method_74541()
getReasonText()
public abstract Text
getDisplayName()
method_14504()
toText()
public boolean
hasExpired()
method_14627()
isInvalid()
protected void
serialize(com.google.gson.JsonObject object)
method_24896(com.google.gson.JsonObject arg0)
write(com.google.gson.JsonObject arg0)