Ocelots spawn injungles biomes on both grass blocks and leaf blocks. If they don't spawn, you should try to kill all other animals. The game has a mob cap which prevents more mobs from spawning when this cap is reached. Where do you find ocelots in Minecraft?
Using 1.18.2-pre1, Mojang mappings The logic for zombie reinforcement is in the methodnet.minecraft.entity.monster.Zombie.hurt(DamageSource, float); it contains several checks, includingNaturalSpawner.isSpawnPositionOk(...)which checks for an empty valid spawn block within the world border, andS...