net.minecraft.server.level

public final class Ticket<T>

implements Comparable<Ticket<?>>

zh
net.minecraft.server.level.Ticket
net.minecraft.class_3228
net.minecraft.server.world.ChunkTicket
net.minecraft.world.server.Ticket
net.minecraft.server.v1_16_R1.Ticket

Field summary

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

Constructor summary

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

Method summary

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