Uses of Class
net.minecraft.server.world.ChunkTicketType
| Package | Description |
|---|---|
| net.minecraft.server.world |
-
Uses of ChunkTicketType in net.minecraft.server.world
Fields in net.minecraft.server.world declared as ChunkTicketType Modifier and Type Field Description static ChunkTicketType<Unit>ChunkTicketType. DRAGONUsed by the ender dragon to load the central end island during the boss battle.static ChunkTicketType<ChunkPos>ChunkTicketType. FORCEDUsed to force load chunks.static ChunkTicketType<ChunkPos>ChunkTicketType. LIGHTstatic ChunkTicketType<ChunkPos>ChunkTicketType. PLAYERstatic ChunkTicketType<BlockPos>ChunkTicketType. PORTALUsed by a nether portal to load chunks in the other dimension.static ChunkTicketType<Integer>ChunkTicketType. POST_TELEPORTUsed to load the chunks at the destination of teleportation.static ChunkTicketType<Unit>ChunkTicketType. STARTprivate ChunkTicketType<T>ChunkTicket. typestatic ChunkTicketType<ChunkPos>ChunkTicketType. UNKNOWNRepresents a type of ticket that has an unknown cause for loading chunks.Methods in net.minecraft.server.world that return ChunkTicketType Modifier and Type Method Description static <T> ChunkTicketType<T>ChunkTicketType. create(String name, Comparator<T> comparator)Creates a new ticket type that does not expire.static <T> ChunkTicketType<T>ChunkTicketType. create(String name, Comparator<T> comparator, int expiryTicks)Create a new ticket type that expires after an amount of ticks.ChunkTicketType<T>ChunkTicket. getType()Methods in net.minecraft.server.world with parameters of type ChunkTicketType Modifier and Type Method Description <T> voidChunkTicketManager. addTicket(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument)<T> voidServerChunkManager. addTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)Adds a chunk ticket to the ticket manager.<T> voidChunkTicketManager. addTicketWithLevel(ChunkTicketType<T> type, ChunkPos pos, int level, T argument)<T> voidChunkTicketManager. removeTicket(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument)<T> voidServerChunkManager. removeTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)Removes a chunk ticket from the ticket manager.<T> voidChunkTicketManager. removeTicketWithLevel(ChunkTicketType<T> type, ChunkPos pos, int level, T argument)Constructors in net.minecraft.server.world with parameters of type ChunkTicketType Constructor Description ChunkTicket(ChunkTicketType<T> type, int level, T argument)