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

4489 Commits

Author SHA1 Message Date
onebeastchris
421095284d Remove unfinished per-session entity definitions in favor of global custom entities, some api changes 2025-10-13 00:01:43 +02:00
onebeastchris
86d09df11d Merge remote-tracking branch 'upstream/master' into feature/new-custom-entity-api
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/GeyserImpl.java
#	core/src/main/java/org/geysermc/geyser/entity/EntityDefinition.java
#	core/src/main/java/org/geysermc/geyser/registry/Registries.java
#	core/src/main/java/org/geysermc/geyser/registry/loader/ProviderRegistryLoader.java
#	core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
#	core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/JavaAddEntityTranslator.java
#	core/src/main/java/org/geysermc/geyser/util/EntityUtils.java
2025-10-12 21:10:57 +02:00
onebeastchris
bbfe7c86cd Rename EntityDefinition -> GeyserEntityDefinition in API 2025-10-12 21:05:18 +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
Eclipse
b7fe77c838 Reduce usage of equipment map 2025-09-30 13:10:13 +00:00
Eclipse
21bb3df7df Only store GeyserItemStacks for equipment in LivingEntity 2025-09-30 13:10:13 +00:00
Eclipse
af20c68236 Implement copper golems 2025-09-30 13:10:13 +00:00
Eclipse
4127aff527 Clean up some things related to item translation and UUID parsing 2025-09-30 13:10:13 +00:00
Eclipse
d7e4c21a15 Finish ItemStackParser, clean up vault translator, finish implementing shelves 2025-09-30 13:10:13 +00:00
Eclipse
76d6c150a9 Work on ItemStackParser for shelf and vault block entity translators, add new game rules 2025-09-30 13:10:13 +00:00
Eclipse
d2dd949eeb Support bedrock 1.21.110 (#5844)
* Initial work on 1.21.110

* Drop support for 1.21.70 and 1.21.80

* Update README

* Target new mappings, build on Protocol without adventure

* Add item tags for 1.21.100 and 1.21.110

* Target protocol with separate adventure module, cleanup

* Use upstream protocol library

* Update to 844, send fake chest whenever a single chest can be merged into a double chest on the client

* Target mappings at master

* Actually update to 844

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2025-09-30 12:59:14 +00:00
chris
c694daf81b Block breaking calculations v2 (#5846)
* Make block break progress calculations more accurate
* Track blockstate / item updates geyser-sided
* Fix: ghost blocks in specific circumstances
2025-09-30 01:05:16 +02:00
Phillipp Glanz
30a44a04f0 Cleanup: Use compiled patterns where possible (#5523)
* Refactor: use a compiled pattern for skin hash validation
* Refactor: use compiled pattern for IP address validation
* Refactor: simplify extension filter to a single compiled pattern
2025-09-29 15:02:48 +02:00
onebeastchris
1600ccb2c2 Fix: Reset current block variables after block breaking is aborted 2025-09-26 00:11:41 +02:00