Minecraft wenn schaden bekommen befehl ausführen?
Hallo. ich möchte gerne, dass wenn ich in der minecraft welt schaden bekomme, dass ein befehl ausgeführt wird. Geht das?
1 Antwort
Vom Fragesteller als hilfreich ausgezeichnet
1 mal:
/scoreboard objectives add damage minecraft.custom:minecraft.damage_taken
Im Repeat Comandsblock
execute as @a at @s if score @s damage matches 1.. run <befehl>
Im Chain comandblock auf conditional
execute as @a if score @s damage matches 1.. run scoreboard players set @s damage 0
Woher ich das weiß:Hobby