1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-22 00:09:32 +00:00
Commit Graph

4334 Commits

Author SHA1 Message Date
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
Eclipse
d7127d48ed Correctly translate messages in new commands 2025-06-06 15:13:55 +00:00
Eclipse
44d229a4aa Use translation strings for everything that should be translated 2025-06-06 14:57:29 +00:00
Eclipse
05f1bf2135 Add methods to open quick actions and pause screen additions dialog tags and add command to open quick actions dialog tag 2025-06-06 14:24:26 +00:00
Eclipse
946c1615ea JavaRegistryKey refactor, add command to open custom options dialog 2025-06-06 11:55:51 +00:00
Eclipse
8fe102c2ff Turn daylight cycle off when showing configuration dialog, send empty chunks when starting configuration 2025-06-06 11:53:01 +00:00
Eclipse
c92c706558 Implement dialog configuration packet 2025-06-06 10:32:23 +00:00
chris
0237579ad3 Add ReceiptPacket system property (#5580) 2025-06-06 00:54:56 +02:00
Eclipse
ff65d9040b Proper URL form 2025-06-05 15:20:16 +00:00
Eclipse
68e3667f5f Implement server_links type 2025-06-05 15:05:38 +00:00
Eclipse
2e699f4cee Implement dialog_list type, small refactors with button dialogs 2025-06-05 14:29:10 +00:00
Eclipse
77b704bf23 Add support for inline elements to GeyserHolderSet 2025-06-05 13:58:43 +00: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
Eclipse
9fbc1d3ab1 Implement clear dialog packet 2025-06-05 12:35:47 +00:00
Eclipse
40a922f3b5 Small refactor 2025-06-05 12:34:45 +00:00
Eclipse
a71eb5e086 Add input validation, fix forms with inputs not having labels 2025-06-05 12:24:14 +00:00
Eclipse
b5d1f70186 More refactors and write some documentation; implement "confirm command execution" screen 2025-06-04 20:17:48 +00: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
Eclipse
b708c17600 Implement "waiting for response" screen 2025-06-04 17:41:14 +00:00
Eclipse
2bb9cf664d Fix various things relating to closing and switching of dialogs; implement 2 after-actions; implement exit button on button list dialogs; some cleanup 2025-06-04 16:49:21 +00:00
onebeastchris
f3656f7dac Stop beacon opening earlier, improve debug logging 2025-06-03 18:09:23 +02:00
Eclipse
71cf2ce254 The other dialog inputs, too 2025-06-02 20:12:40 +00:00
Eclipse
779d54812b Work on dialog inputs and dynamic actions 2025-06-02 19:14:27 +00:00
Eclipse
50f7fbbc2e Use simple form when there are no inputs 2025-06-02 17:44:11 +00:00
Eclipse
b3d945dbf8 Multi action dialog 2025-06-02 17:34:23 +00:00
Eclipse
c40fca6fae Dialogs with buttons and stuff 2025-06-02 15:57:28 +00:00
Eclipse
74c43cc1da Work on dialog actions, small JavaRegistryKey refactor 2025-06-02 15:57:15 +00: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
Eclipse
6a6706ca1e Start working on dialog translation 2025-06-02 07:27:36 +00:00
onebeastchris
e6668b60b3 It is alive! Preliminarily dropped support for 1.21.50/60, lots of todo's 2025-06-01 21:11:08 +02:00
onebeastchris
a8f9cc229c Initial 1.21.6 changes 2025-06-01 20:21:04 +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