Add some End-related blocks
1
mods/mcl_end/depends.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
default
|
43
mods/mcl_end/init.lua
Normal 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"},
|
||||||
|
}
|
||||||
|
})
|
BIN
mods/mcl_end/textures/mcl_end_dragon_egg.png
Normal file
After Width: | Height: | Size: 349 B |
BIN
mods/mcl_end/textures/mcl_end_end_rod.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
mods/mcl_end/textures/mcl_end_end_stone.png
Normal file
After Width: | Height: | Size: 894 B |
BIN
mods/mcl_end/textures/mcl_end_end_stone_brick.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
mods/mcl_end/textures/mcl_end_endframe_eye.png
Normal file
After Width: | Height: | Size: 371 B |
BIN
mods/mcl_end/textures/mcl_end_endframe_side.png
Normal file
After Width: | Height: | Size: 749 B |
BIN
mods/mcl_end/textures/mcl_end_endframe_top.png
Normal file
After Width: | Height: | Size: 843 B |
BIN
mods/mcl_end/textures/mcl_end_purpur_block.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
mods/mcl_end/textures/mcl_end_purpur_pillar.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
mods/mcl_end/textures/mcl_end_purpur_pillar_top.png
Normal file
After Width: | Height: | Size: 36 KiB |
|
@ -314,6 +314,14 @@ stairs.register_stair_and_slab("quartzblock", "default:quartz_block",
|
||||||
default.node_sound_stone_defaults()
|
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({
|
minetest.register_craft({
|
||||||
output = 'default:sandstonecarved',
|
output = 'default:sandstonecarved',
|
||||||
recipe = {
|
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
|
local time_to_load= os.clock() - init
|
||||||
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
print(string.format("[MOD] "..minetest.get_current_modname().." loaded in %.4f s", time_to_load))
|
||||||
|
|