Minecraft wiki entry for Wolf, associated text: Standing tamed wolves wander randomly when near their owner, but follow if more than 10 blocks away and teleport to a nearby free block (if any) if more than 12 blocks away. Besides making travel easier, teleportation can be used to rescue them from lava, water or pits, as they immediately teleport to a safe area.