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

1743 Commits

Author SHA1 Message Date
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
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
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
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
dc322cba0a Update gradle to 9.2.0 2025-10-29 21:03:42 +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
Eclipse
38893a9476 Implement hashers for new object component type (#5935)
* Implement hashers for new object component type

* Remove extra whitespace
2025-10-28 00:40:17 +01:00
onebeastchris
7375b748d7 Make real container check less strict
Closes https://github.com/GeyserMC/Geyser/issues/5912
2025-10-26 19:40:48 +01:00
onebeastchris
75f3f2c6ce Fix: right-click events for custom skulls
Resolves https://github.com/GeyserMC/Geyser/issues/5923
2025-10-26 19:24:22 +01:00
onebeastchris
5e7ce45d0b Merge remote-tracking branch 'upstream/master' 2025-10-26 19:02:42 +01:00
onebeastchris
59edd3a21e Bump adventure dependency 2025-10-26 19:02:19 +01:00
chris
b8a3c6dab9 Improve error message handling for web requests (#5927)
* Improve error message handling

Avoid https://github.com/GeyserMC/Geyser/issues/5832

* Update core/src/main/java/org/geysermc/geyser/util/WebUtils.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* rename variable

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2025-10-26 01:08:24 +02:00
onebeastchris
48ffa2e52e Fix: Books showing up on lecterns 2025-10-25 18:09:39 +02:00
onebeastchris
3006fe390d Silently fail for invalid data components in block entity data 2025-10-25 15:11:01 +02:00
Eclipse
e2a82b3659 Refactor Java registry code to be more abstract, and other minor clean-ups (#5926)
* Create abstract JavaRegistryProvider interface, remove GeyserSession from MinecraftHashEncoder, add default implementations to JavaRegistry

* Make GeyserSession in RegistryEntryContext optional

* Expose READERS map as visible for testing in RegistryCache

* Add inlineNbtMap helper to MapBuilder

* Mark JavaRegistryProvider as functional interface
2025-10-23 22:45:30 +00:00
onebeastchris
7739b0d91c Fix: Jump being locked in wrong conditions 2025-10-22 17:21:41 +02:00
Matt
46c2298725 Correct the TextDisplayEntity offset logic for multiple lines (#5919)
* Correct the TextDisplayEntity offset logic

* Update if to follow style guide
2025-10-22 12:51:24 +02:00
oryxel
517d260c72 Prevent player from jumping out of vehicle by input locking (#5908)
* Initial changes to input locking.

* Working vehicle dismount locks.

* Locking jump dismount, more work on server-sided dismount.

* Just lock jump input, locking dismount cause unintended behaviour.

* Revert some old changes.

* Oops.

* Rename this to doesJumpDismount.

* Sort this.
2025-10-22 12:50:08 +02:00
onebeastchris
d4733c8be2 Fix: Inventory opening issues related to virtual chest queuing 2025-10-20 17:25:41 +02:00
onebeastchris
1cbfe34e96 Bump MCPL 2025-10-20 16:07:20 +02:00
onebeastchris
e9f2a5c17f Fix: Queue forms that are opened before the session is initialized 2025-10-15 13:35:00 +02:00
onebeastchris
3f7da1d28a Use real copper chests blocks when available for opening inventories 2025-10-12 16:52:48 +02:00
onebeastchris
2dfe846a40 Indicate 1.21.9/1.21.10 support on modrinth, update cloud command library 2025-10-12 14:34:43 +02:00
onebeastchris
826b4b4e48 Indicate 1.21.112/1.21.113 support, track server platform types in bstats metrics 2025-10-12 13:34:29 +02:00
chris
8a6bb8e0ba Support 1.21.9/1.21.10 2025-10-11 17:00:15 +02:00
onebeastchris
28b31f4980 Some work on mannequins 2025-10-11 16:49:22 +02:00
onebeastchris
d7d9e48927 Fix: smithing templates 2025-10-11 16:28:46 +02:00
onebeastchris
b958b783b9 Target correct mapping submodule commit 2025-10-11 16:02:08 +02:00
onebeastchris
1a02b91293 Fix cocoa beans, rename shouldSkipSaving to skipSaving in the SessionAcceptCodeOfConductEvent 2025-10-11 15:59:01 +02:00
onebeastchris
4558576e73 Merge remote-tracking branch 'upstream/feature/1.21.9' into feature/1.21.9 2025-10-11 15:10:39 +02:00
onebeastchris
62826acfdf Update to latest mappings, remove pickItem mappings entirely 2025-10-11 15:10:08 +02:00
Aurorawr
4549a95ee5 Feature: Extension dependencies (#5839)
* Add loading order to dependencies

# Conflicts:
#	core/src/main/resources/mappings

* Add softdepend capability, add default load and required values

* Prevent an extension from loading if it uses an old api version with the new dependency system.

* Add translation strings to dependency messages

* Account for language string changes, remove class loader warning when extension has dependencies

* Update languages module to latest

* Update version in GeyserExtensionLoader for dependencies to match 1.21.9 branch

* revert mapping update

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-10-08 21:51:47 +02:00
onebeastchris
e8e6c2bdbd Remove pick item remains 2025-10-08 21:47:52 +02:00
onebeastchris
7b7bdd7f73 Component hashing changes, bump mcpl 2025-10-08 21:37:26 +02:00