类的使用
net.minecraft.server.world.ChunkTicketType
-
使用ChunkTicketType的程序包 程序包 说明 net.minecraft.server.world -
-
net.minecraft.server.world中ChunkTicketType的使用
声明为ChunkTicketType的net.minecraft.server.world中的字段 修饰符和类型 字段 说明 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.返回ChunkTicketType的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 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()参数类型为ChunkTicketType的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 <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)参数类型为ChunkTicketType的net.minecraft.server.world中的构造器 构造器 说明 ChunkTicket(ChunkTicketType<T> type, int level, T argument)
-