net.minecraft.server.level

public class Ticket

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

Field summary

Modifier and TypeField
private final TicketType
a
type
field_14023
type
private final int
b
ticketLevel
field_14025
level
private long
c
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 static Ticket
a(tx arg0)
load(CompoundTag arg0)
method_66020(class_2487 arg0)
fromNbt(NbtCompound nbt)
public void
b(tx arg0)
save(CompoundTag arg0)
method_66021(class_2487 arg0)
writeNbt(NbtCompound nbt)
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()