Fix wrong is_ground_content fields

This commit is contained in:
cora 2023-10-24 22:24:30 +02:00 committed by the-real-herowl
parent 100a39e4fa
commit 26fd36ba78
13 changed files with 17 additions and 9 deletions

View file

@ -117,6 +117,7 @@ minetest.register_node("mcl_barrels:barrel_closed", {
_doc_items_longdesc = S("Barrels are containers which provide 27 inventory slots."),
_doc_items_usagehelp = S("To access its inventory, rightclick it. When broken, the items will drop out."),
tiles = { "mcl_barrels_barrel_top.png^[transformR270", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png" },
is_ground_content = false,
paramtype = "light",
paramtype2 = "facedir",
on_place = function(itemstack, placer, pointed_thing)
@ -166,6 +167,7 @@ minetest.register_node("mcl_barrels:barrel_open", {
_doc_items_usagehelp = S("To access its inventory, rightclick it. When broken, the items will drop out."),
_doc_items_create_entry = false,
tiles = { "mcl_barrels_barrel_top_open.png", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png" },
is_ground_content = false,
paramtype = "light",
paramtype2 = "facedir",
drop = "mcl_barrels:barrel_closed",

View file

@ -236,6 +236,7 @@ minetest.register_node("mcl_beacons:beacon", {
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
mesh = "mcl_beacon.b3d",
tiles = {"beacon_UV.png"},
is_ground_content = false,
use_texture_alpha = "clip",
on_construct = function(pos)
local meta = minetest.get_meta(pos)

View file

@ -33,6 +33,7 @@ for i=0,4 do
"respawn_anchor_bottom.png",
"respawn_anchor_side0.png"
},
is_ground_content = false,
on_rightclick = rightclick,
groups = {pickaxey=1, material_stone=1},
_mcl_hardness = 22.5,

View file

@ -10,6 +10,7 @@ minetest.register_node("mcl_cartography_table:cartography_table", {
"mcl_cartography_table_side3.png", "mcl_cartography_table_side2.png",
"mcl_cartography_table_side3.png", "mcl_cartography_table_side1.png"
},
is_ground_content = false,
paramtype2 = "facedir",
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),

View file

@ -390,6 +390,7 @@ local function register_chest(basename, desc, longdesc, usagehelp, tt_help, tile
drawtype = "mesh",
mesh = "mcl_chests_chest.b3d",
tiles = small_textures,
is_ground_content = false,
use_texture_alpha = "opaque",
paramtype = "light",
paramtype2 = "facedir",

View file

@ -199,6 +199,7 @@ local function register_deepslate_variant(item, desc, longdesc)
_doc_items_longdesc = S(longdesc),
_doc_items_hidden = false,
tiles = { "mcl_"..texture..".png" },
is_ground_content = false,
groups = { pickaxey = 1, building_block = 1, material_stone = 1 },
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6,

View file

@ -10,11 +10,12 @@ minetest.register_node("mcl_fletching_table:fletching_table", {
"fletching_table_side.png", "fletching_table_side.png"
},
paramtype2 = "facedir",
is_ground_content = false,
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5
})
})
minetest.register_craft({
output = "mcl_fletching_table:fletching_table",

View file

@ -56,6 +56,7 @@ minetest.register_node("mcl_honey:honeycomb_block", {
tiles = {
"mcl_honey_honeycomb_block.png"
},
is_ground_content = false,
groups = { handy = 1, deco_block = 1 },
sounds = {
dig = { name = "slimenodes_dug", gain = 0.6, pitch = 1.2 },
@ -84,6 +85,7 @@ minetest.register_node("mcl_honey:honey_block", {
description = S("Honey Block"),
_doc_items_longdesc = S("Honey Block. Used as a decoration and in redstone. Is sticky on some sides."),
tiles = { "mcl_honey_block_side.png" },
is_ground_content = false,
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or true,
groups = { handy = 1, deco_block = 1, fall_damage_add_percent = -80 },
sounds = {

View file

@ -11,6 +11,7 @@ minetest.register_node("mcl_loom:loom", {
"loom_side.png", "loom_front.png"
},
paramtype2 = "facedir",
is_ground_content = false,
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5,

View file

@ -7,7 +7,6 @@ minetest.register_node("mcl_lush_caves:moss", {
_doc_items_entry_name = "moss",
_doc_items_hidden = false,
tiles = {"mcl_lush_caves_moss_block.png"},
is_ground_content = false,
groups = {handy=1, hoey=2, dirt=1, soil=1, soil_sapling=2, enderman_takable=1, building_block=1,flammable=1,fire_encouragement=60, fire_flammability=20, grass_block_no_snow = 1 },
sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.1,
@ -130,8 +129,6 @@ minetest.register_node("mcl_lush_caves:rooted_dirt", {
_doc_items_longdesc = S("Rooted dirt"),
_doc_items_hidden = false,
tiles = {"mcl_lush_caves_rooted_dirt.png"},
is_ground_content = true,
stack_max = 64,
groups = {handy=1,shovely=1, dirt=1, building_block=1, path_creation_possible=1},
sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.5,
@ -141,7 +138,6 @@ minetest.register_node("mcl_lush_caves:rooted_dirt", {
minetest.register_craftitem("mcl_lush_caves:glow_berry", {
description = S("Glow berry"),
_doc_items_longdesc = S("This is a food item which can be eaten."),
stack_max = 64,
inventory_image = "mcl_lush_caves_glow_berries.png",
on_place = minetest.item_eat(2),
on_secondary_use = minetest.item_eat(2),
@ -236,7 +232,6 @@ minetest.register_node("mcl_lush_caves:spore_blossom", {
drawtype = "plantlike",
param2type = "meshoptions",
place_param2 = 4,
is_ground_content = true,
groups = {handy = 1, plant = 1},
sounds = mcl_sounds.node_sound_dirt_defaults(),
selection_box = {

View file

@ -5,7 +5,6 @@ minetest.register_node("mcl_mud:mud", {
_doc_items_longdesc = S("Mud is a decorative block that generates in mangrove swamps. Mud can also be obtained by using water bottles on dirt or coarse dirt."),
_doc_items_hidden = false,
tiles = {"mcl_mud.png"},
is_ground_content = true,
sounds = {
footstep = {name="mud_footsteps", gain=1},
dug = {name="mud_place_dug", gain=1},
@ -27,6 +26,7 @@ minetest.register_node("mcl_mud:packed_mud", {
_doc_items_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
_doc_items_hidden = false,
tiles = {"mcl_mud_packed_mud.png"},
is_ground_content = false,
groups = {handy=1, pickaxey=1, building_block=1},
sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3,
@ -39,6 +39,7 @@ minetest.register_node("mcl_mud:mud_bricks", {
_doc_items_hidden = false,
tiles = {"mcl_mud_bricks.png"},
groups = {handy=1, pickaxey=1, building_block=1},
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 3,
_mcl_hardness = 1.5,

View file

@ -70,7 +70,7 @@ minetest.register_node("mcl_nether:netheriteblock", {
_doc_items_longdesc = S("Netherite block is very hard and can be made of 9 netherite ingots."),
stack_max = 64,
tiles = {"mcl_nether_netheriteblock.png"},
is_ground_content = true,
is_ground_content = false,
groups = { pickaxey=4, building_block=1, material_stone=1, xp = 0, fire_immune=1 },
drop = "mcl_nether:netheriteblock",
sounds = mcl_sounds.node_sound_stone_defaults(),

View file

@ -662,6 +662,7 @@ minetest.register_node("mcl_ocean:dried_kelp_block", {
description = S("Dried Kelp Block"),
_doc_items_longdesc = S("A decorative block that serves as a great furnace fuel."),
tiles = { "mcl_ocean_dried_kelp_top.png", "mcl_ocean_dried_kelp_bottom.png", "mcl_ocean_dried_kelp_side.png" },
is_ground_content = false,
groups = {
handy = 1, hoey = 1, building_block = 1, compostability = 50,
flammable = 2, fire_encouragement = 30, fire_flammability = 60