1
0
Fork 0

Fix wrong is_ground_content fields

lush_caves
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_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."), _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" }, tiles = { "mcl_barrels_barrel_top.png^[transformR270", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png" },
is_ground_content = false,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
on_place = function(itemstack, placer, pointed_thing) 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_usagehelp = S("To access its inventory, rightclick it. When broken, the items will drop out."),
_doc_items_create_entry = false, _doc_items_create_entry = false,
tiles = { "mcl_barrels_barrel_top_open.png", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png" }, tiles = { "mcl_barrels_barrel_top_open.png", "mcl_barrels_barrel_bottom.png", "mcl_barrels_barrel_side.png" },
is_ground_content = false,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
drop = "mcl_barrels:barrel_closed", 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}, collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
mesh = "mcl_beacon.b3d", mesh = "mcl_beacon.b3d",
tiles = {"beacon_UV.png"}, tiles = {"beacon_UV.png"},
is_ground_content = false,
use_texture_alpha = "clip", use_texture_alpha = "clip",
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)

View File

@ -33,6 +33,7 @@ for i=0,4 do
"respawn_anchor_bottom.png", "respawn_anchor_bottom.png",
"respawn_anchor_side0.png" "respawn_anchor_side0.png"
}, },
is_ground_content = false,
on_rightclick = rightclick, on_rightclick = rightclick,
groups = {pickaxey=1, material_stone=1}, groups = {pickaxey=1, material_stone=1},
_mcl_hardness = 22.5, _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_side2.png",
"mcl_cartography_table_side3.png", "mcl_cartography_table_side1.png" "mcl_cartography_table_side3.png", "mcl_cartography_table_side1.png"
}, },
is_ground_content = false,
paramtype2 = "facedir", paramtype2 = "facedir",
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(), 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", drawtype = "mesh",
mesh = "mcl_chests_chest.b3d", mesh = "mcl_chests_chest.b3d",
tiles = small_textures, tiles = small_textures,
is_ground_content = false,
use_texture_alpha = "opaque", use_texture_alpha = "opaque",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",

View File

@ -199,6 +199,7 @@ local function register_deepslate_variant(item, desc, longdesc)
_doc_items_longdesc = S(longdesc), _doc_items_longdesc = S(longdesc),
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = { "mcl_"..texture..".png" }, tiles = { "mcl_"..texture..".png" },
is_ground_content = false,
groups = { pickaxey = 1, building_block = 1, material_stone = 1 }, groups = { pickaxey = 1, building_block = 1, material_stone = 1 },
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 6, _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" "fletching_table_side.png", "fletching_table_side.png"
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _mcl_blast_resistance = 2.5,
_mcl_hardness = 2.5 _mcl_hardness = 2.5
}) })
minetest.register_craft({ minetest.register_craft({
output = "mcl_fletching_table:fletching_table", output = "mcl_fletching_table:fletching_table",
@ -23,4 +24,4 @@ minetest.register_craft({
{ "group:wood", "group:wood", "" }, { "group:wood", "group:wood", "" },
{ "group:wood", "group:wood", "" }, { "group:wood", "group:wood", "" },
} }
}) })

View File

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

View File

@ -11,6 +11,7 @@ minetest.register_node("mcl_loom:loom", {
"loom_side.png", "loom_front.png" "loom_side.png", "loom_front.png"
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
is_ground_content = false,
groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 }, groups = { axey = 2, handy = 1, deco_block = 1, material_wood = 1, flammable = 1 },
sounds = mcl_sounds.node_sound_wood_defaults(), sounds = mcl_sounds.node_sound_wood_defaults(),
_mcl_blast_resistance = 2.5, _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_entry_name = "moss",
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_lush_caves_moss_block.png"}, 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 }, 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(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.1, _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_longdesc = S("Rooted dirt"),
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_lush_caves_rooted_dirt.png"}, 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}, groups = {handy=1,shovely=1, dirt=1, building_block=1, path_creation_possible=1},
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 0.5, _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", { minetest.register_craftitem("mcl_lush_caves:glow_berry", {
description = S("Glow berry"), description = S("Glow berry"),
_doc_items_longdesc = S("This is a food item which can be eaten."), _doc_items_longdesc = S("This is a food item which can be eaten."),
stack_max = 64,
inventory_image = "mcl_lush_caves_glow_berries.png", inventory_image = "mcl_lush_caves_glow_berries.png",
on_place = minetest.item_eat(2), on_place = minetest.item_eat(2),
on_secondary_use = 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", drawtype = "plantlike",
param2type = "meshoptions", param2type = "meshoptions",
place_param2 = 4, place_param2 = 4,
is_ground_content = true,
groups = {handy = 1, plant = 1}, groups = {handy = 1, plant = 1},
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
selection_box = { 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_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, _doc_items_hidden = false,
tiles = {"mcl_mud.png"}, tiles = {"mcl_mud.png"},
is_ground_content = true,
sounds = { sounds = {
footstep = {name="mud_footsteps", gain=1}, footstep = {name="mud_footsteps", gain=1},
dug = {name="mud_place_dug", 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_longdesc = S("Packed mud is a decorative block used to craft mud bricks."),
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_mud_packed_mud.png"}, tiles = {"mcl_mud_packed_mud.png"},
is_ground_content = false,
groups = {handy=1, pickaxey=1, building_block=1}, groups = {handy=1, pickaxey=1, building_block=1},
sounds = mcl_sounds.node_sound_dirt_defaults(), sounds = mcl_sounds.node_sound_dirt_defaults(),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 3,
@ -39,6 +39,7 @@ minetest.register_node("mcl_mud:mud_bricks", {
_doc_items_hidden = false, _doc_items_hidden = false,
tiles = {"mcl_mud_bricks.png"}, tiles = {"mcl_mud_bricks.png"},
groups = {handy=1, pickaxey=1, building_block=1}, groups = {handy=1, pickaxey=1, building_block=1},
is_ground_content = false,
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 3, _mcl_blast_resistance = 3,
_mcl_hardness = 1.5, _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."), _doc_items_longdesc = S("Netherite block is very hard and can be made of 9 netherite ingots."),
stack_max = 64, stack_max = 64,
tiles = {"mcl_nether_netheriteblock.png"}, 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 }, groups = { pickaxey=4, building_block=1, material_stone=1, xp = 0, fire_immune=1 },
drop = "mcl_nether:netheriteblock", drop = "mcl_nether:netheriteblock",
sounds = mcl_sounds.node_sound_stone_defaults(), 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"), description = S("Dried Kelp Block"),
_doc_items_longdesc = S("A decorative block that serves as a great furnace fuel."), _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" }, tiles = { "mcl_ocean_dried_kelp_top.png", "mcl_ocean_dried_kelp_bottom.png", "mcl_ocean_dried_kelp_side.png" },
is_ground_content = false,
groups = { groups = {
handy = 1, hoey = 1, building_block = 1, compostability = 50, handy = 1, hoey = 1, building_block = 1, compostability = 50,
flammable = 2, fire_encouragement = 30, fire_flammability = 60 flammable = 2, fire_encouragement = 30, fire_flammability = 60