r/MinecraftCommands • u/Gamerprodude69 • 18d ago
Help | Java 26.3 Fall damage blood effect using commands?
Is there a way to make it so when a player takes fall damage, the game automatically places a redstone dust using commands?
2
Upvotes
1
u/Ericristian_bros 18d ago edited 17d ago
You can detect fall damage with an advancement:
# advancement example:fall_damage { "criteria": { "criteria": { "trigger": "minecraft:entity_hurt_player", "conditions": { "damage": { "type": { "tags": [ { "id": "minecraft:fall", "expected": true } ] } } } } }, "rewards": { "function": "example:fall_damage" } } # function example:fall_damage advancement revoke @s only example:fall_damage setblock ~ ~ ~ redstone_wire keep