VillageCatSpawner 5.46.0
Spawns stray cats in villages (Bedrock population "cat", https://minecraft.wiki/w/Cat#Spawning): a village wants one cat per 4 claimed beds, at most 5; every VillageCatSpawner::INTERVAL ticks, each village a player is in that has fewer cats inside its boundary tries to spawn one in the 17x13x17 blocks around its centre, a baby 25% of the time. Village cats don't despawn.
Constants
BABY_CHANCE
php
public const BABY_CHANCE = 25BEDS_PER_CAT
php
public const BEDS_PER_CAT = 4INTERVAL
php
public const INTERVAL = 1200MAX_CATS
php
public const MAX_CATS = 5Methods
__construct()
php
public function __construct(\pocketmine\world\World $world)tick()
php
public function tick(int $currentTick) : void