Poisoned Water Using /Stat

Poisoned Water Using /Stat

 

Commands:

Setup:
1. /scoreboard objectives add Water dummy
2. /scoreboard objectives setdisplay sidebar Water

Run once for each new player
3. /scoreboard players set @a Water 0
4. /stats entity @a set SuccessCount @p Water

Clock:
Top – /fill ~ ~-1 ~ ~ ~-1 ~ redstone_block
Bottom – /fill ~ ~1 ~ ~ ~1 ~ stone

5. Test for water: /execute @a[r=30] ~ ~ ~ testforblock ~ ~ ~ water
6. Damage: /effect @a[score_Water_min=1] minecraft:wither 3 1

 

DragnozGreenBar-map-download

Leave a Reply