Minecraft wiki entry for Defense, associated text: Dig a block two blocks deep, fill the bottom block with water, and insert a pufferfish into the water block. Fill the top block with the block of the surrounding or a block of your choice. Any mob (including the player) that comes over it will get poisoned by the pufferfish's defense.