* Initial work on y-axis simulation fix.
* More accurate entity set motion translation.
* Less flagging when taking knockback.
* Exempt these cases.
* Added some comments actually explaining things.
* Minor changes.
* Minor changes.
* Add loading of new util.json mappings
* Remove now unused set
* Switch to loading util mappings through registries
* Add Javadocs for UtilMappings
* Target mappings with util.json
* Add Direction#getUntrusted method for safely extracting directions from packets
* Move incorrect direction ID log to debug, rename piston value to MCPL
* Make Direction#getUntrusted warn again
* Tick BlockBreakHandler to properly send updates when breaking custom blocks/blocks with custom items
* Call tick when receiving input packet, store Direction instead of face ID
* Whoops, only call tick when no block actions are performed
* Feature: Guessing how long block breaking will take
* more changes
* Remove BedrockBlockActions.java
* More progress: Remove code that causes us to send erroneous early block breaking actions
* Further work on insta-break handling
* Add GAME_MASTER_BLOCK check
* Cleanup, this actually works better than expected
* Code cleanup
* Inverted valid check will do invalid things!
* Fix block breaking attribute reading
* Implement adventure mode can_break predicates
* Address reviews, minor changes to wonderful code
* Remove JavaBlockBreakHandler.java in favor of extension
* yeet debug
* Avoid dividing by zero, fix item frame interactions for good
* Also avoid dividing by zero here
---------
Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>
* fix(bedrock-movement): correct void collisions, rotation packets and world border checks
* fix(bedrock-movement): use position.toFloat() directly in world border check
* fix(bedrock-movement): correct odd formatting
* Initial work on fixing the collision system.
* More work.
* Clean this up.
* Oops.
* More work.
* Added comment.
* Start fixing other collisions.
* Properly fix trapdoor collision.
* Properly fix door collision.
* Fixed glass pane/iron bars collision.
* Fixed comment.
* Removed debug print.
* Cleanup the code.
* Revert some dumb changes.
* Move player position down when standing on chest.
* Also state that this resolve#4955.
* Requested changes.
* Update core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Update core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Added a TODO to remove collision expansion if not needed.
---------
Co-authored-by: chris <github@onechris.mozmail.com>
* Moved ServerboundClientTickEndPacket to PlayerAuthInput translator.
* Fixed sprinting packet sending.
* Make yaw rotation match JE behaviour.
* Use the fixed yaw in ServerboundUseItemPacket.
* Fixed swinging order for attacking.
* Update some comments.
Co-authored-by: chris <github@onechris.mozmail.com>
* Requested changes.
* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/entity/player/input/BedrockMovePlayer.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/entity/player/input/BedrockPlayerAuthInputTranslator.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/entity/player/input/BedrockPlayerAuthInputTranslator.java
Co-authored-by: chris <github@onechris.mozmail.com>
---------
Co-authored-by: chris <github@onechris.mozmail.com>
* Initial work.
* Fixed keep velocity desync.
* More work.
* More work.
* Fix this comment.
* Little oopsie.
* Save player motion when updating rotation.
* Implement ROTATE_DELTA.
* More work.
* Fixed void floor properly.
* Always set isOnGround to false if near the void floor.
* Fixed collision correction.
* Also use recalculate position method for this one.
* Make no clip void conditional.
* Update core/src/main/java/org/geysermc/geyser/session/cache/TeleportCache.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Some changes.
* Fix: Collision check, there's more than one bamboo/dripstone block state, and minor touchups
* Use Math.toRadians.
* Oops, make this compile.
* Specify the teleportation cause.
* Only specify the teleport cause if mode is teleport.
---------
Co-authored-by: chris <github@onechris.mozmail.com>