Add new textures, make bell a nodebox
thx erlehmann for the nodebox <3
This commit is contained in:
parent
4ba570e3b4
commit
1ba12aec60
|
@ -10,16 +10,21 @@ end
|
||||||
|
|
||||||
minetest.register_node("mcl_bells:bell", {
|
minetest.register_node("mcl_bells:bell", {
|
||||||
description = S("Bell"),
|
description = S("Bell"),
|
||||||
inventory_image = "bell.png",
|
inventory_image = "mcl_bells_bell.png",
|
||||||
drawtype = "plantlike",
|
drawtype = "nodebox",
|
||||||
tiles = {"bell.png"},
|
node_box = {
|
||||||
stack_max = 64,
|
|
||||||
selection_box = {
|
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {
|
fixed = {
|
||||||
-4/16, -6/16, -4/16,
|
{ -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 },
|
||||||
4/16, 7/16, 4/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,
|
is_ground_content = false,
|
||||||
groups = {pickaxey=2, deco_block=1 },
|
groups = {pickaxey=2, deco_block=1 },
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 368 B |
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell.png
Normal file
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 B |
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_bottom.png
Normal file
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 801 B |
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_side.png
Normal file
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 695 B |
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_top.png
Normal file
BIN
mods/ITEMS/mcl_bells/textures/mcl_bells_bell_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 656 B |
Loading…
Reference in New Issue
Block a user