Strip mining by hand is honest work, and after the five hundredth stone block it stops being fun. This is the job minecraft baritone was born for: point it at an ore, and it searches, travels, digs and collects while you watch, refill your drink, or plan the base those diamonds are paying for. This guide covers how automatic mining actually works, how to set it up so it runs smoothly, and how to keep it safe around lava and long drops.
Set it up in single-player or on a server that allows it first. A mining bot is still a bot, and many servers ban them.
What the Mine Command Actually Does
Type #mine diamond_ore and a few things happen in a loop. Baritone scans the loaded world around you for blocks of that type, including ones it can work out are buried nearby. It picks a target, calculates a route, walks there through caves, tunnels or open ground, mines the block, collects the drop, and then looks for the next one. When it cannot find any more of that block within reach, it stops on its own and tells you in chat.
You can name more than one block in a single command, so a run like #mine diamond_ore emerald_ore gathers both whenever either turns up. Baritone remembers where it has been during the session, which helps it avoid re-checking the same emptied cave over and over.
Before You Start: Location, Gear and Settings
Automatic mining goes well when the setup is right, and most failed runs are setup problems:
- Start in the right layer. Baritone can only mine what generates nearby. For diamonds, get yourself down into the deep layers of the world where diamond ore appears, ideally near caves it can travel through, before you issue the command.
- Bring the right tools. Baritone uses what is in your inventory. A pickaxe that can actually harvest the ore, spare pickaxes for when one breaks, food, torches and a water bucket cover most surprises.
- Allow breaking. The setting
#set allowBreak truemust be on, or the bot can stare at an ore two blocks inside a wall and do nothing about it. - Protect special blocks. Add anything precious near your mining area to blocksToAvoidBreaking so a shortcut never costs you a chest, a spawner or your portal frame.
- Watch your inventory space. A full inventory means drops get left behind. Start empty-ish and check in regularly on long runs.
Running Your First Mining Session
Stand somewhere sensible, like the floor of a cave system in diamond territory, and type the command. Resist the urge to issue a giant order instantly. Start with a short session and watch how the bot moves: how it chooses routes, where it decides to dig through, and how it handles drops and dead ends. Five minutes of observation teaches you more than any guide, and it shows you exactly which settings your world needs.
On longer sessions, judge the run by your supplies rather than the clock. The real limits are pickaxe durability, inventory space and food. When a run ends because Baritone reports no more targets nearby, move to a fresh area with #goto and start it again, or let it travel further by exploring a new cave system first.
Build a rhythm of check-ins. Every few minutes, glance at the three numbers that end mining runs: free inventory slots, spare pickaxes, and your food supply. A run that ends at your feet with a full inventory and a chest nearby is a success you planned. A run that ends deep underground with a broken pickaxe and no food is a long walk home. The bot handles the digging; the logistics stay yours, and two minutes of preparation per session covers nearly all of it.
A small base camp makes long projects painless. Put a chest, a crafting table and a furnace at the entrance of your mining area, and ferry loads back with a quick #goto between sessions instead of letting drops pile up in your pockets. Smelt as you go, bank the valuables, and head back down with empty bags and fresh pickaxes. It is the difference between one heroic expedition and a system that quietly fills your storage room all week.
Choosing Your Targets Wisely
The command is only as smart as the target you give it. Ask for a rare block in the wrong place and Baritone will wander a long time finding nothing, because it cannot mine what the world has not generated nearby. Match the order to the ground you are standing in: common ores where they are plentiful, diamond ore down in the deep layers, and surface blocks like logs when you are up top in a forest.
Think in shopping lists. A run for iron ore alone is fine, and a run that adds coal to the same command keeps your furnaces fed with fuel from the same trip. Give the session a goal you can picture, like a stack of ore or a full set of spare tools, and stop the bot when you reach it. Open-ended sessions that run until the area is stripped tend to end in one of the boring stalls below, far from home, with a full inventory. Choosing targets well is half of mining with minecraft baritone, and it is the half entirely in your hands.
Keeping the Bot Alive Down There
Baritone is good at movement, but the deep caves of Minecraft are designed to kill the careless, and a bot has no fear. Lava is the classic problem: Baritone plans routes around known hazards, yet a fresh tunnel can open into a lava pocket, and gravel or sand collapsing can change the ground mid-step. Mining in shorter, supervised sessions in dangerous areas is simply smarter than leaving it alone for an hour.
Falls deserve the same respect. Settings around downward movement decide how willingly Baritone drops into shafts and caves. If your bot keeps hesitating at the edge of a drop that you would happily jump, that caution setting is why, and the settings guide below explains the trade-off. Mobs are the third risk: Baritone focuses on its task and will not fight back well, so light your mining area and clear it as you go.
When Mining Stalls and How to Fix It
A stall usually has a boring cause. The bot stops because there are no more target blocks it can find nearby, which is normal behaviour at the end of an area, solved by moving on. It stops because its pickaxe broke and nothing in the inventory can mine the ore, solved by carrying spares. It gets stuck against terrain it is not allowed to break or place on, solved by checking allowBreak and allowPlace. Or it keeps recalculating on a very long route to a distant ore, which a #stop and a shorter manual trip closer to the area will fix faster than waiting.
Treat every stall as information. Note what stopped it, adjust one setting or one habit, and the next session runs longer.
Conclusion
Automatic mining with minecraft baritone is a simple loop (find, travel, dig, collect) wrapped in a handful of sensible habits: start in the right layer, bring spare tools, allow breaking, protect the blocks you love, and keep an eye on dangerous ground. Set up that way, #mine turns the dullest chore in the game into background progress, and you come back to a pile of ore that would have taken you all evening by hand.
Read next:
Pingback: Minecraft Baritone Commands List: All Commands