From bbf63cf66b887831042804bfb9a77cba71a987e8 Mon Sep 17 00:00:00 2001 From: Code-Sploit Date: Thu, 15 Apr 2021 15:45:48 +0000 Subject: [PATCH] Add netheriteblock --- mods/ITEMS/mcl_nether/init.lua | 15 +++++++++++++++ .../textures/mcl_nether_netheriteblock.png | Bin 0 -> 425 bytes 2 files changed, 15 insertions(+) create mode 100644 mods/ITEMS/mcl_nether/textures/mcl_nether_netheriteblock.png diff --git a/mods/ITEMS/mcl_nether/init.lua b/mods/ITEMS/mcl_nether/init.lua index 14ac215b33..4891c3dd3d 100644 --- a/mods/ITEMS/mcl_nether/init.lua +++ b/mods/ITEMS/mcl_nether/init.lua @@ -66,6 +66,21 @@ minetest.register_node("mcl_nether:ancient_debris", { _mcl_fortune_drop = mcl_core.fortune_drop_ore }) +minetest.register_node("mcl_nether:netheriteblock", { + description = S("Netherite Block"), + _doc_items_longdesc = S("Netherite block is very hard and can be made of 9 netherite ingots."), + stack_max = 64, + tiles = {"mcl_nether_netheriteblock.png"}, + is_ground_content = true, + groups = {pickaxey=4, building_block=1, material_stone=1, xp = 0}, + drop = 'mcl_nether:netheriteblock', + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 1200, + _mcl_hardness = 50, + _mcl_silk_touch_drop = true, + _mcl_fortune_drop = mcl_core.fortune_drop_ore +}) + -- For eternal fire on top of netherrack and magma blocks -- (this code does not require a dependency on mcl_fire) local function eternal_after_destruct(pos, oldnode) diff --git a/mods/ITEMS/mcl_nether/textures/mcl_nether_netheriteblock.png b/mods/ITEMS/mcl_nether/textures/mcl_nether_netheriteblock.png new file mode 100644 index 0000000000000000000000000000000000000000..60957f01794f9ecc0ad1eb8ce72749060c7d435b GIT binary patch literal 425 zcmV;a0apHrP)Px$V@X6oR5*==lfi1^Fc5}62Mx8YxGcWxW$8oo-1mQgLg~4^ZDF%Z99c3Wa1V+U zIaykPk&yoRX67H$8Q1Cabmb1%K7!>8DqPa zaU6Mje`DCEM=?@@WL5$F}Jpii8behWht`@2$ zdeim=Qdbkt=VtNfxsn1fDFl*vN#*3QPG%^tan{{b8g!L zKv=>}rs+6s64ce0TG)3zeb-+qsvOTPW{5`JwjftM&wfT#({~1CNWF~np_B-4{P