Posted September 11, 20196 yr The inevitable help topic after my other thread - when I want to request tickets, if I'm requesting player tickets do I have to request them at world load? Or can I request tickets when I need them? If I request a ticket for the same player more than once will I start approaching some limit? Should I store the ticket forever once I've received it for a player? This link's advice seems to be to do it when the world loads, but that was for non-player tickets. A quick search of ForgeChunkManager.requestPlayerTicket shows some people requesting tickets in "onBlockPlacedBy" - is it ok to do that? Edit: Just found out you can "release tickets" back to the system - if I like request a ticket, hold it for a few seconds while I use it and then release it is that fine/encouraged? Edit: Also, this loading call back is a bit confusing - setForcedChunkLoadingCallback says it's "the code to call back when chunks are loaded", but the descriptions of the LoadingCallback say its "when tickets are loaded". Which is it? Do I use these as both ticket loaded callbacks AND forced chunk callbacks? Edited September 12, 20196 yr by stepsword
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.