From 4a4a834bf8fe3efbc3830b462076dc6e833c2b35 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Fri, 22 Jan 2021 19:45:18 +0100 Subject: [PATCH] Generate Enchanted golden apples in chests --- mods/MAPGEN/mcl_dungeons/init.lua | 3 +-- mods/MAPGEN/mcl_structures/init.lua | 3 +-- mods/MAPGEN/tsm_railcorridors/gameconfig.lua | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/mods/MAPGEN/mcl_dungeons/init.lua b/mods/MAPGEN/mcl_dungeons/init.lua index 6661b1467b..e1218c0bc4 100644 --- a/mods/MAPGEN/mcl_dungeons/init.lua +++ b/mods/MAPGEN/mcl_dungeons/init.lua @@ -24,8 +24,7 @@ local get_loot = function() { itemstack = mcl_enchanting.get_uniform_randomly_enchanted_book({"soul_speed"}), weight = 10 }, { itemstring = "mobs_mc:gold_horse_armor", weight = 10 }, { itemstring = "mobs_mc:diamond_horse_armor", weight = 5 }, - -- TODO: Enchanted Golden Apple - { itemstring = "mcl_core:apple_gold", weight = 2 }, + { itemstring = "mcl_core:apple_gold_enchanted", weight = 2 }, } }, { diff --git a/mods/MAPGEN/mcl_structures/init.lua b/mods/MAPGEN/mcl_structures/init.lua index 5b4b6c837f..bc3b1b1a75 100644 --- a/mods/MAPGEN/mcl_structures/init.lua +++ b/mods/MAPGEN/mcl_structures/init.lua @@ -413,8 +413,7 @@ mcl_structures.generate_desert_temple = function(pos) { itemstring = "mobs_mc:gold_horse_armor", weight = 10, }, { itemstring = "mobs_mc:diamond_horse_armor", weight = 5, }, { itemstring = "mcl_core:diamond", weight = 5, amount_min = 1, amount_max = 3 }, - -- TODO: Enchanted Golden Apple - { itemstring = "mcl_core:apple_gold", weight = 2, }, + { itemstring = "mcl_core:apple_gold_enchanted", weight = 2, }, } }, { diff --git a/mods/MAPGEN/tsm_railcorridors/gameconfig.lua b/mods/MAPGEN/tsm_railcorridors/gameconfig.lua index 3cea633a6c..00e2af6878 100644 --- a/mods/MAPGEN/tsm_railcorridors/gameconfig.lua +++ b/mods/MAPGEN/tsm_railcorridors/gameconfig.lua @@ -35,7 +35,7 @@ else end end end - + -- TODO: Use minecart with chest instead of normal minecart tsm_railcorridors.carts = { "mcl_minecarts:minecart" } @@ -66,10 +66,10 @@ function tsm_railcorridors.get_treasures(pr) items = { { itemstring = "mcl_mobs:nametag", weight = 30 }, { itemstring = "mcl_core:apple_gold", weight = 20 }, - { itemstack = mcl_enchanting.get_uniform_randomly_enchanted_book({"soul_speed"}), weight = 10 }, -- TODO: Enchanted Book + { itemstack = mcl_enchanting.get_uniform_randomly_enchanted_book({"soul_speed"}), weight = 10 }, { itemstring = "", weight = 5}, { itemstring = "mcl_core:pick_iron", weight = 5 }, - { itemstring = "mcl_core:apple_gold", weight = 1 }, -- TODO: Enchanted Golden Apple + { itemstring = "mcl_core:apple_gold_enchanted", weight = 1 }, } }, {