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
* Add run tasks and remove useless variables
The benefit of run tasks is that proxies like velocity can be prototyped on without using standalone or a GUI. Thus simplifying the prototyping/fixing process.
* Drop runwaterfall
* 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>
* Use vanilla dns resolving
* Update gradle/libs.versions.toml
Co-authored-by: chris <github@onechris.mozmail.com>
* Update gradle/libs.versions.toml
Co-authored-by: chris <github@onechris.mozmail.com>
---------
Co-authored-by: chris <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