Package net.minecraft.world.server
Class TicketType<T>
java.lang.Object
net.minecraft.world.server.TicketType<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Comparator<T>
static final TicketType<Unit>
static final TicketType<ChunkPos>
static final TicketType<ChunkPos>
private final String
static final TicketType<ChunkPos>
static final TicketType<BlockPos>
static final TicketType<Integer>
static final TicketType<Unit>
private final long
static final TicketType<ChunkPos>
-
Constructor Summary
ModifierConstructorDescriptionprotected
TicketType
(String p_i51521_1_, Comparator<T> p_i51521_2_, long p_i51521_3_) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TicketType<T>
create
(String p_219484_0_, Comparator<T> p_219484_1_) static <T> TicketType<T>
create
(String p_223183_0_, Comparator<T> p_223183_1_, int p_223183_2_) long
timeout()
toString()
-
Field Details
-
name
-
comparator
-
timeout
private final long timeout -
START
-
DRAGON
-
PLAYER
-
FORCED
-
LIGHT
-
PORTAL
-
POST_TELEPORT
-
UNKNOWN
-
-
Constructor Details
-
TicketType
-
-
Method Details
-
create
-
create
public static <T> TicketType<T> create(String p_223183_0_, Comparator<T> p_223183_1_, int p_223183_2_) -
toString
-
getComparator
-
timeout
public long timeout()
-