Reference

Baritone commands list

Type commands in chat with the # prefix so a typo never goes to public chat. In game, #help gives a clickable list with tab completion.

Moving and goals

#goto x y z
Go to a coordinate immediately. Also accepts #goto x z or #goto y.
#goto block_type
Go to the nearest block of a type, e.g. #goto portal or #goto ender_chest.
#goal x y z
Set a goal without moving. Also #goal x z, #goal y, or #goal alone for your feet.
#path
Start walking to the goal you set.
#goal clear
Remove the current goal.
#thisway 1000
Set a goal 1000 blocks in the direction you face; follow with #path.
#invert
Run as far away from the current goal as possible.
#come
Walk toward your camera position — useful with freecam.
#surface
Head to the closest surface or open air space. Alias: #top.
#axis
Go to the nearest axis or diagonal axis at the axisHeight setting (default 120).
#click
Click a destination on screen; right-click to stand on top, drag to select an area.

Stopping

#stop
Stop everything. #cancel does the same.
#forcecancel
Force-stop when a normal stop doesn't work.

Mining and building

#mine diamond_ore iron_ore
Mine one or more block types. Add a number to stop after that many.
#tunnel
Dig a 1×2 tunnel, deviating only to avoid hazards like lava.
#tunnel 3 2 100
Clear a straight tunnel 3 high, 2 wide and 100 long.
#build name.schematic
Build schematics/name.schematic at your feet; add x y z to set the origin.
#schematica
Build the schematic currently open in Schematica.
#farm
Harvest, replant and bone-meal crops. #farm <range> limits the distance.
#help sel
Area selection commands, including clearing an area.

Following and exploring

#follow player Name
Follow a player. #follow players follows anyone in range.
#follow entity pig
Follow entities of a type. #follow entities follows any entity.
#explore x z
Keep walking to the closest unseen chunk from a starting point.

Waypoints and searching

#wp save user name
Save a waypoint. Beds create 'home' and deaths create 'death' automatically.
#help wp
All waypoint commands, including going to a death or saved point.
#find block_type
Search Baritone's cache for a block's location.
#blacklist
Stop trying to reach the closest target block.

Information and maintenance

#help
Clickable command list with tab completion.
#eta
Estimated time to the next segment and goal (rough).
#proc
Show what process is controlling Baritone.
#version
Show the installed Baritone version.
#repack
Re-cache the chunks around you.
#render
Fix glitched chunk rendering.
#reloadall / #saveall
Reload or save Baritone's world cache.
#gc
Ask Java to free memory.

Changing settings

Type a true/false setting's name to toggle it (for example #allowBreak), or a name followed by a value for numbers. Useful ones to know:

allowBreakallowPlaceallowSprintallowParkourlegitMineavoidancefollowRadiusbackfillbuildInLayersblocksToAvoidBreakingrenderCachedChunks

Commands not responding? See troubleshooting, or start with the setup guide.