Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt", "default:dirt_with_grass", "default:sand"},
sidelen = 16,
fill_ratio = 0.1,
decoration = "whatever:whatever", -- I tried lots of different blocks here
})
What is wrong here? (I know nothing about modding.. this is my first attempt. Hitherto, the only thing I was able to do successfully was to create a custom node)