tick2.mcfunction 365 B

1234
  1. # 检查玩家是否移出了准备物品
  2. execute as @a[team=hub_watch] unless data entity @s Inventory[{Slot:0b,id:"minecraft:light_gray_wool",tag:{"lobby_item":1b}}] run function ltw:state/0/sp/join_play
  3. execute as @a[team=hub_play] unless data entity @s Inventory[{Slot:0b,id:"minecraft:lime_wool",tag:{"lobby_item":1b}}] run function ltw:state/0/sp/join_watch