Generate Enchanted golden apples in chests

This commit is contained in:
Elias Fleckenstein 2021-01-22 19:45:18 +01:00
parent 291991c745
commit 4a4a834bf8
3 changed files with 5 additions and 7 deletions

View File

@ -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 },
}
},
{

View File

@ -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, },
}
},
{

View File

@ -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 },
}
},
{