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

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, sunlight_propagates = true,
walkable = true, walkable = true,
groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1}, groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1},
is_ground_content = false,
sounds = default and default.node_sound_defaults(), sounds = default and default.node_sound_defaults(),
on_construct = function(pos) on_construct = function(pos)
@ -163,6 +164,7 @@ minetest.register_node(":mobs:honey_block", {
description = S("Honey Block"), description = S("Honey Block"),
tiles = {"mobs_honey_block.png"}, tiles = {"mobs_honey_block.png"},
groups = {snappy = 3, flammable = 2}, groups = {snappy = 3, flammable = 2},
is_ground_content = false,
sounds = default and default.node_sound_dirt_defaults() 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", wield_image = "mobs_chicken_egg.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
is_ground_content = true, is_ground_content = false,
sunlight_propagates = true, sunlight_propagates = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",