set is_ground_content for honey block, chicken egg and beehive (thx SwissAlpS)

This commit is contained in:
tenplus1 2024-02-27 07:58:50 +00:00
parent bf12043fdc
commit 76c30c81c3
2 changed files with 3 additions and 1 deletions

View File

@ -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()
})

View File

@ -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",