Add new textures, make bell a nodebox

thx erlehmann for the nodebox <3
This commit is contained in:
cora 2022-05-20 21:25:06 +02:00
parent 4ba570e3b4
commit 1ba12aec60
6 changed files with 13 additions and 8 deletions

View File

@ -10,16 +10,21 @@ end
minetest.register_node("mcl_bells:bell", {
description = S("Bell"),
inventory_image = "bell.png",
drawtype = "plantlike",
tiles = {"bell.png"},
stack_max = 64,
selection_box = {
inventory_image = "mcl_bells_bell.png",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
-4/16, -6/16, -4/16,
4/16, 7/16, 4/16,
},
{ -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 },
{ -6/16, -6/16, -6/16, 6/16, 6/16, 6/16 },
{ -2/16, 6/16, -2/16, 2/16, 8/16, 2/16 },
}
},
--tiles = { "blank.png" },
tiles = {
"mcl_bells_bell_top.png",
"mcl_bells_bell_bottom.png",
"mcl_bells_bell_side.png",
},
is_ground_content = false,
groups = {pickaxey=2, deco_block=1 },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B