Skip to main content
Also watch on these platforms:

In this episode of Minetest Modding we'll be looking at how to use one style of loops in LUA to simplify our lives when doing a single repetitive task.

 

for i = 1,50 do
    minetest.set_node({x=pos.x, y=pos.y+1, z=pos.z},{name = 'default:dirt'})
end