Rain cats and dogs

The weather changed and it’s raining cats and dogs! Cats and dogs fall from the sky with the rain!
Try the code:
player.onChat("rain", function (amount) { gameplay.setWeather(Weather.Rain) for (let i = 0; i < amount; i++) { mobs.spawn(OCELOT, randpos( pos(10, 5, 10), pos(-10, 5, -10) )) mobs.spawn(WOLF, randpos( pos(10, 5, 10), pos(-10, 5, -10) )) } })