Put a pickaxe, axe, or hammer inside the Miner. It will break mine-able blocks that are in front of it. If you use a Hammer, it will break down the block the same way a hammer does. Place an axe inside the Miner and it will fell any tree in front of it. If the tree is too large, it may not work. Unbreaking enchantments also work on tools in the Miner.

Miner Recipe

Note: There is a limit of 30 miners per island.