Minecraft wiki entry for Defense, associated text: The easiest way to use cats is to build a fence around them or just let it simply wander around a closed off area. This way, once a creeper comes, the cat will scare the creeper away.