Hey everyone! I've been working on this update for a very long time. Many things were changed and redone from scratch so this update is completely incompatible with previous versions!
Please let me know if there are any issues! This is a big update and I couldn't fully test everything alone.
Changes:
NEW LANGUAGE! I've made a new scripting language that is similar to C, because of easier state management, cleaner code under the hood, more accurate code generation for people who use AI for bots
Bots will now pause and unpause when chunk reloads or server restarts!
Bots, monitors and redstone transmitters now save to their region files inside world folders, and only load when their chunk is loaded
Bots will now attempt to reconnect to the monitor after chunk reload or server restart
Entites used by bots, monitors and redstone transmitters no longer persist through server restarts but are instead respawned when needed
When picking up a bot, all of it's files will be saved onto the item
Added bot.place(string direction) function to bots for placing blocks
Added bot.play_sound(string sound, float volume, float pitch function to bots for playing sounds
Added math module with functions abs(float), floor(float), ceil(float), round(float), random(), sin(float), cos(float), tan(float), cot(float), atan(float), atan2(float, float), sqrt(float)