If you connect an upwards facing piston to a clock circuit and place a slime block on top of the piston, any mobs that are spawned on top of the slime block will sometimes get hurt when landing on the slime block. Sometimes you will need to spawn the mob with No AI to get this to work.
Related issues
Attachments
Comments

[media]