net.minecraft.server.level

public record TicketType

asi
net.minecraft.server.level.TicketType
net.minecraft.class_3230
net.minecraft.server.world.ChunkTicketType
net.minecraft.src.C_18_

Field summary

Modifier and TypeField
private final long
j
timeout
comp_3474
expiryTicks
f_9452_
private final boolean
k
persist
comp_3475
persist
f_382419_
private final TicketType$TicketUse
l
use
comp_3476
use
f_381519_
public static final long
a
NO_TIMEOUT
field_55598
NO_EXPIRATION
f_382664_
public static final TicketType
b
START
field_14030
START
f_9442_
public static final TicketType
c
DRAGON
field_17264
DRAGON
f_9443_
public static final TicketType
d
PLAYER_LOADING
field_55599
PLAYER_LOADING
f_379874_
public static final TicketType
e
PLAYER_SIMULATION
field_55600
PLAYER_SIMULATION
f_381711_
public static final TicketType
f
FORCED
field_14031
FORCED
f_9445_
public static final TicketType
g
PORTAL
field_19280
PORTAL
f_9447_
public static final TicketType
h
ENDER_PEARL
field_54211
ENDER_PEARL
f_349418_
public static final TicketType
i
UNKNOWN
field_14032
UNKNOWN
f_9449_

Constructor summary

ModifierConstructor
public (long persist, boolean arg1, TicketType$TicketUse arg2)

Method summary

Modifier and TypeMethod
private static TicketType
a(String arg0, long arg1, boolean arg2, asi$a arg3)
register(String arg0, long arg1, boolean arg2, TicketType$TicketUse arg3)
method_66026(String arg0, long arg1, boolean arg2, class_3230$class_10558 arg3)
register(String id, long expiryTicks, boolean persist, ChunkTicketType$Use use)
m_386092_(String p_395985_, long p_395702_, boolean p_397946_, C_18_$C_379106_ arg3)
public boolean
a()
doesLoad()
method_66025()
isForLoading()
m_384301_()
public boolean
b()
doesSimulate()
method_66027()
isForSimulation()
m_384213_()
public boolean
c()
hasTimeout()
method_66028()
canExpire()
m_388648_()
public long
d()
timeout()
comp_3474()
expiryTicks()
f_9452_()
public boolean
e()
persist()
comp_3475()
persist()
f_382419_()
public TicketType$TicketUse
f()
use()
comp_3476()
use()
f_381519_()