Magma Block

Magma Blocks are light-emitting naturally occurring blocks found in the Nether that cause fire damage when stepped on.

Obtaining
Magma blocks can be mined using any pickaxe. If mined without a pickaxe, it will drop nothing.

Natural generation
Magma blocks are found naturally in the Nether near lava lakes, generating 4 veins per chunk between Y=27 and Y=36, in large veins of similar size to dirt and a similar frequency to blocks like andesite in the Overworld. They can be broken with a pickaxe, and can be instant-mined with an efficiency 3 diamond pickaxe or faster.

Damage
Magma blocks damage living entities standing on top of them (with exception such as shulkers), dealing of damage every tick (although damage immunity reduces this to once every half-second). Magma blocks do not destroy items. Damage taken is considered fire damage and is reduced by armor, shields, the Resistance and Fire Resistance potion effects, and the Protection and Fire Protection enchantments. Armor will take damage, but a shield will not. The player can avoid being damaged at all, either by crouching, using a potion of fire resistance, or by wearing Frost Walker boots.

On killing a player, the death message displayed in chat is: " discovered floor was lava". If a player was pushed to their death onto magma blocks, the message is: " walked on danger zone due to ".

Behavior
When randomly ticked and water is on top of the block, the water will be removed with smoke particles.

Magma blocks emit smoke particles under rainfall.

If it receives light, it will emit the light level that it absorbed until the block is broken or moved by a piston. For example, a torch is placed 2 blocks away from the magma block illuminates it with a light level of 11. If the torch is broken, the magma block will continue to emit a light level of 11. If a magma block is exposed to sky light, it will continue to emit that level of sky light even if later covered.

Mobs avoid magma blocks that are in the way. Most mobs don't spawn on magma blocks (exceptions are magma cubes, zombie pigmen, and squids).