Create an unordered stack with objects that have indexes inside. Addictional stack index points to the top of used elements stack. When deleting VBO just remove it from the used stack and "transfer to ununsed" stack. Below working java code as a proof of concept
Isn't the fix so simple as setting player's lastPosX = teleportX etc. to prevent animation when packet arrives? This change shouldn't break any entity trackers, I hope.
Detailed info:
Create an unordered stack with objects that have indexes inside. Addictional stack index points to the top of used elements stack. When deleting VBO just remove it from the used stack and "transfer to ununsed" stack. Below working java code as a proof of concept
Isn't the fix so simple as setting player's lastPosX = teleportX etc. to prevent animation when packet arrives?
This change shouldn't break any entity trackers, I hope.