public static interface ForgeChunkManager.OrderedLoadingCallback extends ForgeChunkManager.LoadingCallback
Modifier and Type | Method and Description |
---|---|
java.util.List<ForgeChunkManager.Ticket> |
ticketsLoaded(java.util.List<ForgeChunkManager.Ticket> tickets,
World world,
int maxTicketCount)
Called back when tickets are loaded from the world to allow the
mod to decide if it wants the ticket still, and prioritise overflow
based on the ticket count.
|
ticketsLoaded
java.util.List<ForgeChunkManager.Ticket> ticketsLoaded(java.util.List<ForgeChunkManager.Ticket> tickets, World world, int maxTicketCount)
tickets
- The tickets that you will want to select from. The list is immutable and cannot be manipulated directly. Copy it first.world
- The worldmaxTicketCount
- The maximum number of tickets that will be allowed.