net.minecraft.server.level

public class TicketType<T>

asn
net.minecraft.server.level.TicketType
net.minecraft.class_3230
net.minecraft.server.world.ChunkTicketType
net.minecraft.server.level.TicketType

Field summary

Modifier and TypeField
private final String
i
name
field_14034
name
private final Comparator<T>
j
comparator
field_14029
argumentComparator
private final long
k
timeout
field_19348
expiryTicks
public static final TicketType<Unit>
a
START
field_14030
START
public static final TicketType<Unit>
b
DRAGON
field_17264
DRAGON
public static final TicketType<ChunkPos>
c
PLAYER
field_14033
PLAYER
public static final TicketType<ChunkPos>
d
FORCED
field_14031
FORCED
public static final TicketType<BlockPos>
e
PORTAL
field_19280
PORTAL
public static final TicketType<ChunkPos>
f
ENDER_PEARL
field_54211
ENDER_PEARL
public static final TicketType<Integer>
g
POST_TELEPORT
field_19347
POST_TELEPORT
public static final TicketType<ChunkPos>
h
UNKNOWN
field_14032
UNKNOWN

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)
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)
public Comparator<T>
a()
getComparator()
method_14292()
getArgumentComparator()
public long
b()
timeout()
method_20629()
getExpiryTicks()