Create an air block (make the texture a texture of nothing, make transpancy type cutout/cutout_mipped, remove bound box, enable "can walk through the block?" and "is replaceable?", give entity an effect or damage when the player collides in the block, set generation really high where you want it, with it being able to replace void, cave and regular air.
Alot of this can be figured out just by looking through the block settings.
On your item or event trigger for each entity as iterator then deal damage.
Create an air block (make the texture a texture of nothing, make transpancy type cutout/cutout_mipped, remove bound box, enable "can walk through the block?" and "is replaceable?", give entity an effect or damage when the player collides in the block, set generation really high where you want it, with it being able to replace void, cave and regular air.
Alot of this can be figured out just by looking through the block settings.
thanks!