1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00
Commit Graph

4153 Commits

Author SHA1 Message Date
onebeastchris
3239e612dd Fix NPE that can rarely occur when debugging inventories 2025-04-01 18:08:15 +02:00
onebeastchris
90e9c3a123 Fix https://github.com/GeyserMC/Geyser/issues/5447 2025-04-01 13:18:26 +02:00
chris
2b5369ff8b Attempt to resolve 1.21.70 inventory issues (#5443)
* Inventory translators are now part of inventories, try fixing inventory reusing, use NetworkStackLatency hack

* Add debug, re-add force open hack

* don't log to info

* fix debug npe

* Don't set setPending when opening pending inventories, add more delay to re-opening rejected inventories

* Use inventory#getTranslator to hopefully avoid translator/inventory desync

* Minor cleanup

* Update core/src/main/java/org/geysermc/geyser/GeyserLogger.java

* Reuse inventories whenever possible, prevent bedrock inventory id conflicts

* Fix debug logging with arguments, don't attempt to re-use inventory that's currently closing

* Some documentation, include pending inventories in re-use check

* "bad html entity"

* add wayyyy more debugging to container reusing checks

* yeet java id check

* Fixes related to hacky plugins that spam open screen packets

* no clue how this slipped by

* Don't reuse real blocks, yeet Inventory#isDelayed
2025-03-31 21:36:19 +02:00
onebeastchris
baac9795b7 Fix villager inventories, always close virtual inventories before opening a new one
Co-authored-by: Tjorven-Liebe <tjorvenliebe@gmail.com>
2025-03-27 16:14:06 +01:00
Tim203
8cf65814ce Result handlers for custom forms with labels now work again 2025-03-26 20:43:49 +01:00
onebeastchris
b1177389d3 Fix invisible boats on versions below 1.21.70
Closes https://github.com/GeyserMC/Geyser/issues/5428
2025-03-26 17:40:56 +01:00
onebeastchris
b7c56037bb Fix virtual inventory opening 2025-03-26 17:19:40 +01:00
onebeastchris
ae8062c5bc Revert api breaking change 2025-03-25 17:23:43 +01:00
chris
61fea614f3 1.21.70 Support, API 2.6.2 2025-03-25 16:48:47 +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
chris
69329f2cad Feature: Resource Pack API additions - ResourcePackOptions and a GeyserDefineResourcePacksEvent (#4978) 2025-03-25 15:49:18 +01:00
Tim203
512c68a883 The team should still be used when there is a score display name (#5415) 2025-03-18 22:02:29 +01:00
chris
32160c5c64 Fix chunks not loading when riding a vehicle, fix world border corrections not applying (#5410) 2025-03-16 01:28:46 +01:00
onebeastchris
f27290a8b3 Fix https://github.com/GeyserMC/Geyser/issues/5405 2025-03-12 00:58:31 +01:00
onebeastchris
cc94d5a048 Fix https://github.com/GeyserMC/Geyser/issues/5395, fix https://github.com/GeyserMC/Geyser/issues/5398 2025-03-05 22:02:09 +01:00
Eclipse
679bc4147e Change advancement form mechanics to match Java behaviour, fix NPE (#5396)
* Change advancement form mechanics to match Java behaviour, fix NPE

* Remove unused import

* Remove debug statement whoops

* Fix another NPE

* Close the form first when reopening it
2025-03-04 17:40:14 +01:00
onebeastchris
1c1684cd4f Merge remote-tracking branch 'upstream/master' 2025-03-03 20:17:58 +01:00
onebeastchris
bbd3d25fb3 Fix: beacon speed effect causing visual glitches looking like a heartbeat
almost looks like the player is alive, lol fixes https://github.com/GeyserMC/Geyser/issues/5388
2025-03-03 20:17:14 +01:00
LetsGoAway
861ee6162a Fix button sounds (#5367)
* fix buttons

* delete unused mapper

* remove ignore arm swing

* Update mappings
2025-03-03 13:56:02 +01:00
onebeastchris
ce1535991c fix https://github.com/GeyserMC/Geyser/issues/5387 2025-03-02 18:53:33 +01:00
chris
758700cb22 Fix render distance issues (#5381)
* Potentially fix render distance issues

* AGGRESSIVE fix render distance issues

---------

Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2025-02-27 20:11:16 +01:00
Alex
50a0e61c94 Indicate 1.21.62 support (#5378)
Co-authored-by: chris <github@onechris.mozmail.com>
2025-02-27 19:58:08 +01:00
onebeastchris
dd7a0d3161 Fix https://github.com/GeyserMC/Geyser/issues/5347 2025-02-27 17:37:37 +01:00
onebeastchris
915986afa8 Fix https://github.com/GeyserMC/Geyser/issues/5377 2025-02-27 17:00:03 +01:00
chris
52bcdf0d2f Fix: Allow players to hit air (#5369)
This also implements blocking block breaking & attacking entities while steering boats to match the Java clients behavior.
Further, it now also updates the shifting state before sending inputs to the Java client, also matching behavior there.
2025-02-27 15:29:58 +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
Alex
5f0611ff0f Switch all ping passthroughs to json to avoid parsing warning (#5363) 2025-02-25 22:33:10 +01:00
onebeastchris
ba87207353 Properly translate infinite effects, ensure specific hud elements are hidden when logging in with spectator mode 2025-02-25 22:07:47 +01:00
onebeastchris
2b17a03bdf Fix: Horses not taking fall damage when they should
fixes https://github.com/GeyserMC/Geyser/issues/5269
2025-02-25 21:38:29 +01:00
onebeastchris
9733311508 Revert latest Geyser changes 2025-02-23 21:10:05 +01:00
chris
f0657c0d86 Don't restrict the default packet limit 2025-02-23 20:25:44 +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
fd4c80598e Fix skins not showing on 1.21.60 2025-02-20 17:01:39 +01:00
onebeastchris
ebaaed7542 fix test 2025-02-19 14:46:46 +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
chris
7448a994ad Fix: Server-side requested container closing (#5346)
* Work on closing inventories

* Test more container types, add very hacky player container close workaround

* Only send close container packet to Java edition when needed

* Adjust warning to hopefully find where desync issues occur

* don't crash when closing lecterns

* remove debug logging

* Don't send container close packet to the Java server when not needed, mainly for fake lecterns
2025-02-18 15:12:38 +01:00
Camotoy
778c0819ef Add the Gradle versions file, too... 2025-02-16 15:35:07 -05:00
Camotoy
ecc10d6560 Update direct connection/compression disabler for newest BungeeCord
Fixes #5348
2025-02-16 15:18:55 -05:00
onebeastchris
3e6172642d Update MCPL, resolves issues with the ClientboundPlayerInfoUpdatePacket 2025-02-16 16:58:44 +01:00
chris
d5b5712e60 Fix custom skulls (#5338) 2025-02-12 20:40:05 +01:00
Eclipse
b0bf867581 Add basic support for the 1.21.2 minecart experiment (#5134)
* Add simple translator for move minecart packet

* Cleanup code

* This could be cleaned up even more

* Implement minecart lerping

* Use ClientboundUpdateEnabledFeaturesPacket to set experimental minecart behavior

* Move experiment checking to a per-session check

---------

Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-12 16:32:55 +01:00
onebeastchris
4d36524d05 Fix https://github.com/GeyserMC/Geyser/issues/5280, update supported Bedrock version in the README.md
The "tracking" property seems to only be used server-side, so we should not rely on it client-side
2025-02-12 15:21:47 +01:00
onebeastchris
6c59a821c9 Fix eating animations not showing 2025-02-12 14:57:26 +01:00
chris
4ca4895eb0 Update boss event packet serializer
Update boss event packet serializer in codec processor
2025-02-12 00:12:49 +01:00
valaphee
bb6ff4ddb9 Update boss event packet serializer in codec processor 2025-02-12 00:06:54 +01:00
chris
4180c13f72 Bedrock 1.21.60 support, API 2.6.1 2025-02-11 19:50:19 +01:00
onebeastchris
04586a4532 Update API version to 2.6.1 2025-02-11 19:49:23 +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
Roch Blondiaux
c98796aeb6 Implemented a way to close forms from floodgate (#5247)
* feat: send close form packet when receiving empty form data

* use session#closeForm

---------

Co-authored-by: Roch Blonndiaux <contact@roch-blondiaux.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2025-02-11 18:03:31 +01:00