2024-06-09 17:11:46 +02:00
|
|
|
local common_defs = {
|
2024-06-07 15:24:26 +02:00
|
|
|
concrete = {
|
|
|
|
_mcl_blast_resistance = 1.8,
|
|
|
|
_mcl_hardness = 1.8,
|
|
|
|
groups = {colored_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
concrete_powder = {
|
|
|
|
_mcl_blast_resistance = 0.5,
|
|
|
|
_mcl_hardness = 0.5,
|
|
|
|
groups = {colored_blocks = 1, falling_node = 1, handy = 1, shovely = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_sand_defaults()
|
|
|
|
},
|
|
|
|
flammable_planks_groups = {fire_encouragement = 20, fire_flammability = 5, fuel = 15},
|
2024-06-07 11:47:58 +02:00
|
|
|
planks = {
|
2024-06-07 14:34:47 +02:00
|
|
|
_mcl_blast_resistance = 3,
|
|
|
|
_mcl_hardness = 2,
|
2024-06-07 11:47:58 +02:00
|
|
|
groups = {axey = 1, building_blocks = 1, handy = 1, planks = 1},
|
2024-06-07 14:34:47 +02:00
|
|
|
sounds = mcl_sounds.node_sound_wood_defaults()
|
2024-06-07 11:47:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
local planks = {
|
2024-06-09 17:11:46 +02:00
|
|
|
["acacia"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["bamboo"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["birch"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["cherry"] = {groups = common_defs.flammable_planks_groups},
|
2024-06-09 16:45:52 +02:00
|
|
|
["crimson"] = {},
|
2024-06-09 17:11:46 +02:00
|
|
|
["dark_oak"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["jungle"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["mangrove"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["oak"] = {groups = common_defs.flammable_planks_groups},
|
|
|
|
["spruce"] = {groups = common_defs.flammable_planks_groups},
|
2024-06-09 16:45:52 +02:00
|
|
|
["warped"] = {}
|
2024-06-07 11:47:58 +02:00
|
|
|
}
|
|
|
|
|
2024-06-07 15:24:26 +02:00
|
|
|
for _, color in pairs(voxelibre.colors) do
|
|
|
|
local identifier = color.."_concrete"
|
|
|
|
|
2024-06-09 17:11:46 +02:00
|
|
|
voxelibre.register_block(identifier, table.copy(common_defs.concrete))
|
2024-06-07 15:24:26 +02:00
|
|
|
|
|
|
|
identifier = identifier.."_powder"
|
|
|
|
|
2024-06-09 17:11:46 +02:00
|
|
|
voxelibre.register_block(identifier, table.copy(common_defs.concrete_powder))
|
2024-06-07 15:24:26 +02:00
|
|
|
end
|
|
|
|
|
2024-06-07 11:47:58 +02:00
|
|
|
for identifier, definitions in pairs(planks) do
|
2024-06-09 17:11:46 +02:00
|
|
|
voxelibre.register_block(identifier.."_planks", table.merge(common_defs.planks, definitions))
|
2024-06-07 11:47:58 +02:00
|
|
|
end
|
2024-06-07 15:50:14 +02:00
|
|
|
|
|
|
|
local blocks = {
|
|
|
|
["bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:17:34 +02:00
|
|
|
["chiseled_nether_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:49:11 +02:00
|
|
|
["chiseled_polished_blackstone"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-09 16:15:10 +02:00
|
|
|
["chiseled_red_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 0.8,
|
|
|
|
_mcl_hardness = 0.8,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
|
|
tiles = {
|
|
|
|
"natural_red_sandstone_top.png",
|
|
|
|
"natural_red_sandstone_bottom.png",
|
|
|
|
"building_chiseled_red_sandstone.png"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
["chiseled_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 0.8,
|
|
|
|
_mcl_hardness = 0.8,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
|
|
tiles = {
|
|
|
|
"natural_sandstone_top.png",
|
|
|
|
"natural_sandstone_bottom.png",
|
|
|
|
"building_chiseled_sandstone.png"
|
|
|
|
}
|
|
|
|
},
|
2024-06-07 15:50:14 +02:00
|
|
|
["chiseled_stone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["cracked_deepslate_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 3.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:17:34 +02:00
|
|
|
["cracked_nether_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:49:11 +02:00
|
|
|
["cracked_polished_blackstone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 15:50:14 +02:00
|
|
|
["cracked_stone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-09 01:23:57 +02:00
|
|
|
["cut_red_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 0.8,
|
|
|
|
_mcl_hardness = 0.8,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
|
|
tiles = {
|
|
|
|
"natural_red_sandstone_top.png",
|
|
|
|
"natural_red_sandstone_top.png",
|
|
|
|
"building_cut_red_sandstone.png"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
["cut_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 0.8,
|
|
|
|
_mcl_hardness = 0.8,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
|
|
tiles = {
|
|
|
|
"natural_sandstone_top.png",
|
|
|
|
"natural_sandstone_top.png",
|
|
|
|
"building_cut_sandstone.png"
|
|
|
|
}
|
|
|
|
},
|
2024-06-09 14:58:54 +02:00
|
|
|
["dark_prismarine"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 15:50:14 +02:00
|
|
|
["deepslate_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 3.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:17:34 +02:00
|
|
|
["end_stone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 9,
|
|
|
|
_mcl_hardness = 3,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 15:50:14 +02:00
|
|
|
["mossy_stone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:17:34 +02:00
|
|
|
["mud_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 3,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["nether_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
2024-06-07 23:49:11 +02:00
|
|
|
},
|
2024-06-10 07:55:48 +02:00
|
|
|
["packed_mud"] = {
|
|
|
|
_mcl_blast_resistance = 3,
|
|
|
|
_mcl_hardness = 1,
|
|
|
|
groups = {building_blocks = 1, handy = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:49:11 +02:00
|
|
|
["polished_andesite"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["polished_blackstone"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["polished_blackstone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["polished_deepslate"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 3.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["polished_diorite"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["polished_granite"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
2024-06-07 23:17:34 +02:00
|
|
|
},
|
|
|
|
["prismarine_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 23:58:05 +02:00
|
|
|
["purpur_block"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["purpur_pillar"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
on_place = minetest.rotate_node,
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults(),
|
|
|
|
tiles = {type = "loglike"}
|
|
|
|
},
|
2024-06-07 23:17:34 +02:00
|
|
|
["red_nether_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-09 00:58:35 +02:00
|
|
|
["smooth_red_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["smooth_sandstone"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-09 16:15:10 +02:00
|
|
|
["smooth_stone"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 2,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
2024-06-07 15:50:14 +02:00
|
|
|
["stone_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
},
|
|
|
|
["tuff_bricks"] = {
|
|
|
|
_mcl_blast_resistance = 6,
|
|
|
|
_mcl_hardness = 1.5,
|
|
|
|
groups = {building_blocks = 1, pickaxey = 1, stonecuttable = 1},
|
|
|
|
sounds = mcl_sounds.node_sound_stone_defaults()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
for identifier, definitions in pairs(blocks) do
|
|
|
|
voxelibre.register_block(identifier, definitions)
|
|
|
|
end
|