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

301 Commits

Author SHA1 Message Date
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
Alex
dff7cf2136 Use vanilla dns resolving (#5283)
* Use vanilla dns resolving

* Update gradle/libs.versions.toml

Co-authored-by: chris <github@onechris.mozmail.com>

* Update gradle/libs.versions.toml

Co-authored-by: chris <github@onechris.mozmail.com>

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2025-01-18 17:10:27 +01:00
Alex
613718a52d Implement session restructure mcpl PR, fix disconnect messages in configuration stage (#5196)
* Implement session restructure mcpl PR

* Bump mcpl

* Update mcpl api usage

* Update MCPL to release, fix https://github.com/GeyserMC/Geyser/issues/5281 (1daf036f57)

* Use correct mcpl dependency

* apparently 1.21.4-1 doesn't exist? back to snapshots then

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-01-18 13:53:09 +01:00
onebeastchris
7b5c1bb370 Bump mcpl and mappings 2024-12-23 03:29:40 +08:00
onebeastchris
64c7adcacf Fix: Geyser-Spigot not loading on 1.16.5, remove unused code 2024-12-16 10:54:36 +08:00
onebeastchris
94c258a4c9 Update loom (and gradle), create basic recipes when there are too many possible combinations, update adapters 2024-12-10 02:22:39 +08:00
onebeastchris
a2184e4fae start on implementing creaking 2024-12-06 22:57:14 +08:00
onebeastchris
92c7f9895b Implement new boat types 2024-12-05 20:45:56 +08:00
onebeastchris
abf14e6ef9 Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
#	gradle/libs.versions.toml
2024-12-05 18:51:22 +08:00
Alex
2019e53bad Feature: Accurate Java packet ticking (#5121)
* Use proposed mcpl ticking PR

* Remove more not needed overrides

* Bump mcpl

* Fix missing import

* Bump mcpl

* Switch to official version

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-12-05 18:35:03 +08:00
chris
d2051c2242 Various small fixes - update cloudburst/protocol dependency, remove "temporary" log info spamming (#5186) 2024-12-05 01:11:03 +08:00
onebeastchris
db246ffb3b Update Properties/Blocks, re-include neoforge, target 1.21.4 release 2024-12-04 01:28:29 +08:00
onebeastchris
5162aeb9b3 Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/1.21.4
# Conflicts:
#	gradle.properties
2024-12-03 23:14:05 +08:00