Minecraft wiki entry for Mining_Fatigue, associated text: In Java Edition, once per minute, elder guardians in the vicinity search for any player within 50 blocks to afflict with Mining Fatigue III. A player cannot defend from this attack. Concealment behind blocks, underground, or by a potion of invisibility offers no defense.