1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

beehives no longer suffocate bees

This commit is contained in:
TenPlus1 2020-05-09 20:28:11 +01:00
parent 914c37a0ae
commit 59d5dbab85
2 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@ minetest.register_node(":mobs:beehive", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = true, walkable = true,
groups = {oddly_breakable_by_hand = 3, flammable = 1}, groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1},
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
on_construct = function(pos) on_construct = function(pos)

View File

@ -65,6 +65,7 @@ mobs:register_mob("mobs_animal:cow", {
{"group:grass", "air", 0}, {"group:grass", "air", 0},
{"default:dirt_with_grass", "default:dirt", -1} {"default:dirt_with_grass", "default:dirt", -1}
}, },
-- stay_near = {{"farming:straw", "group:grass"}, 10},
fear_height = 2, fear_height = 2,
on_rightclick = function(self, clicker) on_rightclick = function(self, clicker)