From c7b964be9be6f4f6ddb702da05bd68cfdc0f7433 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 28 Mar 2021 15:44:07 +0000 Subject: [PATCH 1/5] =?UTF-8?q?=E2=80=9Emapgen.lua=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mapgen.lua | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/mapgen.lua b/mapgen.lua index a841249..9b9a6c5 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -17,4 +17,26 @@ minetest.register_decoration({ y_max = mcl_vars.mg_overworld_max, y_min = mcl_vars.mg_overworld_min, decoration = "mc:sweet_berry_bush_2" - }) \ No newline at end of file + }) + if minetest.settings:get_bool("mcl_generate_ores", true) then + minetest.register_ore({ + ore_type = "scatter", + ore = "mc:nether_gold_ore", + wherein = {"mcl_nether:netherrack", "mcl_core:stone"}, + clust_scarcity = 850, + clust_num_ores = 4, -- MC cluster amount: 4-10 + clust_size = 3, + y_min = mcl_vars.mg_nether_min, + y_max = mcl_vars.mg_nether_max, + }) + minetest.register_ore({ + ore_type = "scatter", + ore = "mc:nether_gold_ore", + wherein = {"mcl_nether:netherrack", "mcl_core:stone"}, + clust_scarcity = 1650, + clust_num_ores = 8, -- MC cluster amount: 4-10 + clust_size = 4, + y_min = mcl_vars.mg_nether_min, + y_max = mcl_vars.mg_nether_max, + }) +end \ No newline at end of file -- 2.40.1 From a1ea0744f07e79b84a19f7cb7a054aa43f886fd0 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 28 Mar 2021 15:45:07 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=E2=80=9Ecrafting.lua=E2=80=9C=20=C3=A4nder?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crafting.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crafting.lua b/crafting.lua index e1a5e35..683787d 100644 --- a/crafting.lua +++ b/crafting.lua @@ -2,4 +2,10 @@ minetest.register_craft({ type = "shapeless", output = "mc:warped_fungus_stick", recipe = {"mcl_fishing:fishing_rod", "mc:warped_fungus"} +}) +minetest.register_craft({ + type = "cooking", + output = 'mcl_core:gold_ingot', + recipe = 'mc:nether_gold_ore', + cooktime = 10, }) \ No newline at end of file -- 2.40.1 From c35b32141c743a1b5e75220ea16c17e954797d46 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 28 Mar 2021 15:46:07 +0000 Subject: [PATCH 3/5] =?UTF-8?q?=E2=80=9Enodes.lua=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nodes.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/nodes.lua b/nodes.lua index 5b16801..c1ea8bd 100644 --- a/nodes.lua +++ b/nodes.lua @@ -23,4 +23,27 @@ minetest.register_node("mc:sweet_berry_bush_3", { tiles = {"sweet_berry_bush_3.png"}, damage_per_second = 2, drop = "mc:sweet_berry 3" +}) +minetest.register_node("mc:nether_gold_ore", { + description = ("Nether Gold Ore"), + _doc_items_longdesc = ("Nether gold ore is an ore containing nether gold. It is commonly found around netherrack in the Nether."), + stack_max = 64, + tiles = {"mcl_nether_netherrack.png^mcl_nether_gold_ore.png"}, + is_ground_content = true, + groups = {pickaxey=1, building_block=1, material_stone=1, xp=0}, + drop = { + max_items = 1, + items = { + {items = {'mcl_core:gold_nugget 6'},rarity = 5}, + {items = {'mcl_core:gold_nugget 5'},rarity = 5}, + {items = {'mcl_core:gold_nugget 4'},rarity = 5}, + {items = {'mcl_core:gold_nugget 3'},rarity = 5}, + {items = {'mcl_core:gold_nugget 2'}}, + } + }, + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 3, + _mcl_hardness = 3, + _mcl_silk_touch_drop = true, + _mcl_fortune_drop = mcl_core.fortune_drop_ore }) \ No newline at end of file -- 2.40.1 From ec4309a205afd93456ac3c47499d3aa819206001 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 28 Mar 2021 15:47:15 +0000 Subject: [PATCH 4/5] =?UTF-8?q?=E2=80=9Emod.conf=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mod.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.conf b/mod.conf index 8fd5f38..8256123 100644 --- a/mod.conf +++ b/mod.conf @@ -1,2 +1,2 @@ name = mc -depends = mcl_fishing, mcl_nether \ No newline at end of file +depends = mcl_fishing, mcl_nether, mcl_core, mcl_sounds \ No newline at end of file -- 2.40.1 From 3c4d2658809f31649c799c64d1fbd82c42894b7c Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 28 Mar 2021 15:54:59 +0000 Subject: [PATCH 5/5] gold ore texture --- textures/mcl_nether_gold_ore.png | Bin 0 -> 2340 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 textures/mcl_nether_gold_ore.png diff --git a/textures/mcl_nether_gold_ore.png b/textures/mcl_nether_gold_ore.png new file mode 100644 index 0000000000000000000000000000000000000000..9b621e586be904498caae1df3e8f6245cb7a829b GIT binary patch literal 2340 zcmV+<3ETFGP) zaB^>EX>4U6ba`-PAZ2)IW&i+q+O1bvvcx6~{O1%o0wA#+hqWp<$nnz{fj!H6m83GR z88DWG=x!uN^}qfc>JNOZ4PLPe(I@XUKAbq&j84?+vs$D1`js2KJ1^tvJg^udw6t!0 z7yFEHcfSx=#>?xt3RV0>akM>)Lz**Nbi^)-BeHAU$h}JPUgpPgH z7|p>SS!FvJ()f*Y7Mfo}87<-0QiPEqzWQ^7DSXFHo$ecWr}u`P&N5D~P$=!iz`tQ6 zq@vH zmRP}91Dgd`RVEn=w1;8SOg6*xtF5LYM7G@qwANN|FvlVVn{1^;0WLFaphQhk1RoWw z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