net.minecraft.server.players

public abstract class BanListEntry<T>

extends StoredUserEntry<T>

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

Field summary

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