net.minecraft.server

public abstract class BanEntry<T>

extends ServerConfigEntry<T>

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

Field summary

Modifier and TypeField
public static final SimpleDateFormat
DATE_FORMAT
DATE_FORMAT
field_14308
DATE_FORMAT
public static final String
EXPIRES_NEVER
EXPIRES_NEVER
field_29787
FOREVER
protected final Date
created
created
field_14306
creationDate
protected final String
source
source
field_14304
source
protected final Date
expires
expires
field_14305
expiryDate
protected final String
reason
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()
getCreated()
method_34885()
getCreationDate()
public String
getSource()
getSource()
method_14501()
getSource()
public Date
getExpires()
getExpires()
method_14502()
getExpiryDate()
public String
getReason()
getReason()
method_14503()
getReason()
public Text
getReasonMessage()
getReasonMessage()
method_74541()
getReasonText()
public abstract Text
getDisplayName()
getDisplayName()
method_14504()
toText()
boolean
hasExpired()
hasExpired()
method_14627()
isInvalid()
protected void
serialize(com.google.gson.JsonObject object)
serialize(com.google.gson.JsonObject object)
method_24896(com.google.gson.JsonObject arg0)
write(com.google.gson.JsonObject arg0)