1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

1785 Commits

Author SHA1 Message Date
oryxel
e35aadeb30 Fix boat steering direction for d-pad input. (#6061) 2025-12-18 23:02:20 +01:00
Aurora
2206c1bde2 Merge branch 'master' into feature/1.21.11 2025-12-17 20:42:15 +00:00
Jacob Hofer
d35667a7ec Fix simulated position calculation for azimuth waypoints (#6060)
* Fix simulated position calculation for azimuth waypoints

* Add comment describing position calculation
2025-12-17 21:40:24 +01:00
onebeastchris
5d989f0f53 fix: float -> double y parsing 2025-12-17 16:30:12 +01:00
oryxel
902d6e6600 Merge branch 'master' into feature/1.21.11 2025-12-16 17:30:54 +07:00
oryxel
9a1d42584e Fix: moving a boat using d-pad input. (#6052) 2025-12-16 10:23:52 +00:00
oryxel1
5b6faf9cfb Fixed equipping armour/saddle cause the player to mount. 2025-12-15 20:01:08 +07:00
oryxel1
fbcd4aa329 Address some changes. 2025-12-15 18:04:17 +07:00
Camotoy
18bab1aa9f Fix some Nautilus interactive tags
Adding armor to a Nautilus also causes you to mount it. Needs taking a look at.
2025-12-14 21:26:20 -05:00
oryxel
377283df49 Merge branch 'master' into feature/1.21.11 2025-12-14 02:17:25 +07:00
oryxel
f67cd24af4 Fixed spinnin boat for touch device. (#6043) 2025-12-13 07:43:36 -08:00
oryxel1
a12464f3fe Fixed bee entity anger time metadata. 2025-12-13 13:14:35 +07:00
Kas-tle
e2f873466b Update to Gradle 9 (#5976)
* Update gradle to 9.2.0

* Eclipse doesn't like defining a generic in an instanceof check...

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

* Fix launching on standalone due to Gradle 9 changes

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

* Update indra to v4; fix as many gradle deprecation warnings as possible

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

* Do task order suggestion; remove properties comment line

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

* Fix fabric runServer rask

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

* Fix :neoforge:runServer gradle task

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

* Fix libs.versions.toml

* Fix dupe runtask def

* Update architectury-loom and resolve properties issues

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-12-12 19:04:34 -08:00
Aurora
def5c97e77 Fix ClassCastException 2025-12-12 21:41:17 +00:00
Aurora
4d04c561f7 Merge master 2025-12-12 21:19:15 +00:00
oryxel
65fdb4c8a2 Add support for server-controlled boat/horse riding on 1.21.130+ (#6033)
* Initial work, fixed boat on 1.21.130.

* Implement client-sided horse movement.

* Don't allow jumping in water.

* Fixed horse riding for older version, don't send movement in auth for boat.

* Removed some code.

* Oops, fixed jumping xD.

* Fixed boat paddling animation.

* Some boat fixes

Fix buoyancy
Handle relative move packets in Entity now; fixes vanilla movement
Slightly expand vehicle block cache to account for floating point error; fixes cache misses

* Address review.

---------

Co-authored-by: AJ Ferguson <AJ-Ferguson@users.noreply.github.com>
2025-12-12 21:39:58 +01:00
Aurora
e72b2e164f Fix spear jabbing animation when using integrated pack 2025-12-12 20:04:43 +00:00
oryxel1
a55e47a772 Removed old unused bedrock resources. 2025-12-12 19:04:04 +07:00
oryxel1
f2ad5535dc Fixed nautilus dash cooldown, condition for canUseSlot. 2025-12-12 19:01:35 +07:00
oryxel1
1d3ed4bd0a Fixed nautilus dash progress bar. 2025-12-12 18:39:27 +07:00
oryxel1
189d99c942 Fixed dash view direction. 2025-12-12 18:24:00 +07:00
Aurora
6bfa421c0f Update Integrated Pack to resolve visual issues with the spear 2025-12-11 21:55:34 +00:00
Aurora
8b573ea6e8 Merge branch 'master' into feature/1.21.11 2025-12-11 18:06:14 +00:00
oryxel1
7b92716986 Implement proper nautilus vehicle movement. 2025-12-12 00:08:12 +07:00
oryxel1
5b16f26fc0 Implement nautilus inventory translation. 2025-12-11 22:51:55 +07:00
oryxel
238573536b Fixed nautilus entity crash, correct entity definition. (#6036) 2025-12-11 21:15:37 +07:00
oryxel
88c93d93e1 Added support for stabbing, added missing variant handling, fixed nautilus identifier, removed old protocol code. (#6035) 2025-12-11 13:18:36 +01:00
Eclipse
0082293c73 Write hashers for new data components, still needs testing 2025-12-11 11:23:25 +00:00
basaigh
e1f2c2ca68 Update wolf metadata handling and bump paper run version 2025-12-11 00:28:08 +00:00
onebeastchris
e4c11401db Update protocol to resolve more client crashes on 1.21.130, re-enable commands, bump version 2025-12-10 21:34:00 +01:00
Aurora
dcfb10bc60 Joining on 1.21.11 works! Drops 1.21.90 and 1.21.100 2025-12-10 19:57:07 +00:00
onebeastchris
57c94863d2 Update generated BlockTag, ItemTag and Items classes 2025-12-10 17:32:51 +01:00
onebeastchris
bc8214793e Fix skins not appearing on avatar entities and player heads, update protocol library for further fixes 2025-12-10 17:15:01 +01:00
onebeastchris
0cdd31ea1f Fix client crashing with empty text packets 2025-12-09 19:06:40 +01:00
onebeastchris
14580e89d0 Proper 1.21.130 support, thanks sneaky protocol bump 2025-12-09 18:23:49 +01:00
chris
8a9533f4a5 Support 1.21.130 (#6022)
* Initial 1.21.130 support

* Fix custom block collisions on 1.21.130+, temporarily disable command suggestions

* a bit too much debug

* Update integrated pack

* Update Bedrock protocol / networking libraries

Pulls in:
- a30f21345a
- https://github.com/CloudburstMC/Network/pull/57
2025-12-09 13:05:55 +01:00
onebeastchris
dbed595091 Fix: WorldGuard protected doors being openable for Bedrock players
Some doors just aren't open

Fixes https://github.com/GeyserMC/Geyser/issues/6001
2025-11-25 00:06:15 +01:00
onebeastchris
22414721ed Handle invalid skulls gracefully 2025-11-24 22:16:25 +01:00
onebeastchris
e726b91f08 Fix: "Invalid skin length" issue, code-of-conduct screen not appearing correctly on server switching, InputMode / UiProfile not being read correctly
Fixes https://github.com/GeyserMC/Geyser/issues/5995, fixes https://github.com/GeyserMC/Geyser/issues/5994
2025-11-23 21:28:14 +01:00
Camotoy
473a4a58fd Remove obsolete code 2025-11-22 20:44:04 -05:00
Camotoy
b9a09d2d4f Fix DeviceOS reading in BedrockClientData
This is possibly a Configurate/GSON regression as it appears JSON does not handle ordinal -> enum constant well.
2025-11-22 20:41:03 -05:00
onebeastchris
a49ae8fade Print protocol version in join message 2025-11-21 18:56:44 +01:00
onebeastchris
b7e5f63672 Use new auth payload 2025-11-21 18:22:51 +01:00
onebeastchris
c0b4579436 Don't add invalid packet handler twice to subclient sessions 2025-11-21 18:09:04 +01:00
rtm516
846e0b5ce0 Fix trailing formatting characters causing OOB (#5990)
* Fix trailing formatting characters causing OOB

* Fix typo
2025-11-20 15:05:19 +01:00
chris
53596d05bc API 2.9.1: Support 1.21.124, add tint/isotropic method to custom block material, allowing updating entity properties immediately (#5991)
* Prepare for 1.21.124

* Add tint method and isotropic properties to block material instances (#5977)

* Add tint method and isotropic properties to block material instances

* Check if tint method is null before including it

* Lets cover the null check on render method too

* Allow updating properties immediately (#5961)

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2025-11-20 14:52:56 +01:00
onebeastchris
c0c7b51935 Fix wrong comment of the show-cooldown config option 2025-11-19 22:07:16 +01:00
oryxel
8ba82dd7a1 Fix: swimming near water surface. (#5992)
* Fix: swimming near water surface.

* Only update if pose change.
2025-11-19 19:36:54 +01:00
onebeastchris
80db983a4c Indicate support for 1.12.12x, update Bedrock protocol library, bump Bedrock network dependency 2025-11-19 02:45:51 +01:00
Camotoy
765128ce42 Switch config system to Configurate (#5010)
* Start implementing Configurate config system

* More development

* Start migrating to Gson only

* Progress

* Update usage of WebUtils

* Most things now use Gson for JSON

* Allow tests to succeed by using new Gson version

* Use slightly cleaner version for Version deserializer

* Work around older Gson versions without record support

* GeyserCustomSkullConfiguration uses Configurate

* Fix regression in properties get

* New config used in core

* The configuration is gone. Long live the config.

* More changes and migrations away from Jackson

* Improve node ordering when updating configs

* typo

* Better check for ignoring non-configurate configs for considering comment moving

* Ensure metrics UUID is valid

* Initial advanced config

* Remove Jackson; finish config value placements

* Remove duplicate relocate declarations

* Let annotations work

* Renaming to PluginSpecific

* Use global bStats config where possible

* Fix test

* Re-introduce asterisk behavior in configs

* Remove GeyserPluginBootstrap as it's no longer necessary

* Remove old config.yml file

* Update Xbox achievement comment

* Apply suggestions from code review

Co-authored-by: chris <github@onechris.mozmail.com>

* No need to remove values anymore

* Fix: disable bstats relocation on platforms where it is not needed

* ensure it builds

* Update custom unavailable slot comment

Co-authored-by: chris <github@onechris.mozmail.com>

* Update cooldown image

* Logger message for direct-compression still being enabled

* oops

* More explicit RuntimeException message

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>

* Constant for 'system' locale

* Better config JSON encoding (something is broken with Cloudflare; we'll figure it out

* Fix broadcast port default

* Add this file too

* Update configurate branch

* fix build

* Fix: Allow using custom config file on Standalone, add relocation comment

* Move config loading to GeyserBootstrap interface

* Add and rename some config options, add section notes (#5390)

* Add and rename some config options, add section notes

* adjust message

* Update core/src/main/java/org/geysermc/geyser/command/defaults/ConnectionTestCommand.java

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>

* Update core/src/main/java/org/geysermc/geyser/configuration/GeyserConfig.java

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>

* Update ConfigLoader.java

* Update AdvancedConfig.java

* clarify that we're talking about the HAProxy protocol

* rename config option to use-haproxy-protocol

* remove ominous warning sign on xbox auth warning

* adjust wording

---------

Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>

* Back to one config file

* Some minor touchups

* Configurate: Sectionification (#5904)

* Init: config sections

* Start on adding tests, move migrations over to ConfigMigrations class

* Get rid of auth section again, rename that one config option, fix mtu migration

* Move custom skulls config options to the bottom of the gameplay settings

* Add more tests

* Rename and migrate proxy-protocol-whitelisted-ips to haproxy-protocol-whitelisted-ips

* Add automatic downloading of the GeyserOptionalPack

* Revert "Add automatic downloading of the GeyserOptionalPack"

This reverts commit 65b96208fb.

* Add more invalid config tests

* Warn about emote-offhand-workaround removal

* Add automatic loading of the GeyserOptionalPack (feature/configurate) (#5964)

* Add automatic downloading of the GeyserOptionalPack

* Warn about including the OptionalPack from extensions when Geyser is already including it instead of throwing.

* Copy optional pack instead of downloading

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>

* Remove unused variable

* Start warning users not running Java 21

* Update tests, temporarily remove NumericRanges test

* Remove duplicate advanced section from Geyser dump

* Address some "reviews"

* yeet md5 hash from geyser dump

* Add info about number of resource packs / amount of mappings into Geyser dump

* Re-enable invalid config loading test

* Fix: allow-custom-skulls migration

* Fix test

* Add "enable-emotes" configuration option

* Rename "emotes-enabled" to "show-emotes"

* Only enable integrated pack when optional pack isn't present

* Update integrated pack

* Exclude jackson annotations, remove leftover debug print

* Remove one-time config migration warnings as we don't have access to the logger at that stage

* Throw more detailed descriptive error when loading resource packs from the "packs" folder, add another legacy config test

* Fix NeoForge's fun module conflict

* Re-add warning about moved functionality, fix Geyser-ViaProxy

This reverts commit fbadfa574a.

* oops

* Move GeyserLegacyPingPassthrough to separate thread to avoid Standalone command locking issues

---------

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: Eclipse <eclipse@eclipseisoffline.xyz>
Co-authored-by: Aurora <auroranova8756@gmail.com>
2025-11-18 17:55:12 +01:00