minetest.register_node("default:stone", {
description = "Stone",
- tile_images = {"default_stone.png"},
+ tiles ={"default_stone.png"},
is_ground_content = true,
groups = {cracky=3},
drop = 'default:cobble',
minetest.register_node("default:stone_with_coal", {
description = "Stone with coal",
- tile_images = {"default_stone.png^default_mineral_coal.png"},
+ tiles ={"default_stone.png^default_mineral_coal.png"},
is_ground_content = true,
groups = {cracky=3},
drop = 'default:coal_lump',
minetest.register_node("default:stone_with_iron", {
description = "Stone with iron",
- tile_images = {"default_stone.png^default_mineral_iron.png"},
+ tiles ={"default_stone.png^default_mineral_iron.png"},
is_ground_content = true,
groups = {cracky=3},
drop = 'default:iron_lump',
minetest.register_node("default:dirt_with_grass", {
description = "Dirt with grass",
- tile_images = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
+ tiles ={"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
is_ground_content = true,
groups = {crumbly=3},
drop = 'default:dirt',
minetest.register_node("default:dirt_with_grass_footsteps", {
description = "Dirt with grass and footsteps",
- tile_images = {"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
+ tiles ={"default_grass_footsteps.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
is_ground_content = true,
groups = {crumbly=3},
drop = 'default:dirt',
minetest.register_node("default:dirt", {
description = "Dirt",
- tile_images = {"default_dirt.png"},
+ tiles ={"default_dirt.png"},
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_dirt_defaults(),
minetest.register_node("default:sand", {
description = "Sand",
- tile_images = {"default_sand.png"},
+ tiles ={"default_sand.png"},
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_sand_defaults(),
minetest.register_node("default:gravel", {
description = "Gravel",
- tile_images = {"default_gravel.png"},
+ tiles ={"default_gravel.png"},
is_ground_content = true,
groups = {crumbly=2},
sounds = default.node_sound_dirt_defaults({
minetest.register_node("default:sandstone", {
description = "Sandstone",
- tile_images = {"default_sandstone.png"},
+ tiles ={"default_sandstone.png"},
is_ground_content = true,
groups = {crumbly=2,cracky=2},
drop = 'default:sand',
minetest.register_node("default:clay", {
description = "Clay",
- tile_images = {"default_clay.png"},
+ tiles ={"default_clay.png"},
is_ground_content = true,
groups = {crumbly=3},
drop = 'default:clay_lump 4',
minetest.register_node("default:brick", {
description = "Brick",
- tile_images = {"default_brick.png"},
+ tiles ={"default_brick.png"},
is_ground_content = true,
groups = {cracky=3},
drop = 'default:clay_brick 4',
minetest.register_node("default:tree", {
description = "Tree",
- tile_images = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
+ tiles ={"default_tree_top.png", "default_tree_top.png", "default_tree.png"},
is_ground_content = true,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=1},
sounds = default.node_sound_wood_defaults(),
minetest.register_node("default:jungletree", {
description = "Jungle Tree",
- tile_images = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
+ tiles ={"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
is_ground_content = true,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=1},
sounds = default.node_sound_wood_defaults(),
description = "Jungle Grass",
drawtype = "plantlike",
visual_scale = 1.3,
- tile_images = {"default_junglegrass.png"},
+ tiles ={"default_junglegrass.png"},
inventory_image = "default_junglegrass.png",
wield_image = "default_junglegrass.png",
paramtype = "light",
description = "Leaves",
drawtype = "allfaces_optional",
visual_scale = 1.3,
- tile_images = {"default_leaves.png"},
+ tiles ={"default_leaves.png"},
paramtype = "light",
groups = {snappy=3},
drop = {
minetest.register_node("default:cactus", {
description = "Cactus",
- tile_images = {"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"},
+ tiles ={"default_cactus_top.png", "default_cactus_top.png", "default_cactus_side.png"},
is_ground_content = true,
groups = {snappy=2,choppy=3},
sounds = default.node_sound_wood_defaults(),
minetest.register_node("default:papyrus", {
description = "Papyrus",
drawtype = "plantlike",
- tile_images = {"default_papyrus.png"},
+ tiles ={"default_papyrus.png"},
inventory_image = "default_papyrus.png",
wield_image = "default_papyrus.png",
paramtype = "light",
minetest.register_node("default:bookshelf", {
description = "Bookshelf",
- tile_images = {"default_wood.png", "default_wood.png", "default_bookshelf.png"},
+ tiles ={"default_wood.png", "default_wood.png", "default_bookshelf.png"},
is_ground_content = true,
groups = {snappy=2,choppy=3,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
minetest.register_node("default:glass", {
description = "Glass",
drawtype = "glasslike",
- tile_images = {"default_glass.png"},
+ tiles ={"default_glass.png"},
inventory_image = minetest.inventorycube("default_glass.png"),
paramtype = "light",
sunlight_propagates = true,
minetest.register_node("default:fence_wood", {
description = "Wooden Fence",
drawtype = "fencelike",
- tile_images = {"default_wood.png"},
+ tiles ={"default_wood.png"},
inventory_image = "default_fence.png",
wield_image = "default_fence.png",
paramtype = "light",
minetest.register_node("default:rail", {
description = "Rail",
drawtype = "raillike",
- tile_images = {"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
+ tiles ={"default_rail.png", "default_rail_curved.png", "default_rail_t_junction.png", "default_rail_crossing.png"},
inventory_image = "default_rail.png",
wield_image = "default_rail.png",
paramtype = "light",
minetest.register_node("default:ladder", {
description = "Ladder",
drawtype = "signlike",
- tile_images = {"default_ladder.png"},
+ tiles ={"default_ladder.png"},
inventory_image = "default_ladder.png",
wield_image = "default_ladder.png",
paramtype = "light",
minetest.register_node("default:wood", {
description = "Wood",
- tile_images = {"default_wood.png"},
+ tiles ={"default_wood.png"},
is_ground_content = true,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
minetest.register_node("default:mese", {
description = "Mese",
- tile_images = {"default_mese.png"},
+ tiles ={"default_mese.png"},
is_ground_content = true,
groups = {cracky=1,level=2},
sounds = default.node_sound_defaults(),
minetest.register_node("default:cloud", {
description = "Cloud",
- tile_images = {"default_cloud.png"},
+ tiles ={"default_cloud.png"},
is_ground_content = true,
sounds = default.node_sound_defaults(),
})
description = "Water (flowing)",
inventory_image = minetest.inventorycube("default_water.png"),
drawtype = "flowingliquid",
- tile_images = {"default_water.png"},
+ tiles ={"default_water.png"},
+ special_tiles = {
+ {name="default_water.png", backface_culling=false},
+ {name="default_water.png", backface_culling=true},
+ },
alpha = WATER_ALPHA,
paramtype = "light",
walkable = false,
liquid_alternative_source = "default:water_source",
liquid_viscosity = WATER_VISC,
post_effect_color = {a=64, r=100, g=100, b=200},
- special_materials = {
- {image="default_water.png", backface_culling=false},
- {image="default_water.png", backface_culling=true},
- },
groups = {water=3, liquid=3},
})
description = "Water",
inventory_image = minetest.inventorycube("default_water.png"),
drawtype = "liquid",
- tile_images = {"default_water.png"},
+ tiles ={"default_water.png"},
+ special_tiles = {
+ -- New-style water source material (mostly unused)
+ {name="default_water.png", backface_culling=false},
+ },
alpha = WATER_ALPHA,
paramtype = "light",
walkable = false,
liquid_alternative_source = "default:water_source",
liquid_viscosity = WATER_VISC,
post_effect_color = {a=64, r=100, g=100, b=200},
- special_materials = {
- -- New-style water source material (mostly unused)
- {image="default_water.png", backface_culling=false},
- },
groups = {water=3, liquid=3},
})
description = "Lava (flowing)",
inventory_image = minetest.inventorycube("default_lava.png"),
drawtype = "flowingliquid",
- tile_images = {"default_lava.png"},
+ tiles ={"default_lava.png"},
+ special_tiles = {
+ {
+ image="default_lava_flowing_animated.png",
+ backface_culling=false,
+ animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
+ },
+ {
+ image="default_lava_flowing_animated.png",
+ backface_culling=true,
+ animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
+ },
+ },
paramtype = "light",
light_source = LIGHT_MAX - 1,
walkable = false,
liquid_viscosity = LAVA_VISC,
damage_per_second = 4*2,
post_effect_color = {a=192, r=255, g=64, b=0},
- special_materials = {
- {
- image="default_lava_flowing_animated.png",
- backface_culling=false,
- animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
- },
- {
- image="default_lava_flowing_animated.png",
- backface_culling=true,
- animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
- },
- },
groups = {lava=3, liquid=2, hot=3},
})
description = "Lava",
inventory_image = minetest.inventorycube("default_lava.png"),
drawtype = "liquid",
- --tile_images = {"default_lava.png"},
- tile_images = {
+ --tiles ={"default_lava.png"},
+ tiles ={
{name="default_lava_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
},
+ special_tiles = {
+ -- New-style lava source material (mostly unused)
+ {name="default_lava.png", backface_culling=false},
+ },
paramtype = "light",
light_source = LIGHT_MAX - 1,
walkable = false,
liquid_viscosity = LAVA_VISC,
damage_per_second = 4*2,
post_effect_color = {a=192, r=255, g=64, b=0},
- special_materials = {
- -- New-style lava source material (mostly unused)
- {image="default_lava.png", backface_culling=false},
- },
groups = {lava=3, liquid=2, hot=3},
})
minetest.register_node("default:torch", {
description = "Torch",
drawtype = "torchlike",
- tile_images = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"},
+ tiles ={"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"},
inventory_image = "default_torch_on_floor.png",
wield_image = "default_torch_on_floor.png",
paramtype = "light",
minetest.register_node("default:sign_wall", {
description = "Sign",
drawtype = "signlike",
- tile_images = {"default_sign_wall.png"},
+ tiles ={"default_sign_wall.png"},
inventory_image = "default_sign_wall.png",
wield_image = "default_sign_wall.png",
paramtype = "light",
minetest.register_node("default:chest", {
description = "Chest",
- tile_images = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
+ tiles ={"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
"default_chest_side.png", "default_chest_side.png", "default_chest_front.png"},
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
minetest.register_node("default:chest_locked", {
description = "Locked Chest",
- tile_images = {"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
+ tiles ={"default_chest_top.png", "default_chest_top.png", "default_chest_side.png",
"default_chest_side.png", "default_chest_side.png", "default_chest_lock.png"},
paramtype2 = "facedir",
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
minetest.register_node("default:furnace", {
description = "Furnace",
- tile_images = {"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png",
+ tiles ={"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png",
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front.png"},
paramtype2 = "facedir",
groups = {cracky=2},
minetest.register_node("default:furnace_active", {
description = "Furnace",
- tile_images = {"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png",
+ tiles ={"default_furnace_side.png", "default_furnace_side.png", "default_furnace_side.png",
"default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
paramtype2 = "facedir",
light_source = 8,
minetest.register_node("default:cobble", {
description = "Cobble",
- tile_images = {"default_cobble.png"},
+ tiles ={"default_cobble.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
minetest.register_node("default:mossycobble", {
description = "Mossy Cobble",
- tile_images = {"default_mossycobble.png"},
+ tiles ={"default_mossycobble.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
minetest.register_node("default:steelblock", {
description = "Steel Block",
- tile_images = {"default_steel_block.png"},
+ tiles ={"default_steel_block.png"},
is_ground_content = true,
groups = {snappy=1,bendy=2},
sounds = default.node_sound_stone_defaults(),
minetest.register_node("default:nyancat", {
description = "Nyancat",
- tile_images = {"default_nc_side.png", "default_nc_side.png", "default_nc_side.png",
+ tiles ={"default_nc_side.png", "default_nc_side.png", "default_nc_side.png",
"default_nc_side.png", "default_nc_back.png", "default_nc_front.png"},
inventory_image = "default_nc_front.png",
paramtype2 = "facedir",
minetest.register_node("default:nyancat_rainbow", {
description = "Nyancat Rainbow",
- tile_images = {"default_nc_rb.png"},
+ tiles ={"default_nc_rb.png"},
inventory_image = "default_nc_rb.png",
groups = {cracky=2},
sounds = default.node_sound_defaults(),
description = "Sapling",
drawtype = "plantlike",
visual_scale = 1.0,
- tile_images = {"default_sapling.png"},
+ tiles ={"default_sapling.png"},
inventory_image = "default_sapling.png",
wield_image = "default_sapling.png",
paramtype = "light",
description = "Apple",
drawtype = "plantlike",
visual_scale = 1.0,
- tile_images = {"default_apple.png"},
+ tiles ={"default_apple.png"},
inventory_image = "default_apple.png",
paramtype = "light",
sunlight_propagates = true,