* Add paper platform
* Fix package name for Paper module
* Load adventure-nbt library on paper
* Add missing license header
---------
Co-authored-by: Jones <admin@jonesdev.xyz>
There's a bug in Minecraft where, when no language seems to be selected, the client may send invalid data to the server. As the length of the locale string is already capped in Sonar either way, we are not required to double-check the decoded string using a regex.
* Add 1.21.5-pre1 protocol version ID
* Add 1.21.5-pre2 protocol version ID
* Start implementing new packet IDs
* Bump setup-gradle from v3 to v4
* Support 1.21.5-rc1 protocol version ID
* [wip] Implement 1.21.5 registry
* Something must have gone wrong while merging
* Support 1.21.5 protocol version ID
* 1.21.5 Support (#459)
* Update registry codec for 1.21.5
* Update mapping id for 1.21.5
* Fix chunk encoding + why this is needed.
* Fix `SystemChatPacket` decoding on 1.21.5
* Clean up entries in 1.21.5 codec
---------
Co-authored-by: Akkariin <fallencrystal@outlook.com>
* Add Brazilian Portuguese (pt-BR) translations
- Created translation files for Brazilian Portuguese:
- `webhook/pt-BR.yml`
- `messages/pt-BR.yml`
- `config/pt-BR.yml`
This contribution adds support for Brazilian Portuguese, enhancing accessibility for Portuguese-speaking users.
* Add extended support for pt-br (ISO)
* Ignore casing in language codes
---------
Co-authored-by: Jones <admin@jonesdev.xyz>
* Add missing server protocol versions
* Add 1.21.4 client protocol version
* Fix SetHeldItemPacket for 1.21.4
* Fix codestyle issue caused by the merge
* Fix CI build error
* 1.21.4-pre1 support (#415)
* Update 1.21.4 protocol version to pre-release 1
* Add 1.21.4 registry
* Optimize the size of the `codec_1_21_2.nbt` registry.
* Update entity/item/block id mapping for 1.21.4-pre1
* Update packet registry for 1.21.4-pre1
* Add `onGround` field for `VehicleMovePacket` decode on 1.21.4-pre1.
* Minecraft 1.21.4-pre3 Support
* Minecraft 1.21.4-rc3 Support
* Fix VehicleMovePacket being broken for 1.21.3-
* Update codec for 1.21.4(-rc3)
* Fix 1.21.4 codec and protocol version
---------
Co-authored-by: Akkariin <fallencrystal@outlook.com>
* feat: register 1.21.2 protocol ID
* Fix LoginSuccessPacket for 1.21.2
* Backport changes from https://github.com/jonesdevelopment/sonar/pull/370/files#diff-4e3d725f29d513f2f57f369660b93a7ee1d6414004158562736e2e2976fdf121
* Use Velocity's `writeBinaryTag` method
* Rename some variables for clarity
* Use Velocity's version comparison methods
* Add missing signature checks for 1.19-1.19.2
* Simplify uuid reading in LoginStartPacket
* Add missing chat timestamp checks
* Recode JoinGame packet (and dimensions)
* Add particleStatus to ClientInformationPacket
* Fix teleport incompatibilities on 1.16-1.16.5
* Fix invalid Y position handling
* Remove clientbound array length check
* Improve readability of ChunkDataPacket
* Set default write-timeout to 15000
* Set default rejoin-delay to 5000
* [wip] FallbackVehicleHandler 1.21.2 Support
* Recode the entire vehicle handler
* Fix lag compensation in the vehicle check
* Fix previous merge conflicts (origin/main)
* Inline static strings for better readability
* Remove debugging in vehicle handler
* Set default write-timeout to 10000
* Reduce the number of static imports
* Strictly exempt Geyser from PM/CS checks
* Micro-optimize Geyser check
* Remove unnecessary variable assignment
* Fix some false positives in the vehicle check
* 1.21.2-pre4 Support (#397)
* packet id mapping. tags. pre-3 protocol version. empty codec.
* Fix build. Added `codec_1_21_2.nbt` generated by `NBTGenerator`
* Fix `SetPlayerPositionRotationPacket` encode for 1.21.2-pre3
* Fix wrong `encodeOnly` in client bound KeepAlive registry
* Small codestyle improvements
* Fix `ChunkDataPacket` encode for 1.21.2-pre3
* Fix missing packet registry.
* Fix entity type id for 1.21.2-pre3
* Fix wrong map component id for 1.21.2-pre3
* Add 1.21.2-pre3 block mapping.
* Remove update tags packet. (Only affect crafting recipes)
* Remove tag registry.
* Fix and improve vehicle teleport logic for 1.21.2-pre3
* Set `exceptTeleport` to false after received `TeleportConfirm`
* Fix typo for `expectTeleport`
* Minor codestyle changes
* Fix unexpected behavior in vehicle checks.
* Remove debug log
* Simply fix gravity checks for 1.21.2-pre3
* Change protocol version to pre4
* Fix wrong `encodeOnly` state in packet registry
* Fix some previously introduced merging issues
* Update to 1.21.2-pre5
* Fix possible bug in protocol handler
* Fix wrong `encodeOnly` state
---------
Co-authored-by: Jones <admin@jonesdev.xyz>
* Fix KeepAlive check not working on 1.20.2+
* Don't cap KeepAlive ID in pre-join
* Small codestyle improvements
* Fix a false positive in the vehicle check
* Remove tailing whitespace
* Minecraft 1.21.2-rc1 support
* Minecraft 1.21.2 support
---------
Co-authored-by: Akkariin <fallencrystal@outlook.com>