Skip to content

Consider off-thread Chunkloading before Teleport #888

@BlayTheNinth

Description

@BlayTheNinth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew features or improvements to existing featuresNeeds DiscussionThis may be considered in the future and I'm looking for more opinions

    Projects

    Status

    📝 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions