Add 4 Minecraft material groups

So they can be used by the noteblock
This commit is contained in:
Wuzzy 2017-03-11 05:34:58 +01:00
parent 620eb34f9e
commit 549f541877
23 changed files with 143 additions and 131 deletions

View file

@ -3,7 +3,7 @@ minetest.register_node("mcl_nether:glowstone", {
tiles = {"mcl_nether_glowstone.png"},
is_ground_content = true,
stack_max = 64,
groups = {handy=1,building_block=1},
groups = {handy=1,building_block=1, material_glass=1},
drop = {
max_items = 1,
items = {
@ -24,7 +24,7 @@ minetest.register_node("mcl_nether:quartz_ore", {
stack_max = 64,
tiles = {"mcl_nether_quartz_ore.png"},
is_ground_content = true,
groups = {pickaxey=1, building_block=1},
groups = {pickaxey=1, building_block=1, material_stone=1},
drop = 'mcl_nether:quartz',
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 15,
@ -36,7 +36,7 @@ minetest.register_node("mcl_nether:netherrack", {
stack_max = 64,
tiles = {"mcl_nether_netherrack.png"},
is_ground_content = true,
groups = {pickaxey=1, building_block=1},
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 2,
_mcl_hardness = 0.4,
@ -50,7 +50,7 @@ minetest.register_node("mcl_nether:magma", {
is_ground_content = true,
light_source = 3,
sunlight_propagates = false,
groups = {pickaxey=1, building_block=1},
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
-- From walkover mod
on_walk_over = function(loc, nodeiamon, player)
@ -67,7 +67,7 @@ minetest.register_node("mcl_nether:soul_sand", {
stack_max = 64,
tiles = {"mcl_nether_soul_sand.png"},
is_ground_content = true,
groups = {handy=1,shovely=1, building_block=1,soil_nether_wart=1},
groups = {handy=1,shovely=1, building_block=1,soil_nether_wart=1, material_sand=1},
collision_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5 - 2/16, 0.5 },
@ -84,7 +84,7 @@ minetest.register_node("mcl_nether:nether_brick", {
stack_max = 64,
tiles = {"mcl_nether_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1},
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30,
_mcl_hardness = 2,
@ -96,7 +96,7 @@ minetest.register_node("mcl_nether:red_nether_brick", {
stack_max = 64,
tiles = {"mcl_nether_red_nether_brick.png"},
is_ground_content = false,
groups = {pickaxey=1, building_block=1},
groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30,
_mcl_hardness = 2,
@ -124,7 +124,7 @@ minetest.register_node("mcl_nether:quartz_block", {
stack_max = 64,
is_ground_content = false,
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4,
_mcl_hardness = 0.8,
@ -135,7 +135,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
stack_max = 64,
is_ground_content = false,
tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4,
_mcl_hardness = 0.8,
@ -148,7 +148,7 @@ minetest.register_node("mcl_nether:quartz_pillar", {
is_ground_content = false,
on_place = mcl_util.rotate_axis,
tiles = {"mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_top.png", "mcl_nether_quartz_pillar_side.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4,
_mcl_hardness = 0.8,