Waystones (Fabric Edition)

Waystones (Fabric Edition)

3M Downloads

Consider off-thread Chunkloading before Teleport

BlayTheNinth opened this issue ยท 0 comments

commented

A somewhat frequent report with Waystones is that servers are experiencing lagspikes or clients are falling through the ground on teleports.

Since nowadays chunk loading does support CompletableFuture to some extent, it might be time to look into whether the teleport's chunk load could be initiated off the main thread.

Some things to watch out for:

  • what if player moves away
  • what if the waystone is broken
  • what if player drops the stone or scroll
  • what if player uses the stone or scroll again
  • what if player dies
  • what if leashed entities or pets change