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:
parent
914c37a0ae
commit
59d5dbab85
2
bee.lua
2
bee.lua
@ -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)
|
||||||
|
1
cow.lua
1
cow.lua
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user