CodeBlock 🔗
CodeBlock allows to use lua code in Minetest to build anything you want
License: GPLv3
Credits: inspired by Gnancraft, ComputerCraft, Visual Bots, TurtleMiner, basic_robot

Quick start 🔗
Run your first program 🔗
- Create an empty (flat) world, enable
codeblockmod ant its dependencies - Enable creative mode and start the game
- Right click with
tool on a block to place the drone, choose stairs.luathen left click with
to start the drone
Write your first program 🔗
- Right click with
tool to open the luaeditor - Create a new file with the
new filefield and write some code on the main window - Click
load and exitto load your code in the drone - Right click with
tool on a block and run the code with a left click on 
- Read the Lua API in
doc/api.mdto know which commands and blocks you can use
Explore and tweak 🔗
- More built-in examples are available, just open the editor and choose an example to run
- User
codelevelcan be adjusted to tweak drone performance and capacities, see permisisons and chat commands
Nice mod to play with algorithmically generated structures
It seems to me that the “Run your first program” instructions must be done after the “Write your first program” instructions to avoid a crash.
Note that several of the examples do not work if your world does not have the mods
vector3andworldedit.Why is this mod not available for Minetest 5.5+?