Add some End-related blocks
|
@ -0,0 +1 @@
|
|||
default
|
|
@ -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"},
|
||||
}
|
||||
})
|
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 749 B |
After Width: | Height: | Size: 843 B |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 36 KiB |
|
@ -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))
|
||||
|
|