net.minecraft.server.level

public class Ticket

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

字段概要

修饰符与类型字段
public static final com.mojang.serialization.MapCodec<Ticket>
a
CODEC
field_56415
CODEC
f_381342_
private final TicketType
b
type
field_14023
type
f_9420_
private final int
c
ticketLevel
field_14025
level
f_9421_
private long
d
ticksLeft
field_55597
ticksLeft
f_380725_

构造函数概要

修饰符构造函数
public (TicketType type, int level)
private (TicketType type, int level, long ticksLeft)

方法概要

修饰符与类型方法
public TicketType
a()
getType()
method_14281()
getType()
m_9428_()
public int
b()
getTicketLevel()
method_14283()
getLevel()
m_9433_()
public void
c()
resetTicksLeft()
method_66022()
refreshExpiry()
m_384089_()
public void
d()
decreaseTicksLeft()
method_66023()
tick()
m_386456_()
public boolean
e()
isTimedOut()
method_66024()
isExpired()
m_384363_()