Change blast resistance of nodes in mcl_core

The new blast resistance values are copied from the Minecraft wiki.

https://minecraft.gamepedia.com/Explosion
This commit is contained in:
Elias Åström 2020-04-15 13:27:29 +02:00
parent 868fa04818
commit 063595ac3c
7 changed files with 70 additions and 70 deletions

View File

@ -20,7 +20,7 @@ minetest.register_node("mcl_core:stone", {
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
drop = 'mcl_core:cobble', drop = 'mcl_core:cobble',
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,
}) })
@ -34,7 +34,7 @@ minetest.register_node("mcl_core:stone_with_coal", {
groups = {pickaxey=1, building_block=1, material_stone=1}, groups = {pickaxey=1, building_block=1, material_stone=1},
drop = 'mcl_core:coal_lump', drop = 'mcl_core:coal_lump',
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,
}) })
@ -47,7 +47,7 @@ minetest.register_node("mcl_core:stone_with_iron", {
groups = {pickaxey=3, building_block=1, material_stone=1}, groups = {pickaxey=3, building_block=1, material_stone=1},
drop = 'mcl_core:stone_with_iron', drop = 'mcl_core:stone_with_iron',
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,
}) })
@ -61,7 +61,7 @@ minetest.register_node("mcl_core:stone_with_gold", {
groups = {pickaxey=4, building_block=1, material_stone=1}, groups = {pickaxey=4, building_block=1, material_stone=1},
drop = "mcl_core:stone_with_gold", drop = "mcl_core:stone_with_gold",
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,
}) })
@ -93,7 +93,7 @@ minetest.register_node("mcl_core:stone_with_redstone", {
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
on_punch = redstone_ore_activate, on_punch = redstone_ore_activate,
on_walk_over = redstone_ore_activate, -- Uses walkover mod on_walk_over = redstone_ore_activate, -- Uses walkover mod
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
_mcl_hardness = 3, _mcl_hardness = 3,
}) })
@ -131,7 +131,7 @@ minetest.register_node("mcl_core:stone_with_redstone_lit", {
on_timer = function(pos, elapsed) on_timer = function(pos, elapsed)
minetest.swap_node(pos, {name="mcl_core:stone_with_redstone"}) minetest.swap_node(pos, {name="mcl_core:stone_with_redstone"})
end, end,
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
_mcl_hardness = 3, _mcl_hardness = 3,
}) })
@ -153,7 +153,7 @@ minetest.register_node("mcl_core:stone_with_lapis", {
} }
}, },
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,
}) })
@ -166,7 +166,7 @@ minetest.register_node("mcl_core:stone_with_emerald", {
groups = {pickaxey=4, building_block=1, material_stone=1}, groups = {pickaxey=4, building_block=1, material_stone=1},
drop = "mcl_core:emerald", drop = "mcl_core:emerald",
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,
}) })
@ -179,7 +179,7 @@ minetest.register_node("mcl_core:stone_with_diamond", {
groups = {pickaxey=4, building_block=1, material_stone=1}, groups = {pickaxey=4, building_block=1, material_stone=1},
drop = "mcl_core:diamond", drop = "mcl_core:diamond",
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,
}) })
@ -191,7 +191,7 @@ minetest.register_node("mcl_core:stonebrick", {
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -203,7 +203,7 @@ minetest.register_node("mcl_core:stonebrickcarved", {
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -215,7 +215,7 @@ minetest.register_node("mcl_core:stonebrickcracked", {
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -227,7 +227,7 @@ minetest.register_node("mcl_core:stonebrickmossy", {
groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, stonebrick=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -239,7 +239,7 @@ minetest.register_node("mcl_core:stone_smooth", {
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=1, building_block=1, material_stone=1},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 1.5, _mcl_hardness = 1.5,
}) })
@ -251,7 +251,7 @@ minetest.register_node("mcl_core:granite", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=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 = 1.5, _mcl_hardness = 1.5,
}) })
@ -263,7 +263,7 @@ minetest.register_node("mcl_core:granite_smooth", {
is_ground_content = false, is_ground_content = false,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=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 = 1.5, _mcl_hardness = 1.5,
}) })
@ -275,7 +275,7 @@ minetest.register_node("mcl_core:andesite", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=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 = 1.5, _mcl_hardness = 1.5,
}) })
@ -299,7 +299,7 @@ minetest.register_node("mcl_core:diorite", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=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 = 1.5, _mcl_hardness = 1.5,
}) })
@ -311,7 +311,7 @@ minetest.register_node("mcl_core:diorite_smooth", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, stone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, stone=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 = 1.5, _mcl_hardness = 1.5,
}) })
@ -344,7 +344,7 @@ minetest.register_node("mcl_core:dirt_with_grass", {
return mcl_core.on_snowable_construct(pos) return mcl_core.on_snowable_construct(pos)
end, end,
_mcl_snowed = "mcl_core:dirt_with_grass_snow", _mcl_snowed = "mcl_core:dirt_with_grass_snow",
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
mcl_core.register_snowed_node("mcl_core:dirt_with_grass_snow", "mcl_core:dirt_with_grass", nil, nil, true) mcl_core.register_snowed_node("mcl_core:dirt_with_grass_snow", "mcl_core:dirt_with_grass", nil, nil, true)
@ -368,7 +368,7 @@ minetest.register_node("mcl_core:grass_path", {
sounds = mcl_sounds.node_sound_dirt_defaults({ sounds = mcl_sounds.node_sound_dirt_defaults({
footstep = {name="default_grass_footstep", gain=0.4}, footstep = {name="default_grass_footstep", gain=0.4},
}), }),
_mcl_blast_resistance = 3.25, _mcl_blast_resistance = 0.65,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -387,7 +387,7 @@ minetest.register_node("mcl_core:mycelium", {
on_construct = mcl_core.on_snowable_construct, on_construct = mcl_core.on_snowable_construct,
_mcl_snowed = "mcl_core:mycelium_snow", _mcl_snowed = "mcl_core:mycelium_snow",
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
mcl_core.register_snowed_node("mcl_core:mycelium_snow", "mcl_core:mycelium") mcl_core.register_snowed_node("mcl_core:mycelium_snow", "mcl_core:mycelium")
@ -403,7 +403,7 @@ minetest.register_node("mcl_core:podzol", {
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
on_construct = mcl_core.on_snowable_construct, on_construct = mcl_core.on_snowable_construct,
_mcl_snowed = "mcl_core:podzol_snow", _mcl_snowed = "mcl_core:podzol_snow",
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
mcl_core.register_snowed_node("mcl_core:podzol_snow", "mcl_core:podzol") mcl_core.register_snowed_node("mcl_core:podzol_snow", "mcl_core:podzol")
@ -417,7 +417,7 @@ minetest.register_node("mcl_core:dirt", {
stack_max = 64, stack_max = 64,
groups = {handy=1,shovely=1, dirt=1,soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, enderman_takable=1, building_block=1}, groups = {handy=1,shovely=1, dirt=1,soil=1, soil_sapling=2, soil_sugarcane=1, cultivatable=2, enderman_takable=1, building_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.5, _mcl_hardness = 0.5,
}) })
@ -429,7 +429,7 @@ minetest.register_node("mcl_core:coarse_dirt", {
stack_max = 64, stack_max = 64,
groups = {handy=1,shovely=1, dirt=3,soil=1, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_block=1}, groups = {handy=1,shovely=1, dirt=3,soil=1, soil_sugarcane=1, cultivatable=1, enderman_takable=1, building_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.5, _mcl_hardness = 0.5,
}) })
@ -450,7 +450,7 @@ minetest.register_node("mcl_core:gravel", {
sounds = mcl_sounds.node_sound_dirt_defaults({ sounds = mcl_sounds.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.45}, footstep = {name="default_gravel_footstep", gain=0.45},
}), }),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -464,7 +464,7 @@ minetest.register_node("mcl_core:sand", {
stack_max = 64, stack_max = 64,
groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1}, groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1},
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,
}) })
@ -477,7 +477,7 @@ minetest.register_node("mcl_core:sandstone", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, normal_sandstone=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,
}) })
@ -489,7 +489,7 @@ minetest.register_node("mcl_core:sandstonesmooth", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, normal_sandstone=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,
}) })
@ -501,7 +501,7 @@ minetest.register_node("mcl_core:sandstonecarved", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, normal_sandstone=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,
}) })
@ -514,7 +514,7 @@ minetest.register_node("mcl_core:sandstonesmooth2", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, normal_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, normal_sandstone=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,
}) })
@ -528,7 +528,7 @@ minetest.register_node("mcl_core:redsand", {
stack_max = 64, stack_max = 64,
groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1}, groups = {handy=1,shovely=1, falling_node=1, sand=1, soil_sugarcane=1, enderman_takable=1, building_block=1, material_sand=1},
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,
}) })
@ -540,7 +540,7 @@ minetest.register_node("mcl_core:redsandstone", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, red_sandstone=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,
}) })
@ -552,7 +552,7 @@ minetest.register_node("mcl_core:redsandstonesmooth", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, red_sandstone=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,
}) })
@ -564,7 +564,7 @@ minetest.register_node("mcl_core:redsandstonecarved", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, red_sandstone=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,
}) })
@ -576,7 +576,7 @@ minetest.register_node("mcl_core:redsandstonesmooth2", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, sandstone=1, red_sandstone=1, building_block=1, material_stone=1}, groups = {pickaxey=1, sandstone=1, red_sandstone=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,
}) })
@ -592,7 +592,7 @@ minetest.register_node("mcl_core:clay", {
groups = {handy=1,shovely=1, enderman_takable=1, building_block=1}, groups = {handy=1,shovely=1, enderman_takable=1, building_block=1},
drop = 'mcl_core:clay_lump 4', drop = 'mcl_core:clay_lump 4',
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 0.6,
_mcl_hardness = 0.6, _mcl_hardness = 0.6,
}) })
@ -605,7 +605,7 @@ minetest.register_node("mcl_core:brick_block", {
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 = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -621,7 +621,7 @@ minetest.register_node("mcl_core:bedrock", {
is_ground_content = false, is_ground_content = false,
on_blast = function() end, on_blast = function() end,
drop = '', drop = '',
_mcl_blast_resistance = 18000000, _mcl_blast_resistance = 3600000,
_mcl_hardness = -1, _mcl_hardness = -1,
-- Eternal fire on top of bedrock, if in the End dimension -- Eternal fire on top of bedrock, if in the End dimension
@ -658,7 +658,7 @@ minetest.register_node("mcl_core:cobble", {
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 = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -670,7 +670,7 @@ minetest.register_node("mcl_core:mossycobble", {
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 = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -682,7 +682,7 @@ minetest.register_node("mcl_core:coalblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=1, flammable=1, building_block=1, material_stone=1}, groups = {pickaxey=1, flammable=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 = 5, _mcl_hardness = 5,
}) })
@ -694,7 +694,7 @@ minetest.register_node("mcl_core:ironblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=2, building_block=1}, groups = {pickaxey=2, building_block=1},
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 5, _mcl_hardness = 5,
}) })
@ -706,7 +706,7 @@ minetest.register_node("mcl_core:goldblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=4, building_block=1}, groups = {pickaxey=4, building_block=1},
sounds = mcl_sounds.node_sound_metal_defaults(), sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 30, _mcl_blast_resistance = 6,
_mcl_hardness = 5, _mcl_hardness = 5,
}) })
@ -718,7 +718,7 @@ minetest.register_node("mcl_core:diamondblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=4, building_block=1}, groups = {pickaxey=4, building_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 = 5, _mcl_hardness = 5,
}) })
@ -730,7 +730,7 @@ minetest.register_node("mcl_core:lapisblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=3, building_block=1}, groups = {pickaxey=3, building_block=1},
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,
}) })
@ -742,7 +742,7 @@ minetest.register_node("mcl_core:emeraldblock", {
stack_max = 64, stack_max = 64,
groups = {pickaxey=4, building_block=1}, groups = {pickaxey=4, building_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 = 5, _mcl_hardness = 5,
}) })
@ -754,7 +754,7 @@ minetest.register_node("mcl_core:obsidian", {
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
stack_max = 64, stack_max = 64,
groups = {pickaxey=5, building_block=1, material_stone=1}, groups = {pickaxey=5, building_block=1, material_stone=1},
_mcl_blast_resistance = 6000, _mcl_blast_resistance = 1200,
_mcl_hardness = 50, _mcl_hardness = 50,
}) })
@ -774,7 +774,7 @@ minetest.register_node("mcl_core:ice", {
after_dig_node = function(pos, oldnode) after_dig_node = function(pos, oldnode)
mcl_core.melt_ice(pos) mcl_core.melt_ice(pos)
end, end,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -787,7 +787,7 @@ minetest.register_node("mcl_core:packed_ice", {
groups = {handy=1,pickaxey=1, slippery=3, building_block=1}, groups = {handy=1,pickaxey=1, slippery=3, building_block=1},
drop = "", drop = "",
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -851,7 +851,7 @@ for i=0,3 do
local timer = minetest.get_node_timer(pos) local timer = minetest.get_node_timer(pos)
timer:start(1.5) timer:start(1.5)
end, end,
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 0.5,
_mcl_hardness = 0.5, _mcl_hardness = 0.5,
}) })
@ -970,7 +970,7 @@ for i=1,8 do
on_place = on_place, on_place = on_place,
after_destruct = mcl_core.after_snow_destruct, after_destruct = mcl_core.after_snow_destruct,
drop = "mcl_throwing:snowball "..(i+1), drop = "mcl_throwing:snowball "..(i+1),
_mcl_blast_resistance = 0.5, _mcl_blast_resistance = 0.1,
_mcl_hardness = 0.1, _mcl_hardness = 0.1,
}) })
end end
@ -987,7 +987,7 @@ minetest.register_node("mcl_core:snowblock", {
on_construct = mcl_core.on_snow_construct, on_construct = mcl_core.on_snow_construct,
after_destruct = mcl_core.after_snow_destruct, after_destruct = mcl_core.after_snow_destruct,
drop = "mcl_throwing:snowball 4", drop = "mcl_throwing:snowball 4",
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })

View File

@ -42,7 +42,7 @@ minetest.register_node("mcl_core:cactus", {
if not node_below then return false end if not node_below then return false end
return (node_below.name == "mcl_core:cactus" or minetest.get_item_group(node_below.name, "sand") == 1) return (node_below.name == "mcl_core:cactus" or minetest.get_item_group(node_below.name, "sand") == 1)
end), end),
_mcl_blast_resistance = 2, _mcl_blast_resistance = 0.4,
_mcl_hardness = 0.4, _mcl_hardness = 0.4,
}) })

View File

@ -81,7 +81,7 @@ minetest.register_node("mcl_core:ladder", {
return itemstack return itemstack
end, end,
_mcl_blast_resistance = 2, _mcl_blast_resistance = 0.4,
_mcl_hardness = 0.4, _mcl_hardness = 0.4,
on_rotate = rotate_climbable, on_rotate = rotate_climbable,
}) })
@ -164,7 +164,7 @@ minetest.register_node("mcl_core:vine", {
end, end,
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
on_rotate = false, on_rotate = false,
}) })

View File

@ -14,7 +14,7 @@ minetest.register_node("mcl_core:glass", {
groups = {handy=1, glass=1, building_block=1, material_glass=1}, groups = {handy=1, glass=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "", drop = "",
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })
@ -49,7 +49,7 @@ function mcl_core.add_stained_glass(desc, recipeitem, colorgroup, color)
groups = {handy=1, glass=1, building_block=1, material_glass=1}, groups = {handy=1, glass=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "", drop = "",
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3, _mcl_hardness = 0.3,
}) })

View File

@ -49,7 +49,7 @@ minetest.register_node("mcl_core:water_flowing", {
liquid_range = 7, liquid_range = 7,
post_effect_color = {a=209, r=0x03, g=0x3C, b=0x5C}, post_effect_color = {a=209, r=0x03, g=0x3C, b=0x5C},
groups = { water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1, dig_by_piston=1}, groups = { water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1, dig_by_piston=1},
_mcl_blast_resistance = 500, _mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode -- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode
_mcl_hardness = -1, _mcl_hardness = -1,
}) })
@ -93,7 +93,7 @@ S("• When water is directly below lava, the water turns into stone."),
post_effect_color = {a=209, r=0x03, g=0x3C, b=0x5C}, post_effect_color = {a=209, r=0x03, g=0x3C, b=0x5C},
stack_max = 64, stack_max = 64,
groups = { water=3, liquid=3, puts_out_fire=1, freezes=1, not_in_creative_inventory=1, dig_by_piston=1}, groups = { water=3, liquid=3, puts_out_fire=1, freezes=1, not_in_creative_inventory=1, dig_by_piston=1},
_mcl_blast_resistance = 500, _mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode -- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode
_mcl_hardness = -1, _mcl_hardness = -1,
}) })
@ -139,7 +139,7 @@ minetest.register_node("mcl_core:lava_flowing", {
_mcl_node_death_message = lava_death_messages, _mcl_node_death_message = lava_death_messages,
post_effect_color = {a=255, r=208, g=73, b=10}, post_effect_color = {a=255, r=208, g=73, b=10},
groups = { lava=3, liquid=2, destroys_items=1, not_in_creative_inventory=1, dig_by_piston=1}, groups = { lava=3, liquid=2, destroys_items=1, not_in_creative_inventory=1, dig_by_piston=1},
_mcl_blast_resistance = 500, _mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode -- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode
_mcl_hardness = -1, _mcl_hardness = -1,
}) })
@ -194,7 +194,7 @@ S("• When lava is directly above water, the water turns into stone."),
post_effect_color = {a=255, r=208, g=73, b=10}, post_effect_color = {a=255, r=208, g=73, b=10},
stack_max = 64, stack_max = 64,
groups = { lava=3, liquid=2, destroys_items=1, not_in_creative_inventory=1, dig_by_piston=1}, groups = { lava=3, liquid=2, destroys_items=1, not_in_creative_inventory=1, dig_by_piston=1},
_mcl_blast_resistance = 500, _mcl_blast_resistance = 100,
-- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode -- Hardness intentionally set to infinite instead of 100 (Minecraft value) to avoid problems in creative mode
_mcl_hardness = -1, _mcl_hardness = -1,
}) })

View File

@ -17,7 +17,7 @@ minetest.register_node("mcl_core:bone_block", {
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(),
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 10, _mcl_blast_resistance = 2,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -76,7 +76,7 @@ minetest.register_node("mcl_core:cobweb", {
drop = "mcl_mobitems:string", drop = "mcl_mobitems:string",
_mcl_shears_drop = true, _mcl_shears_drop = true,
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
_mcl_blast_resistance = 20, _mcl_blast_resistance = 4,
_mcl_hardness = 4, _mcl_hardness = 4,
}) })
@ -135,7 +135,7 @@ minetest.register_node("mcl_core:barrier", {
groups = {creative_breakable=1, not_in_creative_inventory = 1, not_solid = 1 }, groups = {creative_breakable=1, not_in_creative_inventory = 1, not_solid = 1 },
on_blast = function() end, on_blast = function() end,
drop = "", drop = "",
_mcl_blast_resistance = 18000003, _mcl_blast_resistance = 36000008,
_mcl_hardness = -1, _mcl_hardness = -1,
after_place_node = function (pos, placer, itemstack, pointed_thing) after_place_node = function (pos, placer, itemstack, pointed_thing)
if placer == nil then if placer == nil then
@ -195,7 +195,7 @@ minetest.register_node("mcl_core:realm_barrier", {
groups = {not_in_creative_inventory = 1, not_solid = 1 }, groups = {not_in_creative_inventory = 1, not_solid = 1 },
on_blast = function() end, on_blast = function() end,
drop = "", drop = "",
_mcl_blast_resistance = 18000003, _mcl_blast_resistance = 36000008,
_mcl_hardness = -1, _mcl_hardness = -1,
-- Prevent placement to protect player from screwing up the world, because the node is not pointable and hard to get rid of. -- Prevent placement to protect player from screwing up the world, because the node is not pointable and hard to get rid of.
node_placement_prediction = "", node_placement_prediction = "",

View File

@ -20,7 +20,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
groups = {handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=1}, groups = {handy=1,axey=1, tree=1, flammable=2, building_block=1, material_wood=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 = 10, _mcl_blast_resistance = 2,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -35,7 +35,7 @@ local register_tree_trunk = function(subname, description_trunk, description_bar
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
is_ground_content = false, is_ground_content = false,
on_rotate = on_rotate, on_rotate = on_rotate,
_mcl_blast_resistance = 10, _mcl_blast_resistance = 2,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
@ -58,7 +58,7 @@ local register_wooden_planks = function(subname, description, tiles)
is_ground_content = false, is_ground_content = false,
groups = {handy=1,axey=1, flammable=3,wood=1,building_block=1, material_wood=1}, groups = {handy=1,axey=1, flammable=3,wood=1,building_block=1, material_wood=1},
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 15, _mcl_blast_resistance = 3,
_mcl_hardness = 2, _mcl_hardness = 2,
}) })
end end
@ -108,7 +108,7 @@ local register_leaves = function(subname, description, longdesc, tiles, drop1, d
drop = drop, drop = drop,
_mcl_shears_drop = true, _mcl_shears_drop = true,
sounds = mcl_sounds.node_sound_leaves_defaults(), sounds = mcl_sounds.node_sound_leaves_defaults(),
_mcl_blast_resistance = 1, _mcl_blast_resistance = 0.2,
_mcl_hardness = 0.2, _mcl_hardness = 0.2,
}) })
end end