SparklyPaper icon indicating copy to clipboard operation
SparklyPaper copied to clipboard

Fix Nether and End portals for non-player entities

Open alexthvest opened this issue 11 months ago • 2 comments

I tried to fix problems with non-player entities and portals cause some will need this functionallity on their server (like we're).

The main problem I found that teleportation ticked on ServerLevel tick thread but entities neeed to check Poi in another world. I use taskScheduler to schedule changeDimension on main thread.

alexthvest avatar Feb 25 '24 00:02 alexthvest