1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-29 19:59:13 +00:00
Commit Graph

4271 Commits

Author SHA1 Message Date
onebeastchris
b96373a33f Resolve some CDN pack related issues 2025-06-19 22:59:14 +02:00
onebeastchris
baec73d38d Attempt to resolve pack download issues for consoles 2025-06-19 22:02:02 +02:00
onebeastchris
115d709706 Update Bedrock protocol library 2025-06-19 15:20:19 +02:00
onebeastchris
489c4f2e9a Resolve "unable to complete login" issue, fix Geyser-NeoForge not loading
(fixes https://github.com/GeyserMC/Geyser/issues/5605)
2025-06-19 01:52:30 +02:00
onebeastchris
5627107a59 Resolve skin issue on 1.21.90 - goodbye steve, see you with the next skin bug!
Fixes https://github.com/GeyserMC/Geyser/issues/5599
2025-06-17 20:10:20 +02:00
onebeastchris
55d9313967 Register 1.21.90 item/block palettes 2025-06-17 18:25:18 +02:00
onebeastchris
2a4e76a810 Disable locator bar until 1.21.6 is fully supported 2025-06-17 17:07:59 +02:00
chris
871390b803 1.21.90 support (#5589)
* Initial changes for 1.21.90

* Update Bedrock protocol, fix camera present serializer

* yeet debug

* Set auth chain data

* Update dependencies, add bstats metrics for haproxy usage
2025-06-17 03:23:53 +02:00
oryxel
42ff733f2a Fix: pose de-sync (#5591)
* Fixed pose de-sync.

* Check for last pose.
2025-06-16 12:40:26 +02:00
onebeastchris
ec7a3dbd2f Fix 2-am-typo resulting in incorrect ping values 2025-06-16 02:43:30 +02:00
onebeastchris
f531a3624c Resolve issue with querying session ping after it disconnected 2025-06-16 02:40:58 +02:00
Tim203
17baaf6721 Fix the remaining concurrency issues with scoreboard display slots (#5592)
With the scoreboard updater thread, there can be multiple threads editing specific bits which can result in concurrency issues. This PR aims to remove those remaining concurrency issues.
2025-06-14 15:36:39 +02:00
onebeastchris
b3716c77b1 Don't load resource pack registry twice 2025-06-09 16:38:02 +02:00
onebeastchris
d2fb027a8a Improve error handling when downloading remote resource packs 2025-06-09 00:46:51 +02:00
chris
726bd86d92 Feature: Forward commands with no permission to the backend server on Standalone/ViaProxy (#5566)
* Feature: Forward commands with no permission to the backend server on Standalone/ViaProxy

* Address review
2025-06-08 18:39:10 +02:00
onebeastchris
8442728677 Fix: Climbing down on scaffolding on consoles 2025-06-08 18:25:31 +02:00
Tim203
87706cc16f Fixed a concurrency issue with sidebar scoreboard (#5583)
Fixed a concurrency issue for sidebars without using locks, by using a second list.
There was also a potential problem with the one-list solution, which would be that technically scores (unless you put the lock around the whole newDisplayScores block ofc.)

Fixes #5578
2025-06-08 12:15:43 +02:00
Eclipse
d63e82cf24 Catch slot IDs under 0 when checking inventory bounds in set slot packet (#5579)
* Catch slot IDs under 0 when checking inventory bounds in set slot packet and improve log messages

* This should probably be an above or equals check
2025-06-08 02:01:47 +02:00
BugTeaON
bf53c54e6f Escape curly braces correctly in translation strings; remove default empty translation fallback in the text component (#5559)
* Escape curly braces correctly in translation strings

* Default translation fallback should not appear in the text component

* Only left braces need to be escaped

* Some adjustments

* Move the escapeBraces method to the MessageTranslator class

* Improve code readability

* Use complied static Pattern instead of Pattern.matches

* Improve some code comments

* Use regular expression complelety to escape braces instead of the inefficient, low-readablity escapeBraces method

* Add some tests about escaping curly braces in translatable strings

* Check instance availability to avoid exception during testing
2025-06-08 01:54:08 +02:00
chris
0237579ad3 Add ReceiptPacket system property (#5580) 2025-06-06 00:54:56 +02:00
Eclipse
955aa3aee0 Fix incorrectly converting MCPL to Geyser holdersets (#5577) 2025-06-05 14:55:16 +02:00
onebeastchris
efb52dc8f9 Reset inventories on world switch 2025-06-05 14:46:19 +02:00
oryxel
f104a3d4ca Fix non-vanilla block breaking (#5575)
* Keep track of non-vanilla block break.

* Just use simple BitSet registry.
2025-06-04 20:34:41 +02:00
onebeastchris
f3656f7dac Stop beacon opening earlier, improve debug logging 2025-06-03 18:09:23 +02:00
onebeastchris
4f413d3a01 Fix: Egg particles for blue/brown eggs
Fixes https://github.com/GeyserMC/Geyser/issues/5571
2025-06-02 12:34:20 +02:00
Alex
e8f140972e Update supported Bedrock versions in README (1.21.81, 1.21.82) (#5572) 2025-06-01 14:28:35 +02:00
oryxel
c80a8a7c41 Don't send item use when player is already using item (#5567) 2025-05-31 11:53:18 +02:00
onebeastchris
8555fdeb84 Don't attempt to use shield while climbing down scaffolding, resolve https://github.com/GeyserMC/Geyser/issues/5552 2025-05-29 22:25:44 +02:00
onebeastchris
ccba72afe2 Fix issue with ResourcePack#builder(PackCodec) 2025-05-29 15:20:19 +02:00
chris
a0ae4e60d0 Don't set deprecated property on area-effect-cloud entities (#5564)
This should avoid black particles when none are set.
2025-05-28 20:51:56 +02:00
chris
7c47459609 Resolve memory usage issues related to Netty 4.2 update (#5536)
* More proper workaround for direct connection using Netty 4.2

* Add check for outdated Velocity

* BungeeCord support for Netty 4.2

* Use pooled allocator

* Small cleanup: only one allocator system property check, pin comment to static commit

* Set allocator type on Standalone using netty system property

* Don't mess with allocator, both BungeeCord and Velocity set it globally

* Temporarily remove io_uring support

In order to support io_uring transport after the 4.2 update, we'd need to separately handle 4.1 and 4.2 event loop group creation

* Add compileOnly netty io_uring dependency for Geyser-BungeeCord

* Exclude old incubator io_uring dependency on geyser-standalone

---------

Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2025-05-22 17:43:02 +02:00
Eclipse
d0be6d9c48 Use the right javaId when registering non-vanilla block states (#5553) 2025-05-17 17:59:40 +02:00
Oryxel
f616230c52 Fix: boat ground status and position (#5549) 2025-05-16 11:27:03 +02:00
onebeastchris
b705a715d6 Improve unknown host exception wrapping
Related to https://github.com/GeyserMC/Geyser/issues/5542
2025-05-15 21:47:34 +02:00
chris
472ed8c6ce Temporarily revert #5529 (#5550)
This reverts commit 24291ab7a6.
2025-05-12 22:45:10 +02:00
Oryxel
24291ab7a6 Improve teleport validation system (#5529)
* Better teleport handling system.

* Accept teleport right away due to how Geyser handle stuff.

* Fixed build error (oops).

* Requested changes.

* Use entity.position() instead in JavaPlayerPositionTranslator.
2025-05-12 15:03:13 +02:00
onebeastchris
e316fc1461 Fix issue with mobile clients being unable to use shields properly 2025-05-12 11:43:37 +02:00
chris
bcae2206c9 Various movement fixes: Send elytra gliding states properly, send sprinting input earlier, don't allow sprinting on water (#5518)
* Prevent elytra gliding to match Java client behavior

To-Do's:
- Firework boosting is still very broken
- see how BDS handles this mess

Other changes:
Don't send player's onGround when riding vehicles
Support null values for data components (removal of default components)
Fix possible NPE in JavaSetEquipmentTranslator with debug mode enabled

* Add bounding box height update when a player starts gliding, send sprinting state at correct time

* Properly track spin attack - should fix <https://github.com/GeyserMC/Geyser/issues/5262> - and don't allow the Bedrock client to stop gliding mid-air

* also correct pose

* temp

* Cleanup

* Send sprinting state before inputs, resolve issue mentioned in https://github.com/GeyserMC/Geyser/issues/1705

* send sprinting after inputs

* Send vehicle input before sprinting which is sent before player movement

* Slight cleanup

* Rename setDimensions -> setDimensionsFromPose

* setSpinAttack should be protected

* Resolve mobile players being unable to climb down scaffolding

* Don't send STOP_SPRINTING packet if we weren't sprinting
2025-05-11 20:58:37 +02:00
onebeastchris
bfbbf6ce37 Update 1.21.80 item palettes, fixes https://github.com/GeyserMC/Geyser/issues/5535 2025-05-09 08:14:44 +02:00
Aurorawr
503087af1c Add Vibrant Visuals support (#5534) 2025-05-07 12:33:25 -07:00
onebeastchris
b296f1039e Attempt to fix player list not listing players 2025-05-06 20:30:30 +02:00
chris
f40eb7497a Remove leftover debug 2025-05-06 19:49:12 +02:00
chris
c3824990d1 1.21.80 (#5525)
* Initial 1.21.80 changes

* Properly set boat rowing animation, update readme, don't apply form fix to 1.21.80

* Fix <https://github.com/GeyserMC/Geyser/issues/5512>

Forms that are closed don't need response handling
2025-05-06 19:12:45 +02:00
rtm516
0edd85c7b2 Use molang to fix falling leaves & firework particles' color (#5522)
* Use molang to fix firework particle color

* Fix leaf particle color
2025-05-05 20:14:44 +02:00
rtm516
3c51e46d6e Set default player head rarity (#5514)
* Default player head rarity

* Use getOrDefault and correct fallback
2025-05-04 13:12:38 +02:00
rtm516
3021e0cd7b Remove level event type from firework (#5516)
Mappings update
2025-05-03 12:33:44 +02:00
rtm516
ec6977b8bd Load language overrides with UTF-8 encoding (#5515) 2025-05-03 09:03:19 +02:00
Phillipp Glanz
b06f1ed279 Fix: optimize pattern compilation for java to reduce memory (#5508) 2025-04-29 14:01:14 +02:00
Kas-tle
84aac67994 Ensure no more than 1000 entries are in a PlayerListPacket (#5507)
* Ensure no more than 1000 entries are in a PlayerListPacket

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Technically previous would fail for e.g. exactly 2000

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2025-04-27 01:48:26 -07:00
onebeastchris
c5fd3d485b Merge remote-tracking branch 'upstream/master' 2025-04-22 15:53:56 +02:00