Page 1 of 1

facedir

PostPosted: Fri Apr 06, 2012 05:54
by bgsmithjr
I cannot make this work. If creating a simpleblock, with drawtype chest like, paramtype2 = 'facedir' and legacy_facedir_simple = true. It still does not affect the face directory.

PostPosted: Fri Apr 06, 2012 07:37
by sfan5
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("yourmod:invblock", {
    description = "InvBlock",
    tile_images = {"default_wood.png", "default_wood.png", "default_lava.png",
        "default_water.png", "default_lava.png", "default_gravel.png"},
    paramtype2 = "facedir",
    metadata_name = "chest",
    groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
    legacy_facedir_simple = true,
})

Try this, it works for me