Wiki 9Minecraft Wiki 9Minecraft

Baritone Goals

Guides 9FAQ 13Related mods 60
DownloadBaritone 9minecraft Client Mod

Get the files on 9Minecraft

A goal is the objective Baritone tries to reach. Most commands create a goal for you, but understanding goal types helps when using the API or composite objectives.

  • GoalBlock(x, y, z) — reach one exact block position.
  • GoalXZ(x, z) — reach an X/Z column at any Y (best for long travel).
  • GoalYLevel(y) — reach a specific height.
  • GoalNear(x, y, z, range) — get within range blocks of a position.
  • GoalGetToBlock(x, y, z) — stand adjacent to a block (used by #goto <block>).
  • GoalComposite(...) — satisfy any one of several goals (closest wins).
  • GoalRunAway(...) — maximize distance from a point (used by #invert).

#goal sets a goal and waits; #goto sets a goal and starts pathing immediately.