Minecraft wiki entry for Cat, associated text: They sprint away from any player within 7 blocks (unless the player is sneaking‌[BE only] or difficulty is set to peaceful‌[JE only]), and avoid players within 16 blocks. However, they slowly approach a player holding raw cod or salmon within 10 blocks, allowing the player to feed and tame it (see § Taming below). If the player moves, turns too quickly, or stops holding the fish while within 6 blocks, the cat flees and does not attempt to approach the player for a few seconds.