1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-04 15:31:36 +00:00
Commit Graph

263 Commits

Author SHA1 Message Date
Eclipse
9f8bc9db99 Bump MCPL for data palette fixes (#5818)
* Update chunk loading for MCPL changes

* Adjust for renames in MCPL

* Bump MCPL

* Rename this just because I can
2025-09-15 21:01:23 +00:00
onebeastchris
5b16c9caa2 Update MCPL - resolves Geyser not starting on older Spigot / Paper versions
Fixes https://github.com/GeyserMC/Geyser/issues/5776
2025-09-11 19:37:46 +02:00
chris
e2ae101419 Resolve "not in event loop" issue on Geyser-Velocity with use-direct-connection enabled (#5720) 2025-08-15 23:38:42 +03:00
onebeastchris
c23ac5caf3 Bump Bedrock networking library, fix NPE related to resource pack re-downloading
Closes https://github.com/GeyserMC/Geyser/issues/5243
2025-08-13 03:10:40 +03:00
onebeastchris
79caa98e4f Bump Bedrock protocol library 2025-08-13 02:28:55 +03:00
Eclipse
9b04d7e019 Fix: waypoint and vault stack traces, bump Adventure (#5735)
* Catch class cast exception when the server sends us incorrect waypoint data

* Replace vault item component translation failure stacktrace with log message

* Bump adventure, update text component hashers

* Only send vault item component warning message once, do instanceof checks in GeyserWaypoint subclasses

* Revert vault item component error message to warning
2025-08-02 00:35:18 +02:00
Kas-tle
57eb3b7c27 Forcibly close upstream of GeyserSession on invalid packets (#5732)
* Forcibly close upstream of GeyserSession

* Logic error

* Resolve review and bump protocol

* Logic error
2025-07-31 00:47:00 +02:00
onebeastchris
df4bb4f1c1 Update netty & mcpl dependencies
Fixes https://github.com/GeyserMC/Geyser/issues/5375, https://github.com/GeyserMC/Geyser/issues/5301, fixes https://github.com/GeyserMC/Geyser/issues/5050
2025-07-25 20:04:39 +02:00
onebeastchris
17bd368c9d Actually remove PlayerLoginEvent usage, resolve incorrect waypoint color reading
Fixes https://github.com/GeyserMC/Geyser/issues/5669, fixes https://github.com/GeyserMC/Geyser/issues/5636
2025-07-12 21:53:52 +02:00
Redned
761fd3495a Update to Gradle 8.14.3 (#5663) 2025-07-08 21:16:06 +02:00
Eclipse
3174154a4a Support lava chicken music disc (#5651)
* Update protocol for 1.21.93 support

* Target latest mappings
2025-07-06 23:10:41 +02:00
chris
d7d819c282 Support 1.21.7 (#5633)
* 1.21.7

* Indicate 1.21.92 support

* Bump these versions too
2025-06-30 23:08:24 +02:00
Eclipse
6eeb88602a Small 1.21.6 updates (#5619) 2025-06-26 20:59:30 +00:00
chris
7900a911ed Merge branch 'master' into feature/1.21.6 2025-06-23 16:18:03 +02:00
onebeastchris
115d709706 Update Bedrock protocol library 2025-06-19 15:20:19 +02:00
onebeastchris
32057c31b6 Merge remote-tracking branch 'upstream/master' into feature/1.21.6 2025-06-19 02:53:57 +02:00
onebeastchris
489c4f2e9a Resolve "unable to complete login" issue, fix Geyser-NeoForge not loading
(fixes https://github.com/GeyserMC/Geyser/issues/5605)
2025-06-19 01:52:30 +02:00
Eclipse
ca6340e56d Use fixed MCPL version 2025-06-18 17:06:59 +00:00
Eclipse
c29b20d23a Update/fix bootstraps and build 2025-06-17 18:55:55 +00:00
onebeastchris
facae0926e Merge remote-tracking branch 'upstream/master' into feature/1.21.6
# Conflicts:
#	README.md
#	core/src/main/java/org/geysermc/geyser/network/GameProtocol.java
#	core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
#	core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
#	core/src/main/java/org/geysermc/geyser/session/cache/tags/GeyserHolderSet.java
#	core/src/main/resources/bedrock/entity_identifiers.dat
#	gradle.properties
2025-06-17 17:42:57 +02:00
chris
871390b803 1.21.90 support (#5589)
* Initial changes for 1.21.90

* Update Bedrock protocol, fix camera present serializer

* yeet debug

* Set auth chain data

* Update dependencies, add bstats metrics for haproxy usage
2025-06-17 03:23:53 +02:00
Eclipse
ef2cdd0e74 Update data component hashers for 1.21.6's changes 2025-06-13 17:09:39 +00:00
onebeastchris
a8f9cc229c Initial 1.21.6 changes 2025-06-01 20:21:04 +02:00
chris
7c47459609 Resolve memory usage issues related to Netty 4.2 update (#5536)
* More proper workaround for direct connection using Netty 4.2

* Add check for outdated Velocity

* BungeeCord support for Netty 4.2

* Use pooled allocator

* Small cleanup: only one allocator system property check, pin comment to static commit

* Set allocator type on Standalone using netty system property

* Don't mess with allocator, both BungeeCord and Velocity set it globally

* Temporarily remove io_uring support

In order to support io_uring transport after the 4.2 update, we'd need to separately handle 4.1 and 4.2 event loop group creation

* Add compileOnly netty io_uring dependency for Geyser-BungeeCord

* Exclude old incubator io_uring dependency on geyser-standalone

---------

Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2025-05-22 17:43:02 +02:00
chris
bcae2206c9 Various movement fixes: Send elytra gliding states properly, send sprinting input earlier, don't allow sprinting on water (#5518)
* Prevent elytra gliding to match Java client behavior

To-Do's:
- Firework boosting is still very broken
- see how BDS handles this mess

Other changes:
Don't send player's onGround when riding vehicles
Support null values for data components (removal of default components)
Fix possible NPE in JavaSetEquipmentTranslator with debug mode enabled

* Add bounding box height update when a player starts gliding, send sprinting state at correct time

* Properly track spin attack - should fix <https://github.com/GeyserMC/Geyser/issues/5262> - and don't allow the Bedrock client to stop gliding mid-air

* also correct pose

* temp

* Cleanup

* Send sprinting state before inputs, resolve issue mentioned in https://github.com/GeyserMC/Geyser/issues/1705

* send sprinting after inputs

* Send vehicle input before sprinting which is sent before player movement

* Slight cleanup

* Rename setDimensions -> setDimensionsFromPose

* setSpinAttack should be protected

* Resolve mobile players being unable to climb down scaffolding

* Don't send STOP_SPRINTING packet if we weren't sprinting
2025-05-11 20:58:37 +02:00
chris
c3824990d1 1.21.80 (#5525)
* Initial 1.21.80 changes

* Properly set boat rowing animation, update readme, don't apply form fix to 1.21.80

* Fix <https://github.com/GeyserMC/Geyser/issues/5512>

Forms that are closed don't need response handling
2025-05-06 19:12:45 +02:00
PetteriM1
20680b301e Update Bedrock Protocol Library (#5491) 2025-04-15 18:09:35 +02:00
chris
55266de443 Resolve `Can't join: ByteToMessageCodec$1.decode()" error (#5470)
* Update mcpl to resolve `Can't join: ByteToMessageCodec$1.decode() did not read anything but decoded a message`

* update to latest mcpl build
2025-04-11 02:13:22 +02:00
onebeastchris
7a9c6b3ac3 Fix https://github.com/GeyserMC/Geyser/issues/5452 2025-04-05 15:49:46 +02:00
onebeastchris
6ca2a2391d Drop Bedrock 1.21.40 support 2025-04-01 00:22:50 +02:00
onebeastchris
1103474fa2 Update MCPL 2025-03-29 02:15:03 +01:00
onebeastchris
dbf701feb1 Merchant changes, implement splash_potion entity type, some xp orb fixes 2025-03-28 21:16:03 +01:00
Eclipse
ea10a512b3 Hashing of attribute modifiers, blocks attacks, wolf sound variants, and chicken variants 2025-03-28 17:53:38 +00:00
Eclipse
01354f2401 Refactor RegistryCache to make adding new registries easier 2025-03-28 15:57:06 +00:00
onebeastchris
d927ec6465 Target 1.21.5 release, restore ButtonBlock mappings 2025-03-27 17:50:08 +01:00
Eclipse
4e06608f84 MCPL fixes, make it run 2025-03-25 20:39:11 +00:00
Eclipse
f2ec8d5cee Random stuff to make it run 2025-03-25 20:39:09 +00:00
onebeastchris
acb858f0ab Initial 1.21.5 changes 2025-03-25 17:08:09 +01:00
chris
24f774e767 1.21.70 support (#5414)
* Initial work on 1.21.70

* Update mappings, fixup jitpack

* Use LevelSoundEventPacket instead of LevelSoundEvent2Packet, ensure only temperate cow/pig/chicken/thrown egg entities spawn, update item components

* Update cloudburst/protocol dependency, target master mappings branch
2025-03-25 16:34:00 +01:00
onebeastchris
f27290a8b3 Fix https://github.com/GeyserMC/Geyser/issues/5405 2025-03-12 00:58:31 +01:00
Alex
97cc876311 Fix missing console logs with Geyser-Standalone gui present (#5376)
* Fix missing console logs with gui present

* Properly redirect stdout & stderr & also redirect JUL
2025-02-26 09:52:02 +01:00
chris
87d9907413 Increase packet limits for multiple connected clients playing from one IP address (#5351)
* Fix https://github.com/GeyserMC/Geyser/issues/4926

* Extend the RakServerRateLimiter, now that it is possible

* Update core/src/main/java/org/geysermc/geyser/network/netty/handler/RakGeyserRateLimiter.java

* cast to int
2025-02-23 18:37:01 +01:00
Alex
07be402563 Add run tasks and remove useless variables (#5362)
* Add run tasks and remove useless variables

The benefit of run tasks is that proxies like velocity can be prototyped on without using standalone or a GUI. Thus simplifying the prototyping/fixing process.

* Drop runwaterfall
2025-02-22 12:31:37 +01:00
onebeastchris
4a88117753 Update to latest MCPL changes, fix issues with the force-player-inventory workaround 2025-02-19 14:27:22 +01:00
Camotoy
778c0819ef Add the Gradle versions file, too... 2025-02-16 15:35:07 -05:00
onebeastchris
3e6172642d Update MCPL, resolves issues with the ClientboundPlayerInfoUpdatePacket 2025-02-16 16:58:44 +01:00
onebeastchris
6c59a821c9 Fix eating animations not showing 2025-02-12 14:57:26 +01:00
Roman Alexander
b8477aa401 1.21.60 (#5325)
* initial changes

* More work on 1.21.60's fun changes

* I misread 😅

* Use 1.21.60 mappings for updated item components

* Fix: Creative up/down flight

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-11 19:38:24 +01:00
onebeastchris
c666028eb6 Update Bedrock network library
fixes https://github.com/GeyserMC/Geyser/issues/4971
2025-01-29 00:42:44 +01:00
Alex
5836dabcda Use mcpl staticify PR (#5284)
* Use mcpl staticify PR

* Fix missing generic arg

* Update libs.versions.toml
2025-01-21 16:11:09 +01:00