|
|
@@ -13,9 +13,3 @@ scoreboard players remove @a[scores={effect_regen=0..}] effect_regen 1
|
|
|
effect clear @a[scores={effect_regen=0}] levitation
|
|
|
execute as @a[gamemode=!spectator] at @s if block ~ ~-0.01 ~ emerald_block run effect give @s regeneration 2 2
|
|
|
execute as @a[gamemode=!spectator] at @s if block ~ ~-0.01 ~ emerald_block run scoreboard players set @s effect_regen 4
|
|
|
-
|
|
|
-# execute as @a[gamemode=!spectator] if score @s effect_regen matches 1.. run scoreboard players add @s effect_regen 1
|
|
|
-# execute as @a[gamemode=!spectator] if score @s effect_regen matches 5.. run effect clear @s regeneration
|
|
|
-# execute as @a[gamemode=!spectator] if score @s effect_regen matches 5.. run scoreboard players set @s effect_regen 0
|
|
|
-# execute as @a[gamemode=!spectator] unless score @s effect_regen matches 1.. at @s if block ~ ~-1 ~ emerald_block run effect give @s regeneration 2 2 true
|
|
|
-# execute as @a[gamemode=!spectator] unless score @s effect_regen matches 1.. at @s if block ~ ~-1 ~ emerald_block run scoreboard players set @s effect_regen 1
|