Page 1 of 1

How do you make a node cuboid when dropped?

PostPosted: Thu Sep 06, 2012 02:04
by InfinityProject
Right now whenever I drop a node from one of my mods It's a 2d dummy image. What is needed to make it a 3d cube?
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,}
   })

PostPosted: Thu Sep 06, 2012 05:31
by celeron55
Remove the inventory_image field.