diff --git a/README.md b/README.md index 1291f5c..6a361f6 100644 --- a/README.md +++ b/README.md @@ -80,5 +80,6 @@ SOFTWARE. * `nether_portal.png`: [Extex101](https://github.com/Extex101), 2020 * `nether_rack`* (files starting with "nether_rack"): Zeg9 * `nether_tool_`* (files starting with "nether_tool_"): color adjusted versions from "[default](https://github.com/minetest/minetest_game/tree/master/mods/default)" mod, originals by BlockMen + * `nether_nether_block.png`: color adjusted from "[default](https://github.com/minetest/minetest_game/tree/master/mods/default)" mod, original by kilbith All other media: Copyright © 2013 PilzAdam, licensed under CC BY-SA 3.0 by PilzAdam. diff --git a/crafts.lua b/crafts.lua index 88d1d07..2309236 100644 --- a/crafts.lua +++ b/crafts.lua @@ -69,4 +69,19 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "nether:nether_block", + recipe = { + {"nether:nether_ingot", "nether:nether_ingot", "nether:nether_ingot"}, + {"nether:nether_ingot", "nether:nether_ingot", "nether:nether_ingot"}, + {"nether:nether_ingot", "nether:nether_ingot", "nether:nether_ingot"}, + } +}) + +minetest.register_craft({ + output = "nether:nether_ingot 9", + recipe = {{"nether:nether_block"}} +}) + -- See tools.lua for tools related crafting + diff --git a/nodes.lua b/nodes.lua index c5eeb63..b7fc431 100644 --- a/nodes.lua +++ b/nodes.lua @@ -318,6 +318,14 @@ minetest.register_node("nether:brick_deep", { sounds = default.node_sound_stone_defaults() }) +minetest.register_node("nether:nether_block", { + description = S("Nether Block"), + tiles = {"nether_nether_block.png"}, + is_ground_content = false, + groups = {cracky = 1, level = 2, workable_with_nether_tools = 2}, + sounds = default.node_sound_metal_defaults() +}) + -- Register fence and rails local fence_texture = diff --git a/textures/nether_nether_block.png b/textures/nether_nether_block.png new file mode 100644 index 0000000..60ba13c Binary files /dev/null and b/textures/nether_nether_block.png differ