All Classes and Interfaces
Class
Description
Use this whenever you want to travel to a target position that may change.
Interacts with an entity while maintaining distance.
Opens a STORAGE container and does whatever you want inside of it
Attacks an entity, but the target entity must be specified.
Sometimes we will try to access something and fail TOO many times.
Central access point for AltoClef
Initializes altoclef's built in commands.
Deprecated.
Takes a stream input, like from a file, and places signs in a line that say the contents
of that stream.
Tracks blocks the way we want it, when we want it.
Represents the current behaviour/"on the fly settings" of the bot.
The butler system lets authorized players send commands to the bot to execute.
Whenever chat appears
Removes a liquid source block at a position.
Helps load settings/configuration files
Build a nether portal by casting each piece with water + lava.
Build a nether portal with obsidian blocks.
Deprecated.
Keeps track of items in containers
Assuming a crafting screen is open, crafts a recipe.
Crafts an item within the 2x2 inventory crafting grid.
Crafts an item in a crafting table, obtaining and placing the table down if none was found.
Turns a baritone goal into a task.
Some generic tasks require us to go to the nether/overworld/end.
Destroy a block at a position.
Interacts with a container, obtaining and placing one if none were found nearby.
Finds the closest reachable block and runs a task on that block.
Finds the closest entity and runs a task on that entity
Helper functions to interpret entity state
Keeps track of entities so we can search/grab them.
A static class to solve dependency issues.
Approaching a block can be done easily with baritone
but we have an issue: baritone requires that a goal be available.
Out of all the commands, this one probably demonstrates
why we need a better arg parsing system.
Do nothing.
Sometimes we want to trigger a "press" for one frame, or do other input forcing.
Left or Right click on a block on a particular (or any) side of the block.
Keeps track of the player's inventory items
Used to determine when a task/command is not making any progress over a threshold period of time.
Lets a task declare that it's parent can NOT interrupt itself, and that this task MUST keep executing.
If this is found on a task, it will interrupt tasks that require grounded.
Some tasks may mess up royally if we interrupt them while mid air.
Some tasks (mainly tasks that open containers) will break if they don't require
that the 2x2 crafting grid is empty.
Helper functions and definitions for useful groupings of items
Access ALL forms of storage.
Defines an item and a count.
For crafting table/inventory recipe book crafting, we need to figure out identifiers given a recipe.
Controls and applies killaura
Here we go
the final stretch
Kill all entities of a type
Kill a specific entity
Kill a player given their username
Simple progress checker that requires we always make progress.
Helper functions to interpret and change our player's look direction
Math utilities
I'm not British.
We can't send messages immediately as the server will kick us.
Sometimes we want to track specific block related things, like the last nether portal we used.
Place a type of block nearby, anywhere.
Place a block type at a position
Places obsidian at a position using buckets and a cast.
Place any throwaway block at a position
For testing.
A progress checker that can fail a few times before it "actually" fails.
Projectile motion math functions
Given a block position with fire in it, extinguish the fire at that position
The parent for all "collect an item" tasks.
Will move around randomly while holding shift
Used to escape weird situations where baritone doesn't work.
Make sure we have a tool at or above a mining level.
Thought this might be fun to program.
Searches/explores a continuous "blob" of chunks, attempting to load in ALL nearby chunks that are part of this "blob"
You must define a function that determines whether a chunk is to be included within this "blob".
Explores/Loads all chunks of a biome.
The settings file, loaded and used across the codebase.
Keeps track of currently loaded chunks.
Smelt in a furnace, placing a furnace and collecting fuel as needed.
Random functions that extend Java's STL
Helper functions for interpreting containers/slots/windows/inventory
Dumps items in any container, placing a chest if we can't find any.
Moves items from your inventory to a storage container.
Contains a hardcoded list of ALL obtainable resources.
Roams around the world to terminate Sarah Khaannah
Call this when the place you're currently at is bad for some reason and you just wanna get away.
Super useful helper functions for getting information about the world.