|
@@ -12,6 +12,10 @@ execute if score $countdown_fast mem matches 0 if entity @a[tag=pm_holding] run
|
|
|
# 检测土豆
|
|
# 检测土豆
|
|
|
function mini:hotpm/game/pm_check
|
|
function mini:hotpm/game/pm_check
|
|
|
|
|
|
|
|
|
|
+# 往手上塞tnt
|
|
|
|
|
+execute as @a[tag=pm_holding] unless data entity @s Inventory[{Slot:8b,tag:{game_item:1b},Count:1b}] run function mini:hotpm/game/pm_show
|
|
|
|
|
+execute as @a[tag=!pm_holding] if data entity @s Inventory[{tag:{game_item:1b}}] run clear @s tnt{game_item:1b}
|
|
|
|
|
+
|
|
|
# HUD
|
|
# HUD
|
|
|
scoreboard players set $bossbar_color mem 0
|
|
scoreboard players set $bossbar_color mem 0
|
|
|
scoreboard players set @a[tag=pm_holding] bossbar_color 1
|
|
scoreboard players set @a[tag=pm_holding] bossbar_color 1
|