diff --git a/crafts.lua b/crafts.lua index 2c686be..ec02107 100644 --- a/crafts.lua +++ b/crafts.lua @@ -191,7 +191,7 @@ minetest.register_node("mobs:fence_top", { tiles = {"default_wood.png"}, paramtype = "light", is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2}, + groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, axey = 1}, sounds = mod_def and default.node_sound_wood_defaults(), node_box = { type = "fixed", @@ -377,10 +377,12 @@ minetest.register_node("mobs:meatblock", { description = S("Meat Block"), tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"}, paramtype2 = "facedir", - groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2}, + groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1}, sounds = mod_def and default.node_sound_leaves_defaults(), on_place = minetest.rotate_node, - on_use = minetest.item_eat(20) + on_use = minetest.item_eat(20), + _mcl_hardness = 0.8, + _mcl_blast_resistance = 1 }) minetest.register_craft({ @@ -397,10 +399,12 @@ minetest.register_node("mobs:meatblock_raw", { description = S("Raw Meat Block"), tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"}, paramtype2 = "facedir", - groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2}, + groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1}, sounds = mod_def and default.node_sound_leaves_defaults(), on_place = minetest.rotate_node, - on_use = minetest.item_eat(20) + on_use = minetest.item_eat(20), + _mcl_hardness = 0.8, + _mcl_blast_resistance = 1 }) minetest.register_craft({ diff --git a/spawner.lua b/spawner.lua index 4686bd4..ddf6979 100644 --- a/spawner.lua +++ b/spawner.lua @@ -20,7 +20,9 @@ minetest.register_node("mobs:spawner", { paramtype = "light", walkable = true, description = S("Mob Spawner"), - groups = {cracky = 1}, + groups = {cracky = 1, pickaxey = 3}, + _mcl_hardness = 1, + _mcl_blast_resistance = 5, on_construct = function(pos)