Example code of what I use:
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_node ("cyro:kyroblock_off", {
drawtype = draw,
description = "Kyro Block Off",
tile_images = {"kyro_block.png"},
inventory_image = {"kyro_block.png"},
sunlight_propagates = true,
paramtype = 'light',
walkable = true,
material = minetest.digprop_constanttime(1.0),
groups = {cracky=3,oddly_breakable_by_hand=12,}
})