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

1711 Commits

Author SHA1 Message Date
SamB440
6fe38af43d Set ground status to false for teleports (#5461) 2025-04-08 23:57:22 +02:00
onebeastchris
ae130cf5a5 Fix sign reading in specific cases where the "text" key is omitted 2025-04-03 13:18:38 +02:00
onebeastchris
c47264d126 Fix: Lecterns locking up container opening
closes https://github.com/GeyserMC/Geyser/issues/5456
2025-04-02 23:12:02 +02:00
onebeastchris
c6101d71db Don't convert sign text multiple times 2025-04-02 22:56:09 +02:00
onebeastchris
8128fb9df2 Fix text on signs, remove unused Minecart entity property 2025-04-02 22:44:50 +02:00
onebeastchris
db0576099b Indicate 1.21.71 support in readme 2025-04-01 19:01:07 +02:00
onebeastchris
db588da832 Update mappings 2025-04-01 18:54:34 +02:00
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
onebeastchris
6ca2a2391d Drop Bedrock 1.21.40 support 2025-04-01 00:22:50 +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
Eclipse
b46651e3a6 Fix hashing of item container contents component 2025-03-31 14:20:10 +00:00
Eclipse
de1c1975b0 Fix trim materials (somewhat), other minor things 2025-03-30 15:09:03 +00:00
Eclipse
0bd3db4075 Finish documentation on hashing classes, correctly hash data component removals in item stacks, some cleanups 2025-03-29 11:56:32 +00:00
Eclipse
e219b1c156 Correctly hash changed items in ClickPlan 2025-03-29 11:38:01 +00:00
onebeastchris
37d04a2c6f Fix saddle inventory slot setting 2025-03-29 02:40:04 +01:00
Eclipse
6e790b89c6 Implement data component hashing in inventory transactions, disable printing tests 2025-03-28 21:22:21 +00:00
Eclipse
dbd3187349 Reorganise RegistryHasher, write more documentation 2025-03-28 20:28:58 +00:00
Eclipse
659dbeaca3 Some refactors, first work of documentation on component hashing 2025-03-28 20:28:58 +00:00
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
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
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