Skip to content

Lua API

EliasFleckenstein03 edited this page Feb 14, 2020 · 5 revisions

How to start

If you'd like to mod dragonblocks, create a file in the game folder. Then add a dofile("your_file.lua") in game/init.lua. Your mod will get loaded when dragonblocks is starting.

Fuctions

dragonblocks.register_node(obj)

This function is used to register a new block.

Clone this wiki locally