forked from MineClone5/MineClone5
Add nether bricks and related stuff
This commit is contained in:
parent
0033b87309
commit
6c10045b16
|
@ -20,13 +20,44 @@ minetest.register_node("mcl_nether:glowstone", {
|
|||
minetest.register_node("mcl_nether:quartz_ore", {
|
||||
description = "Nether Quartz Ore",
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_quartz_ore.png"},
|
||||
tiles = {"mcl_nether_quartz_ore.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=2,building_block=1},
|
||||
drop = 'mcl_nether:quartz',
|
||||
sounds = mcl_core.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:netherrack", {
|
||||
description = "Netherrack",
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_netherrack.png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3,building_block=1},
|
||||
sounds = mcl_core.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:nether_brick", {
|
||||
-- Original name: Nether Brick
|
||||
description = "Nether Brick Block",
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_nether_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=2,building_block=1},
|
||||
sounds = mcl_core.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_nether:red_nether_brick", {
|
||||
-- Original name: Red Nether Brick
|
||||
description = "Red Nether Brick Block",
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_red_nether_brick.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=2,building_block=1},
|
||||
sounds = mcl_core.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_block", {
|
||||
description = "Block of Quartz",
|
||||
stack_max = 64,
|
||||
|
@ -72,7 +103,12 @@ minetest.register_craftitem("mcl_nether:quartz", {
|
|||
groups = { craftitem = 1 },
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craftitem("mcl_nether:netherbrick", {
|
||||
description = "Nether Brick",
|
||||
inventory_image = "mcl_nether_netherbrick.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
|
@ -113,3 +149,34 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mcl_nether:netherbrick",
|
||||
recipe = "mcl_nether:netherrack",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_nether:nether_brick",
|
||||
recipe = {
|
||||
{'mcl_nether:netherbrick', 'mcl_nether:netherbrick'},
|
||||
{'mcl_nether:netherbrick', 'mcl_nether:netherbrick'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_nether:red_nether_brick",
|
||||
recipe = {
|
||||
{'mcl_nether:nether_wart', 'mcl_nether:netherbrick'},
|
||||
{'mcl_nether:netherbrick', 'mcl_nether:nether_wart'},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "mcl_nether:red_nether_brick",
|
||||
recipe = {
|
||||
{'mcl_nether:netherbrick', 'mcl_nether:nether_wart'},
|
||||
{'mcl_nether:nether_wart', 'mcl_nether:netherbrick'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 612 B |
Binary file not shown.
After Width: | Height: | Size: 390 B |
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
|
@ -669,6 +669,7 @@ for _,v in ipairs({
|
|||
"stonebrick",
|
||||
"quartzblock",
|
||||
"purpur_block",
|
||||
"nether_brick",
|
||||
}) do
|
||||
mcstair.add("stairs:stair_"..v)
|
||||
end
|
||||
|
|
|
@ -335,13 +335,21 @@ stairs.register_stair_and_slab("stonebrick", "group:stonebrick",
|
|||
)
|
||||
|
||||
stairs.register_stair_and_slab("quartzblock", "group:quartz_block",
|
||||
{snappy=1,cracky=1,level=2},
|
||||
{cracky=3},
|
||||
{"mcl_nether_quartz_block_top.png", "mcl_nether_quartz_block_bottom.png", "mcl_nether_quartz_block_side.png"},
|
||||
"Quartz Stairs",
|
||||
"Quartz Slab",
|
||||
mcl_core.node_sound_stone_defaults(), nil, "mcl_nether:quartz_block"
|
||||
)
|
||||
|
||||
stairs.register_stair_and_slab("nether_brick", "mcl_nether:nether_brick",
|
||||
{cracky=2},
|
||||
{"mcl_nether_nether_brick.png"},
|
||||
"Nether Brick Stairs",
|
||||
"Nether Brick Slab",
|
||||
mcl_core.node_sound_stone_defaults()
|
||||
)
|
||||
|
||||
stairs.register_stair_and_slab("purpur_block", "mcl_end:purpur_block",
|
||||
{cracky=3},
|
||||
{"mcl_end_purpur_block.png"},
|
||||
|
|
Loading…
Reference in New Issue