1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-23 08:49:23 +00:00
Commit Graph

1711 Commits

Author SHA1 Message Date
Eclipse
c8c09c9b7d Work on abstracting entity variants to reduce code duplication 2025-03-25 17:08:15 +01:00
Eclipse
4ebd048411 Implement data driven frogs, some refactoring with wolf variants 2025-03-25 17:08:14 +01:00
Eclipse
d19fa2aa95 Implement data driven cats 2025-03-25 17:08:13 +01:00
Eclipse
c398d5c62c Work on farmland variants, not sure if this will work 2025-03-25 17:08:12 +01:00
Eclipse
8035a26198 Support new tooltip display component and other 1.21.5 things (#5417)
* Work on supporting new tooltip display component

* Fix some stuff and allow any item to function as saddle with the right components

* Some fixes and TODOs

* Re-implement tropical fish variant tooltip

* Fix hiding advanced tooltips

* Fix ominous banner tooltip, custom name and some TODOs

* Implement RegistryEntryData to allow getting an object from registry cache by its key

* Fix goat horns (I think)

* We prefer checkers for the nullable/nonnull annotations

* Remove unused NotNull import

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

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2025-03-25 17:08:11 +01: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
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
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
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
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
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
valaphee
bb6ff4ddb9 Update boss event packet serializer in codec processor 2025-02-12 00:06:54 +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
onebeastchris
b96f9157e9 Fix: Use real barrels whenever possible instead of fak chest workaround
Fixes https://github.com/GeyserMC/Geyser/issues/5292, fixes https://github.com/GeyserMC/Geyser/issues/5294
2025-02-06 18:40:32 +01:00
onebeastchris
0416b55959 Fix: Looms modifying default data components causing visual bugs
Closes https://github.com/GeyserMC/Geyser/issues/5273
2025-02-04 17:25:37 +01:00
chris
ea13e588cd Fix: non-vanilla custom blockstate registration (#5310)
* Try fixing custom blockstate registration

* another attempt; round two

* register collisions

* don't register block states twice
2025-02-02 15:16:34 +01:00
onebeastchris
da6e2f678b Fix custom stone cutter recipes
closes https://github.com/GeyserMC/Geyser/issues/5257, closes https://github.com/GeyserMC/Geyser/issues/5268
2025-01-29 18:18:14 +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
onebeastchris
98f9bf6b62 Fix issues with Geyser-Spigot that occurring with older server versions 2025-01-19 14:29:58 +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
a7d475e7e4 fix black particles around invisible area effect cloud entities 2025-01-17 22:48:03 +01:00
onebeastchris
07629a42c9 Only send the ServerboundClientTickEndPacket while in the GAME protocol state, make locale non-null
Fixes https://github.com/GeyserMC/Geyser/issues/5278
2025-01-15 23:25:57 +01:00
chris
58e2f17e08 Fix: Brand message being sent too early (#5265)
* Fix: Brand message not being sent, send lowercase locale, ensure the MCPL default listener comes first

* Refactor disconnect handling

* apparently default listeners aren't always first... huh

* fix issue with bundle cache attempting to check a null inventory
2025-01-12 20:44:33 +01:00
Oliver
65f7bdb3c0 Fix modded items not having a bedrock ID set (#5271) 2025-01-09 19:57:27 +01:00
Camotoy
ddd1afabd1 Bundle support (#5145)
* Bundle support

* Touchups

* Correct bundle mapping

* Grabbing a bundle from creative mode does work

* Fix inserting items that already exist in a bundle

* Add bundle drop workaround

* Address review
2025-01-05 16:34:57 +01:00