Magma Cube

Magma cubes are hostile mobs with dark red and black skin and red, orange and yellow eyes that can be found exclusively in the Nether. They are considered the Nether equivalent of slimes, with similar behaviors.

Spawning
Magma cubes spawn rarely everywhere in the Nether at all light levels, but their spawn rate is higher in nether fortresses.

Drops
Big and small sized magma cubes have a 25% chance to drop a single magma cream, the chances and amount can be increased with the Looting enchantment.

Behavior
Magma cubes move by hopping, which they will do each 40 to 120 ticks (2 to 6 seconds).

Magma cubes will search for a player within 16 blocks (spherical) distance.
 * If no players are found, they wait 40 to 120 ticks (2 to 6 seconds). Then they will change direction, by a random amount up to 57.26° (1 radian) left or right, jump, and repeat the process.
 * If a player is found, the delay before jumping will be $1⁄3$ as long (13 to 40 ticks), and the magma cube's direction will be set directly toward the nearest player before jumping.

Magma cubes cannot burn and are not slowed down or damaged by lava. Instead, it seems that they can swim upward extremely quickly in lava. They cannot be hurt from fall damage and do not drown in normal water.

Magma cubes' jump height depends on their size. Their forward speed is twice that of most other mobs. They always make a distinct sound upon jumping up and landing, but no idle sounds.

Unlike most other mobs, magma cubes have no pathfinding ability, meaning that they will not avoid falling off cliffs, cannot go around walls, even when they are chasing a player.

Combat
Magma cubes attack players by attempting to land on top of them, but can cause damage when the player touches them anywhere. This can make large cubes tricky to fight, as their jump rate is fairly random.

The health of a magma cube is size squared. The attack strength is size plus 2. The armor points is size tripled.

A magma cube's jump height and distance also depends on their size; a magma cube will jump a distance approximate to its length times 1.5, and a height equivalent to their size in blocks. This means that a size 4 magma cube will jump four blocks in height and move significantly quicker than a size 2 magma cube, which will jump two blocks in height, while a size 1 (tiny) will move at a very slow rate and jump one block in height.

When a magma cube is killed, it may split into 1 to 4 magma cubes of the smaller size, and will disappear like other mobs if the smallest size is killed.

Magma cubes also have an odd attack interval: their attack speed is twice that of other melee-combat mobs. Mobs like Endermen and silverfish attack at a rate of one hit per second, while magma cubes attack at a rate of two hits per second. Essentially, this means that a size 4 magma cube will deal six hearts of damage per second on normal difficulty, dealing three hearts every half-second.

Data values
Magma cubes have entity data associated with them that contain various properties of the mob. Their entity ID is.

Trivia

 * A named large magma cube that dies, produces smaller magma cubes with the same name.

Gallery
Magmawürfel Cube de magma Magmakocka Cubo di magma マグマキューブ 마그마 큐브 Kostka magmy Лавовый куб 岩浆怪