2
0

try_summon.mcfunction 381 B

123456789
  1. # 尝试召唤幻翼
  2. # 数量要求:已有幻翼 < 玩家人数 * 2
  3. function mini:main/update_player_count
  4. scoreboard players operation #count mem = $player_alive mem
  5. scoreboard players operation #count mem += $player_alive mem
  6. execute as @e[type=phantom] run scoreboard players remove #count mem 1
  7. execute if score #count mem matches 1.. run function mini:phantom/game/summon