1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 05:50:17 +01:00

meatblocks can be eaten for 20 hp

This commit is contained in:
TenPlus1 2020-09-19 15:17:38 +01:00
parent 67e4ede31b
commit b6fb1948e8

View File

@ -340,7 +340,8 @@ minetest.register_node("mobs:meatblock", {
paramtype2 = "facedir",
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_leaves_defaults(),
on_place = minetest.rotate_node
on_place = minetest.rotate_node,
on_use = minetest.item_eat(20),
})
minetest.register_craft({