Download (1.1 MB)
Luanti 5.3 - 5.7

How do I install this?

CodeBlock

License ContentDB

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

screenshot

Quick start

Run your first program

  1. Create an empty (flat) world, enable codeblock mod ant its dependencies
  2. Enable creative mode and start the game
  3. Right click with drone_poser tool on a block to place the drone, choose stairs.lua then left click with drone_poser to start the drone

Write your first program

  1. Right click with drone_setter tool to open the lua editor
  2. Create a new file with the new file field and write some code on the main window
  3. Click load and exit to load your code in the drone
  4. Right click with drone_poser tool on a block and run the code with a left click on drone_poser
  5. Read the Lua API in doc/api.md to 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 codelevel can be adjusted to tweak drone performance and capacities, see permisisons and chat commands

Reviews

Review

Do you recommend this mod?

  • 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 vector3 and worldedit.

    Why is this mod not available for Minetest 5.5+?

    2 comments