Minecraft wiki entry for Combat, associated text: Since the larger slimes are slightly over 1 block wide, the player can trap them behind walls and hit them easily. They are also easily killed by attacking from above. Attacking from above or backpedaling will prevent too many from attacking at once. Water is also effective at slowing them down.