net.minecraft.server.level

public class Ticket

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<Ticket>
a
CODEC
field_56415
CODEC
private final TicketType
b
type
field_14023
type
private final int
c
ticketLevel
field_14025
level
private long
d
ticksLeft
field_55597
ticksLeft

Constructor summary

ModifierConstructor
public (TicketType type, int level)
private (TicketType type, int level, long ticksLeft)

Method summary

Modifier and TypeMethod
public TicketType
a()
getType()
method_14281()
getType()
public int
b()
getTicketLevel()
method_14283()
getLevel()
public void
c()
resetTicksLeft()
method_66022()
refreshExpiry()
public void
d()
decreaseTicksLeft()
method_66023()
tick()
public boolean
e()
isTimedOut()
method_66024()
isExpired()