public static interface ChunkTicketManager.OrderedCallback extends ChunkTicketManager.Callback
| Modifier and Type | Method and Description |
|---|---|
List<ChunkTicketManager.LoadingTicket> |
onLoaded(ImmutableList<ChunkTicketManager.LoadingTicket> tickets,
World world,
int maxTickets)
Callback for loading Tickets during world load.
|
onLoadedList<ChunkTicketManager.LoadingTicket> onLoaded(ImmutableList<ChunkTicketManager.LoadingTicket> tickets, World world, int maxTickets)
During this callback you cannot associate chunks to tickets. This callback gets all loaded non-player tickets. The returned list will be truncated to maxTickets after this callback is called, and and tickets absent from the list will be released.
tickets - The list of loaded ticketsworld - The world tickets were loaded formaxTickets - The maximum tickets allowed for this plugin