tick20.mcfunction 274 B

123456
  1. # 随机召唤僵尸
  2. scoreboard players set $random_min mem 0
  3. scoreboard players set $random_max mem 2
  4. function lib:random
  5. execute if score $random mem matches 1 run summon zombie 1006.0 20.5 5013.0
  6. execute if score $random mem matches 2 run summon zombie 1015.0 20.5 5013.0