Zombie Miner

The Zombie Miner is an undead hostile mob that spawns in groups in abandoned villages, where Miner villagers were supposed to spawn, or underground, normally near/inside underground structures like monster spawners or amethist geodes.

Looks
Its a regular zombie but it has a pickaxe on its hand, a maroon and dirty shirt and one of its legs replaced with a stick, sometimes they spawn with arrows all over his body or with a flame effect on its head. Some of its skull is revealed on the right part of the jaw.

Stats

 * Hp: 20
 * Damage: 4-6 (depends of the pickaxe)
 * Armor points: 2

Abilities and behavior
It will dig tunnels to break obstacles on its way and build blocks to trap the player, build bridges or reach high altitudes. when idle It can also place temporary torches to enchance its eyesight and detect players from further away. Digging tunnels decrease its pickaxe's durability, to a point where it breaks and the zombie cant break blocks anymore, nor drop pickaxes if killed.

Zombie miners only have 3-10 blocks they can use, but they can refill their inventory by mining or picking up blocks, they store up to 15 blocks. Sometimes they have a TNT block that they use when their health is low, they place it and ignite it to try to kill the player one last time.

Their default blocks vary from dirt, cobblestone, sand, gravel and wood planks.

Drops

 * Rotten flesh: 0-2 (common)
 * Torch: 1-4 (common)
 * Dirt/cobblestone/sand/gravel/wood planks: 1-8 (uncommon)
 * Flint: 3-5 (uncommon)
 * Iron ingot: 1-3 (rare)
 * Wooden/stone/iron shovel: 30% used (rare)
 * Random minerals: 3-6 (very rare)
 * Wooden/stone/iron pickaxe: 50% used (extremely rare)
 * TNT block: only 1 (impossible)
 * Diamond pickaxe: 30% used (impossible)
 * Experience: 7 orbs minimal