Cats that spawn with the creation of a village do not despawn, however, any additional cats that spawn within a village may despawn. Untamed cats spawn in villages as long as there are at least five claimed beds within 48 blocks and at most four cats within a 97×17×97 box centered around the spawn position. A cat can spawn if that block is less than 2 chunks from a village with fewer than 5 cats, or inside a swamp hut. A random player is selected (including spectators) and a random location is chosen 8-32 blocks away from the player horizontally in both directions and at the same height. Cats can spawn every 1200 ticks (1 minute).