AI-enabled ghasts and happy ghasts do not take damage from harmful blocks (cactus, powder snow, sweet wither rose) when they are not moving. This was not an issue in 1.21.5.
To reproduce
Build a 4x5 enclosure for a ghast, such as below, where the walls are glass or some other block that does not cause mobs to suffocate
[media]In the center, on the ground, place one of the following blocks:
- Cactus (requires sand of course)
- Powder snow
- Wither rose (requires dirt or grass of course)
(Note: sweet berry bushes do not damage entities that are not moving and so are not a valid block for testing this issue.)Spawn a ghast or happy ghast next to the block and immediately back away from it
❌ Although the ghast will initially be affected by the block, once it is no longer being pushed by you, it will cease being affected
The following video demonstrates that ghasts and happy ghasts with NoAI are not affected by this bug:
[media]
also powder snow. probably some change to ghast hitbox area.