From 76c30c81c33d0616ed085141ba07ad49905b6404 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Tue, 27 Feb 2024 07:58:50 +0000 Subject: [PATCH] set is_ground_content for honey block, chicken egg and beehive (thx SwissAlpS) --- bee.lua | 2 ++ chicken.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bee.lua b/bee.lua index 1937ea9..e9c0b0a 100644 --- a/bee.lua +++ b/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() }) diff --git a/chicken.lua b/chicken.lua index 3ffa16d..7e7b0bb 100644 --- a/chicken.lua +++ b/chicken.lua @@ -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",