This repository contains LUA libraries to support the creation of Advanced Macros bot scripts. These libraries are currently optimized for advanced macros mod v9.2.0 or Minecraft v1.14.4.
To allow each library to have their own semantic version, further development of these libraries has moved to their own repositories. You can find a list of them here https://github.com/SleepingFox8/AM-Libraries
botTools.lua
contains functions for controlling botscompTools.lua
contains functions for computing things
You can add these libraries to your repository as a git submodule by using the command git submodule add https://github.com/SleepingFox8/AM-Tools
. This will import the latest version of this repository into your github rebository as a subdirectory.
From there you can import these libraries to your own .lua
scripts by importing them via:
botTools = require ("AM-Tools/botTools")
compTools = require ("AM-Tools/compTools")
Library functrions can be called like so:
botTools.sprintToPoint(0,0,0)
If this repo updates, your repo's submodule will not update automatically. To update your repository's submodule, cd
into your submodule's directory and run git pull origin master
.