When using the proposal here here one could, instead of server.scheduler.async
, provide server.scheduler.fromContext(someWorld)
. This is futureproof, maybe add some other context. Initially said method would return one thread/context for whatever world, but when MC changes the internals, one could change the thread/context returned to match Minecrafts’.