Usage Guide

AltoClef has a variety of commands, settings and modes. This will give users an overview on how to use the bot.

Keep in mind this project is still in rapid development. A lot of features are placeholders and a work in progress.

Commands

Commands are prefixed with @. Here’s a list along with their functions:

commanddescriptionexamples
helpLists all commands
gamerBeats the game epic style@gamer
reload_settingsReloads the local settings file. Run this every time you want your settings to be updated.
gamma {brightness=1}Sets the game’s gamma. Useful for testing. 0 is “Moody” and 1 is “Bright”, and you can go beyond to enable fullbright.@gamma 1000
scanLogs the nearest given block currently found be BlockScanner.@scan dirt
statusPrints the status of the currently executing command. Mostly useful when running through /msg.
stopForcefully stops the currently running command. The shortcut CTRL+K also achieves this.
test {testname}Runs a “test” command. These vary, and will be described below.

Notable test commands

Test commands are temporary/only exist as an experiment, but some of these might be interesting. For example, @test terminate runs the terminator. Here’s a list of some highlights.

note this list doesn’t include all the test tasks, but it is not my priority to update it…

test namewhat it does
terminateRuns the terminator task. When without diamond gear, the bot flees players and obtains diamond gear + food. When diamond gear is equipped, the bot hunts any nearby players down and searches for any chunks that were last seen to have players in them.
deadmemeExpects a file to exist in your .minecraft directory called test.txt. Reads from this file, then displays the text contents of the file by placing signs in a line. Dubbed the “Bee Movie Task” for stupid reasons. Will automatically collect signs and building materials if the bot runs out.
173Attacks any player that doesn’t have direct line of sight to the bot and stands still otherwise. Like a weeping angel.
replaceReplace grass block within around 100 blocks with crafting tables. Frequently fails when replacing grass blocks next to water.
piglinCollects 12 ender pearls via piglin bartering.
stackedCollects diamond armor, a sword and a crafting table.
netheriteSame as stacked but for netherite gear.
signPlace a sign nearby that says “Hello there!”
bedRight clicks a nearby bed to set the bot’s spawnpoint, placing one if it does not exist.

Bot Settings/Configuration

After running the game with the mod once, a folder called altoclef should appear in your .minecraft directory. This contains altoclef related settings and configurations.

Regarding the altoclef_settings.json file Check Settings.java file of the fork you are using.

Other configs can be found in the configs subdirectory. Some of the beat_minecraft.json settings may not work, but I plan to reimplement proper settings in the future.

After modifying your local settings, run @reload_settings to apply your changes in-game.