Geyser/core
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
..
src Fix: Ignore invalid block entity data sent by Java server (#4766) 2024-06-19 23:48:55 +02:00
build.gradle.kts Remove BlockStateUpdater dependency 2024-05-27 14:33:11 -04:00