-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
It seems like anvils spawned by World#spawnFallingBlock(Material, byte) do not hurt entities as the boolean flag "hurtEntities" in its handle is always false and not settable.
The only way to enable damage for entities is to access NMS directly or set an anvil block instead of spawning a falling block.
Therefore I would like to see a getter and setter for this boolean value added. A setter is already implemented by the EntityFallingBlock#a(boolean) method, however there is no getter so the "hurtEntities" field must be changed to public to achieve a getter on this field.