net.minecraft.server.level

public record TicketType

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

Field summary

Modifier and TypeField
private final long
p
timeout
comp_3474
expiryTicks
f_9452_
private final int
q
flags
comp_4411
flags
f_414020_
public static final long
a
NO_TIMEOUT
field_55598
NO_EXPIRATION
f_382664_
public static final int
b
FLAG_PERSIST
field_61096
SERIALIZE
f_411696_
public static final int
c
FLAG_LOADING
field_61097
FOR_LOADING
f_413361_
public static final int
d
FLAG_SIMULATION
field_61098
FOR_SIMULATION
f_413026_
public static final int
e
FLAG_KEEP_DIMENSION_ACTIVE
field_61099
RESETS_IDLE_TIMEOUT
f_412494_
public static final int
f
FLAG_CAN_EXPIRE_IF_UNLOADED
field_61100
CAN_EXPIRE_BEFORE_LOAD
f_411682_
public static final TicketType
g
PLAYER_SPAWN
field_61101
PLAYER_SPAWN
f_414039_
public static final TicketType
h
SPAWN_SEARCH
field_61102
SPAWN_SEARCH
f_411855_
public static final TicketType
i
DRAGON
field_17264
DRAGON
f_9443_
public static final TicketType
j
PLAYER_LOADING
field_55599
PLAYER_LOADING
f_379874_
public static final TicketType
k
PLAYER_SIMULATION
field_55600
PLAYER_SIMULATION
f_381711_
public static final TicketType
l
FORCED
field_14031
FORCED
f_9445_
public static final TicketType
m
PORTAL
field_19280
PORTAL
f_9447_
public static final TicketType
n
ENDER_PEARL
field_54211
ENDER_PEARL
f_349418_
public static final TicketType
o
UNKNOWN
field_14032
UNKNOWN
f_9449_

Constructor summary

ModifierConstructor
public (long flags, int arg1)

Method summary

Modifier and TypeMethod
private static TicketType
a(String arg0, long arg1, int arg2)
register(String arg0, long arg1, int arg2)
method_66026(String arg0, long arg1, int arg2)
register(String id, long expiryTicks, int flags)
m_386092_(String p_395985_, long p_395702_, int arg2)
public boolean
a()
persist()
method_72273()
shouldSerialize()
m_384499_()
public boolean
b()
doesLoad()
method_66025()
isForLoading()
m_384301_()
public boolean
c()
doesSimulate()
method_66027()
isForSimulation()
m_384213_()
public boolean
d()
shouldKeepDimensionActive()
method_72274()
resetsIdleTimeout()
m_415610_()
public boolean
e()
canExpireIfUnloaded()
method_72275()
canExpireBeforeLoad()
m_417329_()
public boolean
f()
hasTimeout()
method_66028()
canExpire()
m_388648_()
public long
g()
timeout()
comp_3474()
expiryTicks()
f_9452_()
public int
h()
flags()
comp_4411()
flags()
f_414020_()