net.minecraft.server.players

public abstract class BanListEntry<T>

extends StoredUserEntry<T>

agi
net.minecraft.server.players.BanListEntry
net.minecraft.class_3309
net.minecraft.server.BanEntry
net.minecraft.src.C_89_
net.minecraft.server.players.ExpirableListEntry

Field summary

Modifier and TypeField
public static final SimpleDateFormat
a
DATE_FORMAT
field_14308
DATE_FORMAT
f_10943_
public static final String
b
EXPIRES_NEVER
field_29787
FOREVER
f_143953_
protected final Date
c
created
field_14306
creationDate
f_10944_
protected final String
d
source
field_14304
source
f_10945_
protected final Date
e
expires
field_14305
expiryDate
f_10946_
protected final String
f
reason
field_14307
reason
f_10947_

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()
m_143954_()
public String
b()
getSource()
method_14501()
getSource()
m_10960_()
public Date
c()
getExpires()
method_14502()
getExpiryDate()
m_10961_()
public String
d()
getReason()
method_14503()
getReason()
m_10962_()
public abstract Component
e()
getDisplayName()
method_14504()
toText()
m_8003_()
boolean
f()
hasExpired()
method_14627()
isInvalid()
m_7524_()
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)
m_6009_(com.google.gson.JsonObject arg0)