|
|
@@ -2,7 +2,7 @@
|
|
|
clear @s lime_dye{lobby_item:1b,lobby_ready:1b}
|
|
|
kill @e[type=item,nbt={Item:{id:"minecraft:lime_dye",tag:{lobby_item:1b,lobby_ready:1b}}}]
|
|
|
execute if data entity @s Inventory[{Slot:8b}] unless data entity @s Inventory[{Slot:8b,tag:{lobby_item:1b,lobby_ready:1b}}] at @s run function item:disable_slot/disable_slot_8
|
|
|
-replaceitem entity @s hotbar.8 gray_dye{lobby_item:1b,lobby_watch:1b,display:{Name:'{"text":"旁观 (按 Q 切换)","color":"white","bold":true,"italic":false}',Lore:['{"text":"你将在下一局旁观游戏","color":"gray","italic":false}']}}
|
|
|
+replaceitem entity @s hotbar.8 gray_dye{lobby_item:1b,lobby_watch:1b,display:{Name:'{"text":"旁观 (按 Q 切换)","color":"white","italic":false}',Lore:['{"text":"你将在下一局旁观游戏","color":"gray","italic":false}']}}
|
|
|
execute at @s run function lib:sounds/hit2
|
|
|
|
|
|
# 处理数据
|