1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-29 03:39:22 +00:00
Commit Graph

1368 Commits

Author SHA1 Message Date
Eclipse
4fc1361dd0 Even more hashers for data components, that also need testing 2025-03-28 14:24:56 +00:00
Eclipse
65f958e257 A bunch more components that still need their testing 2025-03-28 13:40:29 +00:00
Eclipse
4573e904f4 Some TODOs done and consume effect hashing, needs testing 2025-03-28 12:07:29 +00:00
Eclipse
e8358edf30 Fix text component hashing 2025-03-28 11:26:15 +00:00
Eclipse
497ff7bb35 Add some tests for components and debug some things 2025-03-28 11:08:54 +00:00
onebeastchris
d927ec6465 Target 1.21.5 release, restore ButtonBlock mappings 2025-03-27 17:50:08 +01:00
Eclipse
63326e468c More component hashers, also need tests 2025-03-26 11:39:52 +00:00
Eclipse
037f8c542d Finish text component hashing and implement components using it 2025-03-26 10:50:54 +00:00
Eclipse
8cfe776363 Some more components, still needs their tests, work on text component hashing 2025-03-26 08:38:43 +00:00
Eclipse
ba9544713a Item stack, use remainder component hashers, update mappings 2025-03-25 21:38:50 +00:00
Eclipse
e78b6b431e Fix test 2025-03-25 20:49:33 +00:00
Eclipse
413be6c8b8 Some cleanups and stuff 2025-03-25 20:39:12 +00:00
Eclipse
4e06608f84 MCPL fixes, make it run 2025-03-25 20:39:11 +00:00
Eclipse
7a3c22d133 A whole bunch more components and tests 2025-03-25 20:39:11 +00:00
Eclipse
51cc5eb41a Some fixes, and actually test everything 2025-03-25 20:39:10 +00:00
Eclipse
37f18d515d Some small refactors and a bunch of component hashers 2025-03-25 20:39:10 +00:00
Eclipse
05d1233555 Work on hashing components using their vanilla codecs
Whoops remove this

Pretty big refactor, looks a lot cleaner now

More components hashing

Hashers with registry access and more stuff

Hasher helpers, NBT hashers

Some hasher method renames

Something something component hashing
2025-03-25 20:39:09 +00:00
Eclipse
f2ec8d5cee Random stuff to make it run 2025-03-25 20:39:09 +00:00
Eclipse
85f1a60753 Changes to variants:
- All entity variants in rc1 are sent as int IDs by java, holders are no longer used
- Fixed reading of mooshroom variants
- Temperature animal variants now look a lot cleaner

It builds!
2025-03-25 17:08:19 +01:00
Eclipse
226fd2917c "Fix" farm animal variants 2025-03-25 17:08:18 +01:00
Eclipse
2086333685 Use entity properties for farm animal variants 2025-03-25 17:08:17 +01:00
Eclipse
4c2ac05a53 Implement VariantHolder for farm animals, still have to figure out how to do this efficiently 2025-03-25 17:08:16 +01:00
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