This also implements blocking block breaking & attacking entities while steering boats to match the Java clients behavior.
Further, it now also updates the shifting state before sending inputs to the Java client, also matching behavior there.
* Fix https://github.com/GeyserMC/Geyser/issues/4926
* Extend the RakServerRateLimiter, now that it is possible
* Update core/src/main/java/org/geysermc/geyser/network/netty/handler/RakGeyserRateLimiter.java
* cast to int
* Work on closing inventories
* Test more container types, add very hacky player container close workaround
* Only send close container packet to Java edition when needed
* Adjust warning to hopefully find where desync issues occur
* don't crash when closing lecterns
* remove debug logging
* Don't send container close packet to the Java server when not needed, mainly for fake lecterns
* Add simple translator for move minecart packet
* Cleanup code
* This could be cleaned up even more
* Implement minecart lerping
* Use ClientboundUpdateEnabledFeaturesPacket to set experimental minecart behavior
* Move experiment checking to a per-session check
---------
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
* initial changes
* More work on 1.21.60's fun changes
* I misread 😅
* Use 1.21.60 mappings for updated item components
* Fix: Creative up/down flight
---------
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
* feat: send close form packet when receiving empty form data
* use session#closeForm
---------
Co-authored-by: Roch Blonndiaux <contact@roch-blondiaux.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
* Bundle support
* Touchups
* Correct bundle mapping
* Grabbing a bundle from creative mode does work
* Fix inserting items that already exist in a bundle
* Add bundle drop workaround
* Address review
* Show custom effects information in HUD, and be able to hide it using hide_additional_tooltip component
* Make vanilla default components no longer affect the translation of custom name (Fix item_name component not work)
* Fix book title display in tooltips of shulker box
* Fix colored item name display in tooltips of shulker box
* Add some code comments
* Block vanilla potion name translation when has hide_additional_tooltip component
* Add some brackets
* Add extension update folder
* Check the update folder exists before trying to use it
* Remove old jars under different names for the same extensions
* Store file path to save on calls
* Fix storing path
* Update languages
* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java
Co-authored-by: chris <github@onechris.mozmail.com>
* Only pull data from the map once
* Update core/src/main/java/org/geysermc/geyser/extension/GeyserExtensionLoader.java
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
* Move to consumer function for processing extension folders
* Add back some comments
* Allow cleanup of multiple old extensions
* Address review comments
* Tidy logger calls
---------
Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
* Fix for display entity nametags
* Added check
* Moved lines count to TextDisplayEntity class
Removed useless offset
* Reset lines when text is null
* Conversation changes
* Changed y offset formula
Removed space
* Played around with the yOffset a bit
---------
Co-authored-by: Tim203 <mctim203@gmail.com>