GeyserMC/api
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/main/java/org/geysermc/geyser/api Fix: Ignore invalid block entity data sent by Java server (#4766) 2024-06-19 23:48:55 +02:00
build.gradle.kts Feature: Camera/Input locking API (#4332) 2024-01-31 11:21:06 +01:00