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_end:end_stone", {
description = "End Stone",
tiles = {"mcl_end_end_stone.png"},
stack_max = 64,
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 = 45,
_mcl_hardness = 3,
@ -14,7 +14,7 @@ minetest.register_node("mcl_end:end_bricks", {
tiles = {"mcl_end_end_bricks.png"},
is_ground_content = false,
stack_max = 64,
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 = 4,
_mcl_hardness = 0.8,
@ -25,7 +25,7 @@ minetest.register_node("mcl_end:purpur_block", {
tiles = {"mcl_end_purpur_block.png"},
is_ground_content = false,
stack_max = 64,
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 = 1.5,
@ -38,7 +38,7 @@ minetest.register_node("mcl_end:purpur_pillar", {
is_ground_content = false,
on_place = mcl_util.rotate_axis,
tiles = {"mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar.png"},
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 = 1.5,
@ -67,7 +67,7 @@ minetest.register_node("mcl_end:end_rod", {
paramtype2 = "wallmounted",
light_source = 14,
sunlight_propagates = true,
groups = { dig_immediate=3, deco_block=1 },
groups = { dig_immediate=3, deco_block=1, },
node_box = {
type = "fixed",
fixed = {
@ -113,7 +113,7 @@ minetest.register_node("mcl_end:dragon_egg", {
selection_box = {
type = "regular",
},
groups = {handy=1, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1 },
groups = {handy=1, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1, },
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 45,
_mcl_hardness = 3,
@ -146,7 +146,7 @@ minetest.register_node("mcl_end:chorus_flower", {
node_box = chorus_flower_box,
selection_box = { type = "regular" },
sounds = mcl_sounds.node_sound_wood_defaults(),
groups = {handy=1,axey=1, deco_block = 1 },
groups = {handy=1,axey=1, deco_block = 1, },
_mcl_blast_resistance = 2,
_mcl_hardness = 0.4,
})
@ -167,7 +167,7 @@ minetest.register_node("mcl_end:chorus_flower_dead", {
selection_box = { type = "regular" },
sounds = mcl_sounds.node_sound_wood_defaults(),
drop = "mcl_end:chorus_flower",
groups = {handy=1,axey=1, deco_block = 1},
groups = {handy=1,axey=1, deco_block = 1, },
_mcl_blast_resistance = 2,
_mcl_hardness = 0.4,
})
@ -200,7 +200,7 @@ minetest.register_node("mcl_end:chorus_plant", {
sounds = mcl_sounds.node_sound_wood_defaults(),
-- TODO: Check drop probability
drop = { items = { {items = { "mcl_end:chorus_fruit", rarity = 4 } } } },
groups = {handy=1,axey=1, not_in_creative_inventory = 1,},
groups = {handy=1,axey=1, not_in_creative_inventory = 1, },
_mcl_blast_resistance = 2,
_mcl_hardness = 0.4,
})