Files
oneblock_cobblemon
Code
8 76
oneblock_cobblemon/data/oneblock_cobblemon/function/spawn_pokemon.mcfunction
scoreboard players random #species ob_random 1 8
execute positioned 0 100 0 if score #species ob_random matches 1 run spawnpokemon pikachu
execute positioned 0 100 0 if score #species ob_random matches 2 run spawnpokemon eevee
execute positioned 0 100 0 if score #species ob_random matches 3 run spawnpokemon bulbasaur
execute positioned 0 100 0 if score #species ob_random matches 4 run spawnpokemon charmander
execute positioned 0 100 0 if score #species ob_random matches 5 run spawnpokemon squirtle
execute positioned 0 100 0 if score #species ob_random matches 6 run spawnpokemon pidgey
execute positioned 0 100 0 if score #species ob_random matches 7 run spawnpokemon rattata
execute positioned 0 100 0 if score #species ob_random matches 8 run spawnpokemon magikarp
scoreboard players set #mined ob_blocks 0