net.minecraft.server.level

public final class Ticket<T>

implements Comparable<Ticket<?>>

asm
net.minecraft.server.level.Ticket
net.minecraft.class_3228
net.minecraft.server.world.ChunkTicket
net.minecraft.server.level.Ticket

Field summary

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

Constructor summary

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

Method summary

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