HomeJavaModsHazards AntiBlockSuffocation Plugin
Just a simple lightweight plugin which teleports users when they get stuck into a block, it detects suffocation damage and cancels the damage event while checking for the safest teleport spot for the player on a Vertical Axis.

This will check the Damage Cause and check if it was triggered by SUFFOCATION which is the Damage Type for Suffocation by Blocks. This will not affect Swimming (Drowning) as the Damage Type for Drowing is "Drowning", not "Suffocating".
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Hazards AntiBlockSuffocation Plugin is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 458 times (via Spigot). Download it and open it directly in the game.

Explore more