1
0
Fork 0

Add some End-related blocks

objects
Wuzzy 2017-01-07 04:09:18 +01:00
parent 6bdb69e084
commit 5fb77c9153
13 changed files with 62 additions and 0 deletions

1
mods/mcl_end/depends.txt Normal file
View File

@ -0,0 +1 @@
default

43
mods/mcl_end/init.lua Normal file
View File

@ -0,0 +1,43 @@
minetest.register_node("mcl_end:end_stone", {
description = "End Stone",
tiles = {"mcl_end_end_stone.png"},
stack_max = 64,
groups = {cracky=2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("mcl_end:end_bricks", {
description = "End Stone Bricks",
tiles = {"mcl_end_end_stone_brick.png"},
is_ground_content = false,
stack_max = 64,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("mcl_end:purpur_block", {
description = "Purpur Block",
tiles = {"mcl_end_purpur_block.png"},
is_ground_content = false,
stack_max = 64,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("mcl_end:purpur_pillar", {
description = "Purpur Pillar",
stack_max = 64,
paramtype2 = "facedir",
is_ground_content = false,
tiles = {"mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar_top.png", "mcl_end_purpur_pillar.png"},
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "mcl_end:end_bricks 4",
recipe = {
{"mcl_end:end_stone", "mcl_end:end_stone"},
{"mcl_end:end_stone", "mcl_end:end_stone"},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -314,6 +314,14 @@ stairs.register_stair_and_slab("quartzblock", "default:quartz_block",
default.node_sound_stone_defaults()
)
stairs.register_stair_and_slab("purpur_block", "mcl_end:purpur_block",
{cracky=3},
{"mcl_end_purpur_block.png"},
"Purpur Stairs",
"Purpur Slab",
default.node_sound_stone_defaults()
)
minetest.register_craft({
output = 'default:sandstonecarved',
recipe = {
@ -338,5 +346,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'mcl_end:purpur_pillar',
recipe = {
{'stairs:slab_purpur_block'},
{'stairs:slab_purpur_block'}
}
})
local time_to_load= os.clock() - init
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))