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

4551 Commits

Author SHA1 Message Date
Aurora
6bfa421c0f Update Integrated Pack to resolve visual issues with the spear 2025-12-11 21:55:34 +00:00
Aurora
0b39b94c51 Fix build 2025-12-11 18:29:12 +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
Camotoy
2ed4eff18f Standalone: fix loading from arbitrary file paths
Pre-Configurate had this same behavior: 765128ce42 (diff-262f536cb22e92d0eab2b1fd455563d317e907a88761a3d6ef16ec91dada4aeaL193)

Loading from alternate folders now works as expected.
2025-11-22 20:00:40 -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
bc26952723 Fix: Configurate conflicts on Geyser-Fabric / Geyser-NeoForge 2025-11-19 14:18:01 +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
RK_01
48bf0942e9 Updated to MinecraftAuth 5 (#5989) 2025-11-16 21:43:39 +01:00
oryxel
a58fa79805 Fix: Player pose switching behaviour (#5987)
* More accurate pose switching behaviour.

* Revert some change.
2025-11-16 15:49:32 +01:00
oryxel
659369a913 Fix: prevent max health smaller than health (#5988) 2025-11-16 13:50:45 +01:00
Thomas
bf13757bdc Added Java version to build.gradle.kts (#5980) 2025-11-11 22:16:45 +01:00
onebeastchris
0488023829 Fix: Critical / Enchanted critical hit particles 2025-11-08 23:01:42 +01:00
chris
73e67fc7a9 Fix GeyserDefineEntityPropertiesEvent#properties() NPE (#5960)
* Fix GeyserDefineEntityPropertiesEvent#properties() NPE

* This is cleaner
2025-11-02 13:52:26 +01:00
oryxel
208f4611cc Fix: don't lock jumping input for minecart (#5959)
* Don't lock jumping for minecart.
2025-11-02 12:17:56 +01:00
oryxel
d5b0091108 Fix: ground status for client-predicted vehicles (#5957)
Co-authored-by: oryxel1 <gamingnoob681@gmail.ocm>
2025-11-02 11:34:45 +01:00
dima_dencep
a5db5104b7 Fixes for Custom entity properties API (#5949)
* Fixes

* Further fixes

* let's not talk about this one

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-11-01 13:40:11 +01:00
onebeastchris
36a5980e54 Bump MCPL to resolve copper chest open animations
Co-authored-by: oryxel1 <gamingnoob681@gmail.com>
2025-10-30 02:34:47 +01:00
onebeastchris
17247f2c33 Revert gradle/shadow update, for now
This reverts commit dc322cba0a and 27cd53ead8.
2025-10-30 02:20:21 +01:00
onebeastchris
e1e8b6734b More leniency for obsidian block breaking 2025-10-29 22:33:12 +01:00
onebeastchris
27cd53ead8 Re-add gradle wrapper jar 2025-10-29 21:20:58 +01:00
onebeastchris
dc322cba0a Update gradle to 9.2.0 2025-10-29 21:03:42 +01:00
KabanFriends
9d5e1cbcb3 Fix incorrect priority range validation message in PriorityOption (#5939) 2025-10-28 21:36:14 +01:00
onebeastchris
d8058766cc Fix: Entity property min/max being flipped 2025-10-28 20:53:24 +01:00
onebeastchris
3c08b31453 Use old auth certificate chain to fix skin uploading 2025-10-28 19:09:38 +01:00
chris
29d77ff641 Support 1.21.120 (#5936)
* Initial work on 1.21.120 support

* Version item components, update creative items

* Global api changes
2025-10-28 15:33:32 +01:00