Wuzzy wrote:I decided it is time to post a submission again.
I had an idea for a new block: A synthetic diamond block. It is an extremely hard block, even harder than the ordinary diamond block and it can not be destroyed by even an diamond pickaxe.
But it can be destroyed with TNT or maybe the lightning rod from this mod.
It can be crafted by placing 2 diamond blocks into the crafting grid anywhere.
Code (WTFPL):Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("community_mod:syntheticdiamondblock",{
description = "Synthetic Diamond Block",
tiles = { "community_mod_syntheticdiamondblock.png" },
is_ground_content = true,
groups = { cracky = 1, level = 4 },
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = "community_mod:syntheticdiamondblock 1",
type = "shapeless",
recipe = { "default:diamondblock", "default:diamondblock" }
})
Image (based on the diamond block image from default, same license applies):
Thanks for adding great stuff!
I will try to add it as soon as I can. I am busy studying and making preparations for university :P