gitmyhub

baritone

Java ★ 9.0k updated 1d ago

google maps for block game

A pathfinding bot for Minecraft that automatically navigates terrain for you. Tell it where to go and it finds the route itself, handling climbing, swimming, block-breaking, and obstacle avoidance using the A* navigation algorithm.

JavaForgeMinecraftsetup: moderatecomplexity 3/5

Baritone is a pathfinding bot for Minecraft. The description calls it "google maps for block game," which is a good summary: you tell it where you want to go, and it figures out the route, navigating terrain, climbing, swimming, and avoiding obstacles on its own. Instead of manually walking your character through a world, Baritone can do the traveling for you.

The core of the project is a navigation algorithm called A*, which is a well-known technique for finding efficient paths from one point to another. Baritone applies this to Minecraft's block-based worlds, calculating how a player character would need to move step by step to reach a destination, including breaking blocks, placing temporary ones, or using other movement options the game allows.

Baritone is not a standalone application. It runs as a mod that plugs into existing Minecraft clients. The README lists several clients that have built Baritone in directly, including Impact, Lambda, Aristois, rootNET, and others. If you are already using one of those clients, Baritone may already be available to you. It can also be installed separately for use with Forge, a popular Minecraft modding platform.

The repository's master branch holds the version built for Minecraft 1.12.2, which is an older version of the game. As of August 2023, primary development shifted to a branch targeting version 1.19.4, prompted by a major server updating away from 1.12.2. The 1.12.2 branch has been in development for over five years and is considered stable, but new features are being built on the newer branch instead.

The project is open source and welcomes contributions. A Discord server is available for users and contributors. The license includes an unusual informal clause noted in the badge display.

Where it fits