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

4497 Commits

Author SHA1 Message Date
Eclipse
c60c367ed1 Implement JavaRegistry(Provider) for game tests, get basic test for component hashing working 2025-10-24 00:23:50 +00:00
Eclipse
a942ac53b1 Set up proper gametest sourceset within Fabric module
stuff (yeah this isn't a good commit message I'll get back to this later who knows)
2025-10-23 23:23:01 +00:00
Eclipse
3c8fcdff09 Initial work on using Minecraft gametests to test component hashing 2025-10-23 23:23:01 +00:00
onebeastchris
0977d0ce40 Preparations for using gametest framework 2025-10-23 23:23:01 +00: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
6ad1105ed6 Bump netty, re-enable adaptive allocator 2025-10-20 15:13:19 +02:00
SleepyPop
47ca26d680 Update README.md to include 1.21.114 2025-10-19 07:53:58 +01: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
Tim203
3f27e5762d Store iat in AuthData for later retrieval (#5884) 2025-10-08 14:40:17 +02:00
Zigy
d869e745e0 Custom entity properties API (#5788)
* Custom entity properties API

* Fix build fail

* Resolve comments

* Entity property registration improvements

* oops

* Add boolean and enum property sync API

* default value + no packet if value unchanged

* Don't send packet if no properties were updated

* small refactor

* the refactor, part two

* Move updateProperties to GeyserEntity

* Don't inherit properties from parent

* temp

* type-safe property updating

* Address review

* call the GeyserDefineEntityPropertiesEvent once, require specifying entity identifier instead of calling the event once for every entity type

* Migrate to identifiers (from custom items v2, thanks eclipse), remove duplicate logic

* fix test

* Merge 1.21.9, update copper golem entity property usage

* fixup javadocs

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-10-08 14:39:34 +02:00
onebeastchris
2295814b22 Update to latest MCPL version 2025-10-05 17:48:08 +02:00
onebeastchris
879f9779cf Merge remote-tracking branch 'upstream/master' into feature/1.21.9 2025-10-05 17:48:06 +02:00
onebeastchris
66b3fe8057 Bump neoforge dependency 2025-10-05 14:42:33 +02:00
onebeastchris
82fb2e4df1 Fix: Input processing on mobile devices with classic D-Pad control mode 2025-10-05 00:50:21 +02:00
onebeastchris
c8c035d664 Small api event cleanup, fix neoforge to-do's 2025-10-04 00:14:59 +02:00
Aurorawr
14892a2ece Add native Mojmaps to Compression and Login Finish packet (#5875) 2025-10-03 23:00:47 +01:00
onebeastchris
ca23e501b4 Cleanup api, remove unused stored item mappings 2025-10-03 20:21:44 +02:00
onebeastchris
e80863d490 Merge remote-tracking branch 'upstream/master' into feature/1.21.9 2025-10-03 20:20:03 +02:00
onebeastchris
4297996d7a Fix https://github.com/GeyserMC/Geyser/issues/5868 2025-10-03 17:30:48 +02:00
chris
26881466cb Feature: Fixup form closing (#5872) 2025-10-03 17:26:10 +02:00
Eclipse
6c56283e3d Bump MCPL 2025-09-30 21:18:29 +00:00
Eclipse
33b95b0f9b Merge remote-tracking branch 'upstream/master' into feature/1.21.9 2025-09-30 17:59:04 +00:00
Eclipse
3612d9cf9b Update/fix bootstraps, target new mappings 2025-09-30 17:39:41 +00:00
Eclipse
71803c0ca8 Fix client crash when custom blocks are registered (#5858) 2025-09-30 15:45:18 +00:00
chris
a1cb9bdb52 Minor fixes for custom blocks on 1.21.100+, custom skull hashes, and form/inventory opening (#5856)
* Fix: skull hash pattern regex, close current form/inventory when a new form/inventory is sent, fix face_dimming for custom blocks on 1.21.100+

* address review
2025-09-30 17:10:19 +02:00
Eclipse
bdabf6b20e Fix build 2025-09-30 13:35:58 +00:00
Eclipse
b292793d0e Merge remote-tracking branch 'upstream/master' into feature/1.21.9 2025-09-30 13:29:43 +00:00
Eclipse
870b199f35 Basic mannequin implementation 2025-09-30 13:10:14 +00:00
Eclipse
5e69361d69 Make it build, update MCPL 2025-09-30 13:10:14 +00:00
Eclipse
ef55f76f0d Start working on mannequins 2025-09-30 13:10:14 +00:00
Eclipse
d94bd7c806 GeyserItemStack.asItem() == Items.ITEM -> GeyserItemStack.is(Items.ITEM) and various other item stack cleanups 2025-09-30 13:10:14 +00:00
Eclipse
3757f3e98d Reduce direct access to TagCache 2025-09-30 13:10:14 +00:00