Commit Graph

1099 Commits

Author SHA1 Message Date
chris 126d56d144
Fix: Ignore invalid block entity data sent by Java server (#4766)
* Proper block entity checks; ignore invalid block entity data sent by Java server

* fix intelliJ warning about potentially null block state

* Use auto-generated block entity types instead of hardcoding them

* undo some diff

* Update BlockRegistryPopulator.java

* Access block entity type of state by getting the block first

* deprecate JavaBlockState#hasBlockEntity

* Simplify check

* Add type check in JavaBlockEntityDataTranslator, ensure deprecated setBlockEntity() method still sets piston behavior

* nullability annotations

* yeet duplicate check
2024-06-19 23:48:55 +02:00
Camotoy 2c47330509
Use integrated world managers for decorated pot animation 2024-06-19 15:52:54 -04:00
chris 6884a0f7db
Fix: norwegian locale handling (#4716) 2024-06-19 02:37:34 +02:00
Camotoy a9300fb1ab
Vault: show some components in block entity (enchantments, potion types) 2024-06-18 15:30:19 -04:00
chris 29928c2d83
Sanity check for shulker boxes (#4762) 2024-06-17 18:46:57 +02:00
basaigh deb25d7147
Bump mappings to fix effects error on startup (#4760) 2024-06-17 13:17:57 +01:00
Eclipse 63a3da7c56
Fix reading custom jukebox songs (#4757)
* Read sound event objects properly in jukebox song

* Add debug log for unexpected sound event type
2024-06-16 19:35:18 -04:00
basaigh 1efb633723
Bump MCPL (#4756) 2024-06-16 22:05:28 +01:00
YHDiamond 6cda7c2202
Partially implement handling of "hide_tooltip" and fix attribute modifiers in "Armor" category not showing (#4731)
* Skip lore creation if hide tooltips exists

* Fix not showing attributes for "Armor" category

* Minor refactor

---------

Co-authored-by: chris <github@onechris.mozmail.com>
2024-06-16 21:01:21 +02:00
Camotoy 3b46622ffa
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21 2024-06-16 12:19:32 -04:00
Camotoy 6025931c7d
Properly translate player entity UUID for vaults 2024-06-15 22:40:29 -04:00
Camotoy 851ed36244
Translate vault block entity 2024-06-15 16:52:09 -04:00
Camotoy be83fe7220
Re-enable crafter inventory 2024-06-14 19:36:10 -04:00
Camotoy 7e87af718b
Fix item attribute modifiers 2024-06-14 16:48:46 -04:00
Camotoy a9ba1ad603
Properly translate ominous items 2024-06-14 15:44:00 -04:00
Camotoy 28e4661fcf
Fix incoming player chat 2024-06-14 14:02:11 -04:00
chris 138c7b4eee
Catch EOFExceptions while pinging Java servers when it is misconfigured/not online (#4746)
* Catch EOFExceptions when the remote server is misconfigured/not online
2024-06-14 17:27:30 +02:00
Camotoy 4a334a2c8d
Bed block sanity check for villagers 2024-06-13 14:58:39 -04:00
Camotoy 746be566a2
Sanity check for BlockState being chest 2024-06-13 13:53:20 -04:00
Camotoy ce3083b9b8
Fix key regression with pre-built registries 2024-06-13 11:24:16 -04:00
Camotoy 842e1b4d12
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21 2024-06-13 11:12:01 -04:00
chris db5a528965
Fix: Improper detection of virtual double chests (#4738) 2024-06-13 16:53:01 +02:00
chris d00cab18fd
Only translate double chest tags if we are dealing with a double chest (#4736) 2024-06-13 14:14:57 +02:00
Camotoy 026e6fc4f1
Merge remote-tracking branch 'origin/master' into feature/1.21 2024-06-12 23:48:51 -04:00
Camotoy be04ff2a13
Update to latest MCProtocolLib 2024-06-12 23:48:40 -04:00
Camotoy 3528b1d692
Allow recipes to default count as 1 2024-06-12 22:47:47 -04:00
Camotoy 52a93ecc18
Implement breeze 2024-06-12 22:16:14 -04:00
Camotoy 9db1dd10d2
Fix some water plants not being waterlogged 2024-06-12 20:56:06 -04:00
Camotoy 82d0a87020
Remove debug code 2024-06-12 20:45:47 -04:00
Camotoy 2ecc4cd841
Point to right mappings 2024-06-12 20:42:29 -04:00
Camotoy ecffb564ed
Refactor static recipe loading
The only recipes added should be the ones that are sent on Bedrock, so it appears in the recipe book. Every other recipe will be handled through our fallback system.
2024-06-12 20:34:42 -04:00
Camotoy a42c979abb
This variant of tag loading should be slightly more efficient 2024-06-12 00:12:15 -04:00
Camotoy 29dacd2397
Properly remap coral blocks on 1.20.80 2024-06-11 14:26:53 -04:00
Camotoy b78c7b2bd3
Fix #4729 2024-06-11 10:54:57 -04:00
Camotoy 956a84a3fb
Enchantment tag can be null 2024-06-11 10:47:26 -04:00
Camotoy d19807170d
Properly show dyed wolf armor 2024-06-10 22:40:14 -04:00
Camotoy 7fc370cef7
Merge remote-tracking branch 'origin/master' into feature/1.21 2024-06-10 22:04:27 -04:00
Camotoy 9a310f248b
1.21-pre4 updated block tags 2024-06-10 21:59:03 -04:00
Camotoy 538e9f4dd6
Properly remove SnowCollision 2024-06-10 17:04:43 -04:00
Camotoy 18ad652bcb
Merge branch 'master' of https://github.com/GeyserMC/Geyser 2024-06-10 16:59:42 -04:00
Camotoy 02179a798f
You shall compile! 2024-06-10 16:53:14 -04:00
Camotoy f954dd9b48
oooops 2024-06-09 16:58:26 -04:00
Camotoy ae6059bdc3
Implement wind charges 2024-06-09 16:57:51 -04:00
Camotoy e9e364636a
New potion effects 2024-06-09 15:44:29 -04:00
Camotoy c136bcb34d
Merge remote-tracking branch 'origin/dev' into feature/1.21 2024-06-09 15:39:41 -04:00
Camotoy 007ecb4363
Ensure custom blocks can be represented at any index 2024-06-09 15:06:39 -04:00
Camotoy 79bcc790ce
Remove Registries.RECORDS 2024-06-06 20:30:55 -04:00
Camotoy 29c9515d55
Re-implement jukebox songs 2024-06-06 20:28:38 -04:00
Camotoy 8f5d1560a2
Implement Bogged entity 2024-06-06 18:20:24 -04:00
Camotoy 3f8739a88f
New effects 2024-06-05 16:56:44 -04:00