Update the rest of the blast resistance values

The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
This commit is contained in:
Elias Åström 2020-04-17 21:40:13 +02:00
parent 8d67824e42
commit 6315490b14
44 changed files with 119 additions and 119 deletions

View File

@ -94,7 +94,7 @@ local dispenserdef = {
end end
meta:from_table(meta2:to_table()) meta:from_table(meta2:to_table())
end, end,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
mesecons = {effector = { mesecons = {effector = {
-- Dispense random item when triggered -- Dispense random item when triggered

View File

@ -94,7 +94,7 @@ local dropperdef = {
return stack:get_count() return stack:get_count()
end end
end, end,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
mesecons = {effector = { mesecons = {effector = {
-- Drop random item when triggered -- Drop random item when triggered

View File

@ -92,7 +92,7 @@ local dropperdef = {
return stack:get_count() return stack:get_count()
end end
end, end,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
mesecons = {effector = { mesecons = {effector = {
-- Drop random item when triggered -- Drop random item when triggered

View File

@ -82,7 +82,7 @@ mesecon.register_node("mcl_observers:observer",
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
paramtype2 = "facedir", paramtype2 = "facedir",
on_rotate = false, on_rotate = false,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
}, },
{ {
@ -139,7 +139,7 @@ mesecon.register_node("mcl_observers:observer_down",
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
groups = {pickaxey=1, material_stone=1, not_opaque=1, not_in_creative_inventory=1 }, groups = {pickaxey=1, material_stone=1, not_opaque=1, not_in_creative_inventory=1 },
on_rotate = false, on_rotate = false,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
drop = "mcl_observers:observer_off", drop = "mcl_observers:observer_off",
}, },
@ -188,7 +188,7 @@ mesecon.register_node("mcl_observers:observer_up",
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
groups = {pickaxey=1, material_stone=1, not_opaque=1, not_in_creative_inventory=1 }, groups = {pickaxey=1, material_stone=1, not_opaque=1, not_in_creative_inventory=1 },
on_rotate = false, on_rotate = false,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
drop = "mcl_observers:observer_off", drop = "mcl_observers:observer_off",
}, },

View File

@ -133,7 +133,7 @@ mesecon.register_button = function(basename, description, texture, recipeitem, s
_mcl_button_basename = basename, _mcl_button_basename = basename,
_mcl_button_timer = button_timer, _mcl_button_timer = button_timer,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -184,7 +184,7 @@ mesecon.register_button = function(basename, description, texture, recipeitem, s
end end
end, end,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })

View File

@ -242,7 +242,7 @@ S("Example 2:\n give @@n mcl_core:apple 5\nGives the nearest player 5 apples"
action_on = commandblock_action_on, action_on = commandblock_action_on,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 3600000,
_mcl_hardness = -1, _mcl_hardness = -1,
}) })
@ -261,7 +261,7 @@ minetest.register_node("mesecons_commandblock:commandblock_on", {
action_off = commandblock_action_off, action_off = commandblock_action_off,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 3600000,
_mcl_hardness = -1, _mcl_hardness = -1,
}) })

View File

@ -16,7 +16,7 @@ minetest.register_node("mesecons_lightstone:lightstone_off", {
end, end,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })
@ -34,7 +34,7 @@ minetest.register_node("mesecons_lightstone:lightstone_on", {
end, end,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })

View File

@ -48,7 +48,7 @@ S("The note block will only play a note when it is below air, otherwise, it stay
end, end,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })

View File

@ -200,7 +200,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
action_on = piston_on, action_on = piston_on,
rules = piston_get_rules rules = piston_get_rules
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -235,7 +235,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_get_rules rules = piston_get_rules
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -262,7 +262,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
selection_box = piston_pusher_box, selection_box = piston_pusher_box,
node_box = piston_pusher_box, node_box = piston_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -304,7 +304,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
action_on = piston_on, action_on = piston_on,
rules = piston_get_rules rules = piston_get_rules
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -339,7 +339,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_get_rules rules = piston_get_rules
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -366,7 +366,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
selection_box = piston_pusher_box, selection_box = piston_pusher_box,
node_box = piston_pusher_box, node_box = piston_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -423,7 +423,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
sounds = mcl_sounds.node_sound_stone_defaults({ sounds = mcl_sounds.node_sound_stone_defaults({
footstep = mcl_sounds.node_sound_wood_defaults().footstep footstep = mcl_sounds.node_sound_wood_defaults().footstep
}), }),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -459,7 +459,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_up_rules, rules = piston_up_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -486,7 +486,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
selection_box = piston_up_pusher_box, selection_box = piston_up_pusher_box,
node_box = piston_up_pusher_box, node_box = piston_up_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -526,7 +526,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", {
action_on = piston_on, action_on = piston_on,
rules = piston_up_rules, rules = piston_up_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -562,7 +562,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_up_rules, rules = piston_up_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -589,7 +589,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
selection_box = piston_up_pusher_box, selection_box = piston_up_pusher_box,
node_box = piston_up_pusher_box, node_box = piston_up_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -646,7 +646,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", {
action_on = piston_on, action_on = piston_on,
rules = piston_down_rules, rules = piston_down_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -682,7 +682,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_down_rules, rules = piston_down_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -709,7 +709,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
selection_box = piston_down_pusher_box, selection_box = piston_down_pusher_box,
node_box = piston_down_pusher_box, node_box = piston_down_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -744,7 +744,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", {
action_on = piston_on, action_on = piston_on,
rules = piston_down_rules, rules = piston_down_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = function(pos, node, user, mode) on_rotate = function(pos, node, user, mode)
if mode == screwdriver.ROTATE_AXIS then if mode == screwdriver.ROTATE_AXIS then
@ -780,7 +780,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", {
action_off = piston_off, action_off = piston_off,
rules = piston_down_rules, rules = piston_down_rules,
}}, }},
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
on_rotate = false, on_rotate = false,
}) })
@ -807,7 +807,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
selection_box = piston_down_pusher_box, selection_box = piston_down_pusher_box,
node_box = piston_down_pusher_box, node_box = piston_down_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
on_rotate = false, on_rotate = false,
}) })

View File

@ -125,7 +125,7 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
is_ground_content = false, is_ground_content = false,
pressureplate_basename = basename, pressureplate_basename = basename,
pressureplate_activated_by = activated_by, pressureplate_activated_by = activated_by,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
},{ },{
node_box = pp_box_off, node_box = pp_box_off,

View File

@ -36,7 +36,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_inverted_off"}) minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_inverted_off"})
mesecon.receptor_off(pos, mesecon.rules.pplate) mesecon.receptor_off(pos, mesecon.rules.pplate)
end, end,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })
@ -76,7 +76,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_inverted_on"}) minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_inverted_on"})
mesecon.receptor_on(pos, mesecon.rules.pplate) mesecon.receptor_on(pos, mesecon.rules.pplate)
end, end,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })
@ -154,7 +154,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", {
minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_off"}) minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_off"})
mesecon.receptor_off(pos, mesecon.rules.pplate) mesecon.receptor_off(pos, mesecon.rules.pplate)
end, end,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })
@ -192,7 +192,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_on"}) minetest.swap_node(pos, {name = "mesecons_solarpanel:solar_panel_on"})
mesecon.receptor_on(pos, mesecon.rules.pplate) mesecon.receptor_on(pos, mesecon.rules.pplate)
end, end,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })

View File

@ -204,7 +204,7 @@ minetest.register_node("mesecons_torch:redstoneblock", {
state = mesecon.state.on, state = mesecon.state.on,
rules = mesecon.rules.alldirs, rules = mesecon.rules.alldirs,
}}, }},
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 5, _mcl_hardness = 5,
}) })

View File

@ -128,7 +128,7 @@ minetest.register_node("mesecons_walllever:wall_lever_off", {
state = mesecon.state.off state = mesecon.state.off
}}, }},
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
minetest.register_node("mesecons_walllever:wall_lever_on", { minetest.register_node("mesecons_walllever:wall_lever_on", {
@ -160,7 +160,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
state = mesecon.state.on state = mesecon.state.on
}}, }},
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })

View File

@ -275,7 +275,7 @@ local anvildef = {
} }
}, },
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6000, _mcl_blast_resistance = 1200,
_mcl_hardness = 5, _mcl_hardness = 5,
_mcl_after_falling = damage_anvil_by_falling, _mcl_after_falling = damage_anvil_by_falling,

View File

@ -230,7 +230,7 @@ S("You can copy the pattern of a banner by placing two banners of the same color
respawn_banner_entity(pos, node) respawn_banner_entity(pos, node)
end, end,
_mcl_hardness = 1, _mcl_hardness = 1,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
on_rotate = function(pos, node, user, mode, param2) on_rotate = function(pos, node, user, mode, param2)
if mode == screwdriver.ROTATE_FACE then if mode == screwdriver.ROTATE_FACE then
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
@ -274,7 +274,7 @@ minetest.register_node("mcl_banners:hanging_banner", {
respawn_banner_entity(pos, node) respawn_banner_entity(pos, node)
end, end,
_mcl_hardness = 1, _mcl_hardness = 1,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
on_rotate = function(pos, node, user, mode, param2) on_rotate = function(pos, node, user, mode, param2)
if mode == screwdriver.ROTATE_FACE then if mode == screwdriver.ROTATE_FACE then
local r = screwdriver.rotate.wallmounted(pos, node, mode) local r = screwdriver.rotate.wallmounted(pos, node, mode)

View File

@ -342,7 +342,7 @@ minetest.register_node("mcl_books:bookshelf", {
groups = {handy=1,axey=1, flammable=3,building_block=1, material_wood=1}, groups = {handy=1,axey=1, flammable=3,building_block=1, material_wood=1},
drop = "mcl_books:book 3", drop = "mcl_books:book 3",
sounds = wood_sound, sounds = wood_sound,
_mcl_blast_resistance = 7.5, _mcl_blast_resistance = 1.5,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })

View File

@ -70,7 +70,7 @@ minetest.register_node("mcl_cake:cake", {
_food_particles = false, _food_particles = false,
_mcl_saturation = 0.4, _mcl_saturation = 0.4,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -130,7 +130,7 @@ local register_slice = function(level, nodebox, desc)
_food_particles = false, _food_particles = false,
_mcl_saturation = 0.4, _mcl_saturation = 0.4,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })

View File

@ -63,7 +63,7 @@ minetest.register_node("mcl_cauldrons:cauldron", {
}, },
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_hardness = 2, _mcl_hardness = 2,
_mcl_blast_resistance = 10, _mcl_blast_resistance = 2,
}) })
-- Template function for cauldrons with water -- Template function for cauldrons with water
@ -94,7 +94,7 @@ local register_filled_cauldron = function(water_level, description, river_water)
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
drop = "mcl_cauldrons:cauldron", drop = "mcl_cauldrons:cauldron",
_mcl_hardness = 2, _mcl_hardness = 2,
_mcl_blast_resistance = 10, _mcl_blast_resistance = 2,
}) })
-- Add entry aliases for the Help -- Add entry aliases for the Help

View File

@ -111,7 +111,7 @@ local crop_def = {
}, },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = false, on_rotate = false,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
} }

View File

@ -37,7 +37,7 @@ minetest.register_node("mcl_colorblocks:hardened_clay", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1}, groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 21, _mcl_blast_resistance = 4.2,
_mcl_hardness = 1.25, _mcl_hardness = 1.25,
}) })
@ -87,7 +87,7 @@ for _, row in ipairs(block.dyes) do
groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1}, groups = {pickaxey=1, hardened_clay=1,building_block=1, material_stone=1},
stack_max = 64, stack_max = 64,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 21, _mcl_blast_resistance = 4.2,
_mcl_hardness = 1.25, _mcl_hardness = 1.25,
}) })
@ -128,7 +128,7 @@ for _, row in ipairs(block.dyes) do
-- Specify the node to which this node will convert after getting in contact with water -- Specify the node to which this node will convert after getting in contact with water
_mcl_colorblocks_harden_to = "mcl_colorblocks:concrete_"..name, _mcl_colorblocks_harden_to = "mcl_colorblocks:concrete_"..name,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -142,7 +142,7 @@ for _, row in ipairs(block.dyes) do
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 9, _mcl_blast_resistance = 1.8,
_mcl_hardness = 1.8, _mcl_hardness = 1.8,
}) })
@ -159,7 +159,7 @@ for _, row in ipairs(block.dyes) do
stack_max = 64, stack_max = 64,
is_ground_content = false, is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 7, _mcl_blast_resistance = 4.2,
_mcl_hardness = 1.4, _mcl_hardness = 1.4,
on_rotate = on_rotate, on_rotate = on_rotate,
}) })

View File

@ -35,7 +35,7 @@ minetest.register_node("mcl_crafting_table:crafting_table", {
minetest.show_formspec(player:get_player_name(), "main", form) minetest.show_formspec(player:get_player_name(), "main", form)
end, end,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 12.5, _mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5, _mcl_hardness = 2.5,
}) })

View File

@ -13,7 +13,7 @@ mcl_doors:register_door("mcl_doors:wooden_door", {
inventory_image = "doors_item_wood.png", inventory_image = "doors_item_wood.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_wood_lower.png", "mcl_doors_door_wood_side_lower.png"}, tiles_bottom = {"mcl_doors_door_wood_lower.png", "mcl_doors_door_wood_side_lower.png"},
tiles_top = {"mcl_doors_door_wood_upper.png", "mcl_doors_door_wood_side_upper.png"}, tiles_top = {"mcl_doors_door_wood_upper.png", "mcl_doors_door_wood_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -36,7 +36,7 @@ mcl_doors:register_door("mcl_doors:acacia_door", {
inventory_image = "mcl_doors_door_acacia.png", inventory_image = "mcl_doors_door_acacia.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_acacia_lower.png", "mcl_doors_door_acacia_side_lower.png"}, tiles_bottom = {"mcl_doors_door_acacia_lower.png", "mcl_doors_door_acacia_side_lower.png"},
tiles_top = {"mcl_doors_door_acacia_upper.png", "mcl_doors_door_acacia_side_upper.png"}, tiles_top = {"mcl_doors_door_acacia_upper.png", "mcl_doors_door_acacia_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -59,7 +59,7 @@ mcl_doors:register_door("mcl_doors:birch_door", {
inventory_image = "mcl_doors_door_birch.png", inventory_image = "mcl_doors_door_birch.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_birch_lower.png", "mcl_doors_door_birch_side_lower.png"}, tiles_bottom = {"mcl_doors_door_birch_lower.png", "mcl_doors_door_birch_side_lower.png"},
tiles_top = {"mcl_doors_door_birch_upper.png", "mcl_doors_door_birch_side_upper.png"}, tiles_top = {"mcl_doors_door_birch_upper.png", "mcl_doors_door_birch_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -82,7 +82,7 @@ mcl_doors:register_door("mcl_doors:dark_oak_door", {
inventory_image = "mcl_doors_door_dark_oak.png", inventory_image = "mcl_doors_door_dark_oak.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_dark_oak_lower.png", "mcl_doors_door_dark_oak_side_lower.png"}, tiles_bottom = {"mcl_doors_door_dark_oak_lower.png", "mcl_doors_door_dark_oak_side_lower.png"},
tiles_top = {"mcl_doors_door_dark_oak_upper.png", "mcl_doors_door_dark_oak_side_upper.png"}, tiles_top = {"mcl_doors_door_dark_oak_upper.png", "mcl_doors_door_dark_oak_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -105,7 +105,7 @@ mcl_doors:register_door("mcl_doors:jungle_door", {
inventory_image = "mcl_doors_door_jungle.png", inventory_image = "mcl_doors_door_jungle.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_jungle_lower.png", "mcl_doors_door_jungle_side_lower.png"}, tiles_bottom = {"mcl_doors_door_jungle_lower.png", "mcl_doors_door_jungle_side_lower.png"},
tiles_top = {"mcl_doors_door_jungle_upper.png", "mcl_doors_door_jungle_side_upper.png"}, tiles_top = {"mcl_doors_door_jungle_upper.png", "mcl_doors_door_jungle_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -128,7 +128,7 @@ mcl_doors:register_door("mcl_doors:spruce_door", {
inventory_image = "mcl_doors_door_spruce.png", inventory_image = "mcl_doors_door_spruce.png",
groups = {handy=1,axey=1, material_wood=1}, groups = {handy=1,axey=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
tiles_bottom = {"mcl_doors_door_spruce_lower.png", "mcl_doors_door_spruce_side_lower.png"}, tiles_bottom = {"mcl_doors_door_spruce_lower.png", "mcl_doors_door_spruce_side_lower.png"},
tiles_top = {"mcl_doors_door_spruce_upper.png", "mcl_doors_door_spruce_side_upper.png"}, tiles_top = {"mcl_doors_door_spruce_upper.png", "mcl_doors_door_spruce_side_upper.png"},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
@ -182,7 +182,7 @@ mcl_doors:register_door("mcl_doors:iron_door", {
inventory_image = "doors_item_steel.png", inventory_image = "doors_item_steel.png",
groups = {pickaxey=1, mesecon_effector_on=1}, groups = {pickaxey=1, mesecon_effector_on=1},
_mcl_hardness = 5, _mcl_hardness = 5,
_mcl_blast_resistance = 25, _mcl_blast_resistance = 5,
tiles_bottom = {"mcl_doors_door_iron_lower.png^[transformFX", "mcl_doors_door_iron_side_lower.png"}, tiles_bottom = {"mcl_doors_door_iron_lower.png^[transformFX", "mcl_doors_door_iron_side_lower.png"},
tiles_top = {"mcl_doors_door_iron_upper.png^[transformFX", "mcl_doors_door_iron_side_upper.png"}, tiles_top = {"mcl_doors_door_iron_upper.png^[transformFX", "mcl_doors_door_iron_side_upper.png"},
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
@ -224,7 +224,7 @@ for w=1, #woods do
wield_image = woods[w][3], wield_image = woods[w][3],
groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1}, groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1},
_mcl_hardness = 3, _mcl_hardness = 3,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
@ -251,7 +251,7 @@ mcl_doors:register_trapdoor("mcl_doors:iron_trapdoor", {
wield_image = "doors_trapdoor_steel.png", wield_image = "doors_trapdoor_steel.png",
groups = {pickaxey=1, mesecon_effector_on=1}, groups = {pickaxey=1, mesecon_effector_on=1},
_mcl_hardness = 5, _mcl_hardness = 5,
_mcl_blast_resistance = 25, _mcl_blast_resistance = 5,
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
sound_open = "doors_steel_door_open", sound_open = "doors_steel_door_open",
sound_close = "doors_steel_door_close", sound_close = "doors_steel_door_close",

View File

@ -15,7 +15,7 @@ minetest.register_node("mcl_end:end_stone", {
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
after_dig_node = mcl_end.check_detach_chorus_plant, after_dig_node = mcl_end.check_detach_chorus_plant,
_mcl_blast_resistance = 45, _mcl_blast_resistance = 9,
_mcl_hardness = 3, _mcl_hardness = 3,
}) })
@ -27,7 +27,7 @@ minetest.register_node("mcl_end:end_bricks", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4, _mcl_blast_resistance = 9,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })
@ -39,7 +39,7 @@ minetest.register_node("mcl_end:purpur_block", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1}, groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -54,7 +54,7 @@ minetest.register_node("mcl_end:purpur_pillar", {
groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1}, groups = {pickaxey=1, building_block=1, material_stone=1, purpur_block=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -167,7 +167,7 @@ minetest.register_node("mcl_end:dragon_egg", {
}, },
groups = {handy=1, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1, dig_by_piston = 1 }, groups = {handy=1, falling_node = 1, deco_block = 1, not_in_creative_inventory = 1, dig_by_piston = 1 },
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 45, _mcl_blast_resistance = 9,
_mcl_hardness = 3, _mcl_hardness = 3,
-- TODO: Make dragon egg teleport on punching -- TODO: Make dragon egg teleport on punching
}) })

View File

@ -200,7 +200,7 @@ minetest.register_node("mcl_end:chorus_flower", {
end, end,
after_dig_node = mcl_end.check_detach_chorus_plant, after_dig_node = mcl_end.check_detach_chorus_plant,
on_blast = mcl_end.check_blast_chorus_plant, on_blast = mcl_end.check_blast_chorus_plant,
_mcl_blast_resistance = 2, _mcl_blast_resistance = 0.4,
_mcl_hardness = 0.4, _mcl_hardness = 0.4,
}) })

View File

@ -33,7 +33,7 @@ local melon_base_def = {
} }
}, },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
} }

View File

@ -101,7 +101,7 @@ local pumpkin_base_def = {
groups = {handy=1,axey=1, plant=1,building_block=1, dig_by_piston=1, enderman_takable=1}, groups = {handy=1,axey=1, plant=1,building_block=1, dig_by_piston=1, enderman_takable=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
} }
minetest.register_node("mcl_farming:pumpkin", pumpkin_base_def) minetest.register_node("mcl_farming:pumpkin", pumpkin_base_def)
@ -148,7 +148,7 @@ minetest.register_node("mcl_farming:pumpkin_face_light", {
mobs_mc.tools.check_snow_golem_summon(pos) mobs_mc.tools.check_snow_golem_summon(pos)
end, end,
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
}) })

View File

@ -21,7 +21,7 @@ minetest.register_node("mcl_farming:soil", {
end, end,
groups = {handy=1,shovely=1, dirtifies_below_solid=1, dirtifier=1, soil=2, soil_sapling=1, deco_block=1 }, groups = {handy=1,shovely=1, dirtifies_below_solid=1, dirtifier=1, soil=2, soil_sapling=1, deco_block=1 },
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -44,7 +44,7 @@ minetest.register_node("mcl_farming:soil_wet", {
end, end,
groups = {handy=1,shovely=1, not_in_creative_inventory=1, dirtifies_below_solid=1, dirtifier=1, soil=3, soil_sapling=1 }, groups = {handy=1,shovely=1, not_in_creative_inventory=1, dirtifies_below_solid=1, dirtifier=1, soil=3, soil_sapling=1 },
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })

View File

@ -149,7 +149,7 @@ minetest.register_node("mcl_farming:hay_block", {
groups = {handy=1, flammable=2, building_block=1, fall_damage_add_percent=-80}, groups = {handy=1, flammable=2, building_block=1, fall_damage_add_percent=-80},
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })

View File

@ -359,7 +359,7 @@ minetest.register_node("mcl_furnaces:furnace", {
allow_metadata_inventory_take = allow_metadata_inventory_take, allow_metadata_inventory_take = allow_metadata_inventory_take,
on_metadata_inventory_take = on_metadata_inventory_take, on_metadata_inventory_take = on_metadata_inventory_take,
on_receive_fields = receive_fields, on_receive_fields = receive_fields,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
on_rotate = on_rotate, on_rotate = on_rotate,
}) })
@ -402,7 +402,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
allow_metadata_inventory_take = allow_metadata_inventory_take, allow_metadata_inventory_take = allow_metadata_inventory_take,
on_metadata_inventory_take = on_metadata_inventory_take, on_metadata_inventory_take = on_metadata_inventory_take,
on_receive_fields = receive_fields, on_receive_fields = receive_fields,
_mcl_blast_resistance = 17.5, _mcl_blast_resistance = 3.5,
_mcl_hardness = 3.5, _mcl_hardness = 3.5,
on_rotate = on_rotate, on_rotate = on_rotate,
}) })

View File

@ -112,7 +112,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
_mcl_armor_mob_range_mob = rangemob, _mcl_armor_mob_range_mob = rangemob,
_mcl_armor_mob_range_factor = rangefactor, _mcl_armor_mob_range_factor = rangefactor,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
}) })
@ -146,7 +146,7 @@ local function addhead(name, texture, desc, longdesc, rangemob, rangefactor)
}), }),
drop = "mcl_heads:"..name, drop = "mcl_heads:"..name,
on_rotate = on_rotate_wall, on_rotate = on_rotate_wall,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
}) })

View File

@ -114,7 +114,7 @@ local def_hopper = {
end, end,
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 24, _mcl_blast_resistance = 4.8,
_mcl_hardness = 3, _mcl_hardness = 3,
} }
@ -303,7 +303,7 @@ local def_hopper_side = {
on_rotate = on_rotate, on_rotate = on_rotate,
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 24, _mcl_blast_resistance = 4.8,
_mcl_hardness = 3, _mcl_hardness = 3,
} }

View File

@ -227,7 +227,7 @@ minetest.register_node("mcl_jukebox:jukebox", {
end end
meta:from_table(meta2:to_table()) meta:from_table(meta2:to_table())
end, end,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })

View File

@ -323,7 +323,7 @@ minetest.register_node("mcl_mobspawners:spawner", {
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 25, _mcl_blast_resistance = 5,
_mcl_hardness = 5, _mcl_hardness = 5,
}) })

View File

@ -26,7 +26,7 @@ local register_block = function(subname, description, tiles, is_ground_content)
_tt_help = S("Hides a silverfish"), _tt_help = S("Hides a silverfish"),
_doc_items_longdesc = S("An infested block is a block from which a silverfish will pop out when it is broken. It looks identical to its normal counterpart."), _doc_items_longdesc = S("An infested block is a block from which a silverfish will pop out when it is broken. It looks identical to its normal counterpart."),
_mcl_hardness = 0, _mcl_hardness = 0,
_mcl_blast_resistance = 3.75, _mcl_blast_resistance = 0.5,
}) })
end end

View File

@ -4,7 +4,7 @@ local template = {
groups = {handy=1,axey=1, building_block = 1, material_wood = 1 }, groups = {handy=1,axey=1, building_block = 1, material_wood = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = true, is_ground_content = true,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
} }

View File

@ -25,7 +25,7 @@ minetest.register_node("mcl_nether:glowstone", {
paramtype = "light", paramtype = "light",
light_source = minetest.LIGHT_MAX, light_source = minetest.LIGHT_MAX,
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })
@ -38,7 +38,7 @@ minetest.register_node("mcl_nether:quartz_ore", {
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
drop = 'mcl_nether:quartz', drop = 'mcl_nether:quartz',
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
_mcl_hardness = 3, _mcl_hardness = 3,
}) })
@ -75,7 +75,7 @@ minetest.register_node("mcl_nether:netherrack", {
is_ground_content = true, is_ground_content = true,
groups = {pickaxey=1, building_block=1, material_stone=1, enderman_takable=1}, groups = {pickaxey=1, building_block=1, material_stone=1, enderman_takable=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 2, _mcl_blast_resistance = 0.4,
_mcl_hardness = 0.4, _mcl_hardness = 0.4,
-- Eternal fire on top -- Eternal fire on top
@ -104,7 +104,7 @@ minetest.register_node("mcl_nether:magma", {
player:set_hp(player:get_hp() - 1, { type = "punch", from = "mod" }) player:set_hp(player:get_hp() - 1, { type = "punch", from = "mod" })
end end
end, end,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
-- Eternal fire on top -- Eternal fire on top
@ -125,7 +125,7 @@ minetest.register_node("mcl_nether:soul_sand", {
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5 - 2/16, 0.5 }, fixed = { -0.5, -0.5, -0.5, 0.5, 0.5 - 2/16, 0.5 },
}, },
sounds = mcl_sounds.node_sound_sand_defaults(), sounds = mcl_sounds.node_sound_sand_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
-- Movement handling is done in mcl_playerplus mod -- Movement handling is done in mcl_playerplus mod
}) })
@ -139,7 +139,7 @@ minetest.register_node("mcl_nether:nether_brick", {
is_ground_content = false, is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -152,7 +152,7 @@ minetest.register_node("mcl_nether:red_nether_brick", {
is_ground_content = false, is_ground_content = false,
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -170,7 +170,7 @@ minetest.register_node("mcl_nether:nether_wart_block", {
dug={name="default_dirt_footstep", gain=1.5}, dug={name="default_dirt_footstep", gain=1.5},
} }
), ),
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
_mcl_hardness = 1, _mcl_hardness = 1,
}) })
@ -182,7 +182,7 @@ minetest.register_node("mcl_nether:quartz_block", {
tiles = {"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"}, 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, material_stone=1}, groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })
@ -194,7 +194,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
tiles = {"mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_top.png", "mcl_nether_quartz_chiseled_side.png"}, 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, material_stone=1}, groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })
@ -209,7 +209,7 @@ minetest.register_node("mcl_nether:quartz_pillar", {
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1}, groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })
minetest.register_node("mcl_nether:quartz_smooth", { minetest.register_node("mcl_nether:quartz_smooth", {
@ -220,7 +220,7 @@ minetest.register_node("mcl_nether:quartz_smooth", {
tiles = {"mcl_nether_quartz_block_bottom.png"}, tiles = {"mcl_nether_quartz_block_bottom.png"},
groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1}, groups = {pickaxey=1, quartz_block=1,building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
}) })

View File

@ -90,7 +90,7 @@ for c=1, #corals do
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
drop = "mcl_ocean:dead_"..id.."_coral_block", drop = "mcl_ocean:dead_"..id.."_coral_block",
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
}) })
minetest.register_node("mcl_ocean:dead_"..id.."_coral_block", { minetest.register_node("mcl_ocean:dead_"..id.."_coral_block", {
description = corals[c][3], description = corals[c][3],
@ -99,7 +99,7 @@ for c=1, #corals do
groups = { pickaxey = 1, building_block = 1, coral=2, coral_block=2, coral_species=c, }, groups = { pickaxey = 1, building_block = 1, coral=2, coral_block=2, coral_species=c, },
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
}) })
-- Coral -- Coral

View File

@ -19,7 +19,7 @@ minetest.register_node("mcl_ocean:sea_lantern", {
tiles = {{name="mcl_ocean_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}}, tiles = {{name="mcl_ocean_sea_lantern.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.25}}},
groups = {handy=1, building_block=1, material_glass=1}, groups = {handy=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })
@ -32,7 +32,7 @@ minetest.register_node("mcl_ocean:prismarine", {
tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}}, tiles = {{name="mcl_ocean_prismarine_anim.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=45.0}}},
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 1.5,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -44,7 +44,7 @@ minetest.register_node("mcl_ocean:prismarine_brick", {
tiles = {"mcl_ocean_prismarine_bricks.png"}, tiles = {"mcl_ocean_prismarine_bricks.png"},
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 1.5,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -56,7 +56,7 @@ minetest.register_node("mcl_ocean:prismarine_dark", {
tiles = {"mcl_ocean_prismarine_dark.png"}, tiles = {"mcl_ocean_prismarine_dark.png"},
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 1.5,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })

View File

@ -79,7 +79,7 @@ minetest.register_node("mcl_portals:portal_end", {
groups = {portal=1, not_in_creative_inventory = 1, disable_jump = 1}, groups = {portal=1, not_in_creative_inventory = 1, disable_jump = 1},
_mcl_hardness = -1, _mcl_hardness = -1,
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 36000000,
}) })
-- Obsidian platform at the End portal destination in the End -- Obsidian platform at the End portal destination in the End
@ -329,7 +329,7 @@ minetest.register_node("mcl_portals:end_portal_frame", {
on_rotate = rotate_frame, on_rotate = rotate_frame,
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 36000000,
_mcl_hardness = -1, _mcl_hardness = -1,
}) })
@ -368,7 +368,7 @@ minetest.register_node("mcl_portals:end_portal_frame_eye", {
on_rotate = rotate_frame_eye, on_rotate = rotate_frame_eye,
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 36000000,
_mcl_hardness = -1, _mcl_hardness = -1,
}) })

View File

@ -412,7 +412,7 @@ minetest.register_node("mcl_signs:wall_sign", {
end end
end, end,
_mcl_hardness = 1, _mcl_hardness = 1,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
}) })
-- Standing sign nodes. -- Standing sign nodes.
@ -452,7 +452,7 @@ local ssign = {
end, end,
_mcl_hardness = 1, _mcl_hardness = 1,
_mcl_blast_resistance = 5, _mcl_blast_resistance = 1,
} }
minetest.register_node("mcl_signs:standing_sign", ssign) minetest.register_node("mcl_signs:standing_sign", ssign)

View File

@ -90,7 +90,7 @@ minetest.register_node("mcl_sponges:sponge", {
end end
return minetest.item_place_node(itemstack, placer, pointed_thing) return minetest.item_place_node(itemstack, placer, pointed_thing)
end, end,
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -108,7 +108,7 @@ minetest.register_node("mcl_sponges:sponge_wet", {
stack_max = 64, stack_max = 64,
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
groups = {handy=1, building_block=1}, groups = {handy=1, building_block=1},
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -127,7 +127,7 @@ if minetest.get_modpath("mclx_core") then
stack_max = 64, stack_max = 64,
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
groups = {handy=1, building_block=1}, groups = {handy=1, building_block=1},
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })

View File

@ -166,7 +166,7 @@ function mcl_walls.register_wall(nodename, description, source, tiles, inventory
fixed = take fixed = take
}, },
sounds = sounds, sounds = sounds,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -193,7 +193,7 @@ function mcl_walls.register_wall(nodename, description, source, tiles, inventory
fixed = {pillar, full_blocks[1]} fixed = {pillar, full_blocks[1]}
}, },
sounds = sounds, sounds = sounds,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
-- Add entry alias for the Help -- Add entry alias for the Help
@ -218,7 +218,7 @@ function mcl_walls.register_wall(nodename, description, source, tiles, inventory
fixed = {pillar, full_blocks[2]} fixed = {pillar, full_blocks[2]}
}, },
sounds = sounds, sounds = sounds,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
-- Add entry alias for the Help -- Add entry alias for the Help
@ -249,7 +249,7 @@ function mcl_walls.register_wall(nodename, description, source, tiles, inventory
collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2}, collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2},
on_construct = update_wall, on_construct = update_wall,
sounds = sounds, sounds = sounds,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
if source then if source then

View File

@ -63,7 +63,7 @@ for _, row in ipairs(wool.dyes) do
groups = {handy=1,shearsy_wool=1, flammable=1,wool=1,building_block=1,[color_group]=1}, groups = {handy=1,shearsy_wool=1, flammable=1,wool=1,building_block=1,[color_group]=1},
sounds = mcl_sounds.node_sound_wool_defaults(), sounds = mcl_sounds.node_sound_wool_defaults(),
_mcl_hardness = 0.8, _mcl_hardness = 0.8,
_mcl_blast_resistance = 4, _mcl_blast_resistance = 0.8,
}) })
minetest.register_node("mcl_wool:"..name.."_carpet", { minetest.register_node("mcl_wool:"..name.."_carpet", {
description = desc_carpet, description = desc_carpet,
@ -89,7 +89,7 @@ for _, row in ipairs(wool.dyes) do
}, },
}, },
_mcl_hardness = 0.1, _mcl_hardness = 0.1,
_mcl_blast_resistance = 0.5, _mcl_blast_resistance = 0.1,
}) })
if mod_doc and not is_canonical then if mod_doc and not is_canonical then
doc.add_entry_alias("nodes", "mcl_wool:"..canonical_color, "nodes", "mcl_wool:"..name) doc.add_entry_alias("nodes", "mcl_wool:"..canonical_color, "nodes", "mcl_wool:"..name)

View File

@ -202,7 +202,7 @@ local pane = function(description, node, append)
{node, node, node}, {node, node, node},
}, },
drop = "", drop = "",
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })
@ -225,7 +225,7 @@ xpanes.register_pane("bar", {
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"}, {"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"}, {"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
}, },
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 5, _mcl_hardness = 5,
}) })