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

4583 Commits

Author SHA1 Message Date
onebeastchris
2916f3f18f Minor cleanup 2025-12-17 14:58:12 +01:00
onebeastchris
199737d1ef Expose entity hitboxes in API, store bedrock position to avoid re-calculation 2025-12-16 23:03:39 +01:00
onebeastchris
9f05f1ef9e Merge remote-tracking branch 'upstream/master' into feature/custom-entities-api
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/entity/type/BoatEntity.java
#	core/src/main/java/org/geysermc/geyser/entity/type/Entity.java
#	core/src/main/java/org/geysermc/geyser/entity/type/living/animal/horse/AbstractHorseEntity.java
#	core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/entity/player/input/BedrockPlayerAuthInputTranslator.java
2025-12-16 15:15:25 +01:00
onebeastchris
ec2359327d Fix interaction range check 2025-12-16 15:08:01 +01:00
oryxel
9a1d42584e Fix: moving a boat using d-pad input. (#6052) 2025-12-16 10:23:52 +00:00
onebeastchris
494420ece8 Fix villager inventories not showing up 2025-12-13 23:47:34 +01:00
oryxel
f67cd24af4 Fixed spinnin boat for touch device. (#6043) 2025-12-13 07:43:36 -08:00
Pierpaolo Coletta
a1d4f3e897 Change entity definition log level to debug for missing definitions (#6042) 2025-12-12 22:14:48 +01: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
chris
d5bdb7f6b1 Merge branch 'master' into feature/custom-entities-api 2025-12-10 21:36:26 +01: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
onebeastchris
b1c1c42a3c Merge remote-tracking branch 'upstream/master' into this-is-the-entity-api
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/entity/type/player/MannequinEntity.java
#	core/src/main/java/org/geysermc/geyser/entity/type/player/SkullPlayerEntity.java
2025-12-10 17:23:48 +01:00
onebeastchris
7efcda1053 Merge remote-tracking branch 'upstream/feature/custom-entities-api' into this-is-the-entity-api 2025-12-10 17:21:52 +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
8509bf1f1a Merge branch 'master' into feature/custom-entities-api 2025-12-09 13:08:36 +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
chris
a55e7b8d14 Merge branch 'master' into feature/custom-entities-api 2025-12-04 01:11:58 +01:00
onebeastchris
899bd29af7 correct javadoc 2025-12-02 00:51:55 +01:00
onebeastchris
d4f07135f4 Set up feature branch publishing and vertical offset applying 2025-12-01 16:35:30 +01:00
onebeastchris
8a79001b4b Remove debug print, validate that entity definitions have been registered, setup publishing 2025-12-01 15:53:48 +01:00
onebeastchris
f3070f7509 Remove unused offsets 2025-12-01 01:44:46 +01:00
onebeastchris
a3b3c72124 Refactor: unify offset handling, always store Java entity position 2025-12-01 01:19:37 +01:00
onebeastchris
a497d3d84c API polishing; properly initialize height/width 2025-11-30 15:28:47 +01:00
onebeastchris
a64865024a Attempt to add feature branch publishing 2025-11-30 13:11:21 +01:00
onebeastchris
37f1285fbd Fix NPE in test 2025-11-30 02:30:16 +01:00
onebeastchris
b26b9d17fb Implement dirty entities to send updates once a tick 2025-11-30 02:25:43 +01:00
onebeastchris
460305a515 Api design goes brrr 2025-11-30 02:13:20 +01:00
onebeastchris
5a16517d3c Another couple changes, start designing an entity data system to set scale/variant/height/width and so forth 2025-11-27 22:52:47 +01:00
onebeastchris
75d5f07170 Apply some suggestions 2025-11-27 22:18:12 +01:00
onebeastchris
9e6b1333b3 Rename SessionAttachParrotsEvent -> ServerAttachParrotsEvent, fill in API Javadocs 2025-11-27 22:13:22 +01:00
onebeastchris
8f8e3bea8c Expose geyserId in API, add SessionAttachParrotsEvent 2025-11-27 18:45:08 +01:00
onebeastchris
52b76f5b6f Fix startup 2025-11-27 18:45:07 +01:00
onebeastchris
b2739e1948 More work on events, closer to working 2025-11-26 17:08:05 +01:00
onebeastchris
8ff763ba66 Width, height and offset should be tied to the Java entity type; and can now be modified in the ServerSpawnEntityEvent 2025-11-25 22:34:05 +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
onebeastchris
142cbaee71 Continue splitting bedrock entities from java types 2025-11-23 17:54:18 +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
c57f2508cc EntityDefinition -> EntityTypeDefinition 2025-11-22 19:53:29 +01:00
onebeastchris
3392510326 Separate BedrockEntityDefinition from Entity classes 2025-11-22 17:53:38 +01:00
onebeastchris
6fab587227 CustomEntityDefinition should extend GeyserEntityDefinition 2025-11-22 17:50:20 +01:00
onebeastchris
11e6b50d53 Move CustomEntityDefinition into custom package 2025-11-22 17:48:52 +01:00
Eclipse
a3869cf5f8 Implement CustomEntityDefinition, part one 2025-11-22 17:47:23 +01:00
Eclipse
e398c545f9 Add EntityDefinition#is 2025-11-22 17:44:55 +01:00
Eclipse
7fe8992ceb Work on exposing custom entity definitions in the API 2025-11-22 17:44:54 +01:00