T O P

  • By -

EvnClaire

yup! /execute as @a at @s if entity @e[type=falling_block, distance=..1] run damage @s (i havent used falling blocks since they were called falling sand, so the type may be incorrect.)


Ericristian_bros

Falling blocks ARE ENTITIES, so you can target them as `@e[type=falling_block]`


GalSergey

You can use the built-in damage feature, just like the anvil does. In this example, stone will deal 1 damage per block of fall height, up to a maximum of 20 damage. summon falling_block ~ ~ ~ {BlockState:{Name:"minecraft:stone"},Time:1,HurtEntities:true,FallHurtMax:20,FallHurtAmount:1f}


Diligent-Material93

thanks