net.minecraft.server.level

public class TicketType<T>

agl
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 String
i
name
field_14034
name
f_9450_
private final Comparator<T>
j
comparator
field_14029
argumentComparator
f_9451_
private final long
k
timeout
field_19348
expiryTicks
f_9452_
public static final TicketType<Unit>
a
START
field_14030
START
f_9442_
public static final TicketType<Unit>
b
DRAGON
field_17264
DRAGON
f_9443_
public static final TicketType<ChunkPos>
c
PLAYER
field_14033
PLAYER
f_9444_
public static final TicketType<ChunkPos>
d
FORCED
field_14031
FORCED
f_9445_
public static final TicketType<ChunkPos>
e
LIGHT
field_19270
LIGHT
f_9446_
public static final TicketType<BlockPos>
f
PORTAL
field_19280
PORTAL
f_9447_
public static final TicketType<Integer>
g
POST_TELEPORT
field_19347
POST_TELEPORT
f_9448_
public static final TicketType<ChunkPos>
h
UNKNOWN
field_14032
UNKNOWN
f_9449_

Constructor summary

ModifierConstructor
protected (String name, Comparator<T> argumentComparator, long expiryTicks)

Method summary

Modifier and TypeMethod
public static <T> TicketType<T>
a(String arg0, Comparator<T> arg1)
create(String arg0, Comparator<T> arg1)
method_14291(String arg0, Comparator<T> arg1)
create(String name, Comparator<T> argumentComparator)
m_9462_(String p_9463_, Comparator<T> p_9464_)
public static <T> TicketType<T>
a(String arg0, Comparator<T> arg1, int arg2)
create(String arg0, Comparator<T> arg1, int arg2)
method_20628(String arg0, Comparator<T> arg1, int arg2)
create(String name, Comparator<T> argumentComparator, int expiryTicks)
m_9465_(String p_9466_, Comparator<T> p_9467_, int p_9468_)
public Comparator<T>
a()
getComparator()
method_14292()
getArgumentComparator()
m_9458_()
public long
b()
timeout()
method_20629()
getExpiryTicks()
m_9469_()