|
|
@@ -5,6 +5,10 @@ execute if score $mini_type mem matches 2 run function mini:tntrun/tick5
|
|
|
execute if score $mini_type mem matches 3 run function mini:hotpm/tick5
|
|
|
execute if score $mini_type mem matches 5 run function mini:phantom/tick5
|
|
|
|
|
|
+# 特殊方块给予效果
|
|
|
+execute as @a[tag=mini_running] at @s if block ~ ~-1 ~ diamond_block run effect give @s levitation 1 5 true
|
|
|
+execute as @a[tag=mini_running] at @s if block ~ ~-1 ~ diamond_block run effect give @s slow_falling 2 0 true
|
|
|
+
|
|
|
# 同步生命值
|
|
|
scoreboard players reset * temp
|
|
|
scoreboard players set @a[gamemode=!spectator] temp 20
|