forked from mtcontrib/mobs_animal
set is_ground_content for honey block, chicken egg and beehive (thx SwissAlpS)
This commit is contained in:
parent
bf12043fdc
commit
76c30c81c3
2
bee.lua
2
bee.lua
|
@ -90,6 +90,7 @@ minetest.register_node(":mobs:beehive", {
|
|||
sunlight_propagates = true,
|
||||
walkable = true,
|
||||
groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1},
|
||||
is_ground_content = false,
|
||||
sounds = default and default.node_sound_defaults(),
|
||||
|
||||
on_construct = function(pos)
|
||||
|
@ -163,6 +164,7 @@ minetest.register_node(":mobs:honey_block", {
|
|||
description = S("Honey Block"),
|
||||
tiles = {"mobs_honey_block.png"},
|
||||
groups = {snappy = 3, flammable = 2},
|
||||
is_ground_content = false,
|
||||
sounds = default and default.node_sound_dirt_defaults()
|
||||
})
|
||||
|
||||
|
|
|
@ -252,7 +252,7 @@ minetest.register_node(":mobs:egg", {
|
|||
wield_image = "mobs_chicken_egg.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
is_ground_content = true,
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
|
Loading…
Reference in New Issue
Block a user