Allow for both top/bottom and side textures

This commit is contained in:
FossFanatic 2022-12-14 14:36:36 +00:00 committed by Gitea
parent d9bd3e2601
commit f29622dd59

View file

@ -9,7 +9,7 @@ end
--Blocks --Blocks
minetest.register_node("mcl_blackstone:blackstone", { minetest.register_node("mcl_blackstone:blackstone", {
description = S("Blackstone"), description = S("Blackstone"),
tiles = {"mcl_blackstone.png"}, tiles = {"mcl_blackstone_top.png", "mcl_blackstone_top.png", "mcl_blackstone_side.png"},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, pickaxey=2, material_stone=1, cobble=1}, groups = {cracky = 3, pickaxey=2, material_stone=1, cobble=1},
@ -18,7 +18,7 @@ minetest.register_node("mcl_blackstone:blackstone", {
}) })
minetest.register_node("mcl_blackstone:blackstone_gilded", { minetest.register_node("mcl_blackstone:blackstone_gilded", {
description = S("Gilded Blackstone"), description = S("Gilded Blackstone"),
tiles = {"mcl_blackstone.png^mcl_blackstone_gilded_side.png"}, tiles = {"mcl_blackstone_gilded.png"},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, pickaxey=2, material_stone=1, xp=1}, groups = {cracky = 3, pickaxey=2, material_stone=1, xp=1},
@ -40,7 +40,7 @@ minetest.register_node("mcl_blackstone:blackstone_gilded", {
}) })
minetest.register_node("mcl_blackstone:nether_gold", { minetest.register_node("mcl_blackstone:nether_gold", {
description = S("Nether Gold Ore"), description = S("Nether Gold Ore"),
tiles = {"mcl_nether_netherrack.png^mcl_blackstone_gilded_side.png"}, tiles = {"mcl_nether_gold_ore.png"},
sounds = mcl_sounds.node_sound_stone_defaults(), sounds = mcl_sounds.node_sound_stone_defaults(),
is_ground_content = false, is_ground_content = false,
groups = {cracky = 3, pickaxey=2, material_stone=1, xp=1}, groups = {cracky = 3, pickaxey=2, material_stone=1, xp=1},