Skip to content

Bot API

Jaideep Singh Heer edited this page Jun 12, 2017 · 35 revisions

Welcome to the BotAPI wiki!

This page tells you about the mod BotAPI and gives you a hint on how to get started.

BotAPI is a mod for MinecraftFroge which provides an API to control every compatible game entity and use custom AI logic on it.

The basic layout of a bot is as follows :-



  • The Entity to be controlled is binded to a Body which provides basic functions like movement/look functions.
  • The binding Body executes its update() functions on the Game's Thread.

  • The Body is then passed to a Bot which manages the Body according to the Algorithm given to it.
  • The Bot however runs its update() function on a separate thread synchronized with the Game's tick events.
  • The Bot's update() function is responsible to provide tick updates to its Algorithm.

Note that the Bot maintains a separate thread to manage the actions and responsibilities given to it.

Clone this wiki locally