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

4334 Commits

Author SHA1 Message Date
onebeastchris
dbf701feb1 Merchant changes, implement splash_potion entity type, some xp orb fixes 2025-03-28 21:16:03 +01:00
Eclipse
a7502a6b3a Adventure mode predicate hashing 2025-03-28 18:19:43 +00:00
onebeastchris
97e15da214 Implement thrown egg item variants 2025-03-28 19:06:52 +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
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
Eclipse
a2d5aab2f1 Fix mixin 2025-03-28 10:45:39 +00:00
onebeastchris
d927ec6465 Target 1.21.5 release, restore ButtonBlock mappings 2025-03-27 17:50:08 +01: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
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
onebeastchris
ae8062c5bc Revert api breaking change 2025-03-25 17:23:43 +01: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
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