minetest.register_node("default:brick", {
description = "Brick Block",
tiles = {"default_brick.png"},
+ is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
description = "Tree",
tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
paramtype2 = "facedir",
+ is_ground_content = false,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node
description = "Jungle Tree",
tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
paramtype2 = "facedir",
+ is_ground_content = false,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node
visual_scale = 1.3,
tiles = {"default_jungleleaves.png"},
paramtype = "light",
+ is_ground_content = false,
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
drop = {
max_items = 1,
visual_scale = 1.3,
tiles = {"default_leaves.png"},
paramtype = "light",
+ is_ground_content = false,
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
drop = {
max_items = 1,
minetest.register_node("default:bookshelf", {
description = "Bookshelf",
tiles = {"default_wood.png", "default_wood.png", "default_bookshelf.png"},
+ is_ground_content = false,
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3},
sounds = default.node_sound_wood_defaults(),
})
inventory_image = minetest.inventorycube("default_glass.png"),
paramtype = "light",
sunlight_propagates = true,
+ is_ground_content = false,
groups = {cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
inventory_image = "default_fence.png",
wield_image = "default_fence.png",
paramtype = "light",
+ is_ground_content = false,
selection_box = {
type = "fixed",
fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7},
wield_image = "default_rail.png",
paramtype = "light",
walkable = false,
+ is_ground_content = false,
selection_box = {
type = "fixed",
-- but how to specify the dimensions for curved and sideways rails?
paramtype2 = "wallmounted",
walkable = false,
climbable = true,
+ is_ground_content = false,
selection_box = {
type = "wallmounted",
--wall_top = = <default>
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
+ is_ground_content = false,
walkable = false,
light_source = LIGHT_MAX-1,
selection_box = {
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
+ is_ground_content = false,
walkable = false,
selection_box = {
type = "wallmounted",
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
legacy_facedir_simple = true,
+ is_ground_content = false,
sounds = default.node_sound_wood_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
legacy_facedir_simple = true,
+ is_ground_content = false,
sounds = default.node_sound_wood_defaults(),
after_place_node = function(pos, placer)
local meta = minetest.get_meta(pos)
paramtype2 = "facedir",
groups = {cracky=2},
legacy_facedir_simple = true,
+ is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
drop = "default:furnace",
groups = {cracky=2, not_in_creative_inventory=1,hot=1},
legacy_facedir_simple = true,
+ is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
drawtype = "glasslike",
tiles = {"default_obsidian_glass.png"},
paramtype = "light",
+ is_ground_content = false,
sunlight_propagates = true,
sounds = default.node_sound_glass_defaults(),
groups = {cracky=3,oddly_breakable_by_hand=3},
"default_nc_side.png", "default_nc_back.png", "default_nc_front.png"},
paramtype2 = "facedir",
groups = {cracky=2},
+ is_ground_content = false,
legacy_facedir_simple = true,
sounds = default.node_sound_defaults(),
})
"default_nc_rb.png", "default_nc_rb.png"},
paramtype2 = "facedir",
groups = {cracky=2},
+ is_ground_content = false,
sounds = default.node_sound_defaults(),
})