* Add LoginPluginMessageBox to allow sending custom login plugin messages
* throw in ConnectionManager because AsyncUtils has a try catch
* Stack requests in AsyncPlayerPreLoginEvent so the user-facing API is scoped to the login stage
* Fix addPluginRequest javadoc
* feat: encapsulate velocityproxy logic, other minor tweaks
* fix: revert velocityproxy changes
---------
Co-authored-by: mworzala <mattheworzala@gmail.com>
* feat: proper passenger position handling for most entities, fix passengers not being applied properly on the client sometimes
* chore: ditch the complex passenger solution as 1.20.5 makes this much simpler
* chore: change EntityViewer to check for a vehicle rather than isViewer, add a test case for this bug
* fix: test only worked in isolation
* chore: revert additional pos allocation
* chore: this instead of vehicle
* Name some magic values, replace getChunkViewDistance with ServerFlag.CHUNK_VIEW_DISTANCE, and respect client view distance settings (by using effective view distance when sending chunks)
* Attempt to fix test
* Preload chunks in test
* Fix OOM error for tests
* Rename constants and skin parts method
* Rename method
* feat: add aerodynamics record and the ability to set horizontal drag
* feat: entity physics simulation overhaul
* fix: made physics utils private, renamed to match other utils
* chore: separate concept of chunks and tps from PhysicsUtils, remove bad PhysicsResult constants
* chore: remove synchronization from PhysicsUtils, SYNCHRONIZE_ONLY_ENTITIES collection > set
* chore: remove extra vec allocations
* chore: improved flyingVelocity test
* chore: add all entities with client side prediction to SYNCRHONIZE_ONLY_ENTITIES, refactor velocity
---------
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
* feat: improve server ticking accuracy, transition to Thread#sleep and compensate for ticks that take too long
* feat: use nano time instead of milliseconds and add compensation for the rare case of the server oversleeping
- Fix invalid lighting being sent to clients
- Add cherry leaves to occludes
- Fix lighting being generated when using loaded lighting
- Send lighting to clients on block changes
- Cleanup unused methods
- Add sky lighting test for short grass
* try catch in SchedulerImpl to individually fail tasks
* Use exception manager
* chore: add a test
---------
Co-authored-by: mworzala <mattheworzala@gmail.com>