net.minecraft.server.level

public final class Ticket<T>

implements Comparable<Ticket<?>>

afs
net.minecraft.server.level.Ticket
net.minecraft.class_3228
net.minecraft.server.world.ChunkTicket
net.minecraft.src.C_17_
net.minecraft.server.level.Ticket

Field summary

Modifier and TypeField
private final TicketType<T>
a
type
field_14023
type
f_9420_
private final int
b
ticketLevel
field_14025
level
f_9421_
private final T
c
key
field_14022
argument
f_9422_
private long
d
createdTick
field_14024
tickCreated
f_9423_

Constructor summary

ModifierConstructor
protected (TicketType<T> type, int level, T argument)

Method summary

Modifier and TypeMethod
public int
a(afs<?> arg0)
compareTo(Ticket<?> arg0)
method_14285(class_3228<?> arg0)
compareTo(ChunkTicket<?> arg0)
compareTo(C_17_<?> arg0)
public TicketType<T>
a()
getType()
method_14281()
getType()
m_9428_()
public int
b()
getTicketLevel()
method_14283()
getLevel()
m_9433_()
protected void
a(long arg0)
setCreatedTick(long arg0)
method_23956(long arg0)
setTickCreated(long tickCreated)
m_9429_(long arg0)
protected boolean
b(long arg0)
timedOut(long arg0)
method_20627(long arg0)
isExpired(long currentTick)
m_9434_(long arg0)