Eyes of ender now fly to End portal shrines!

This commit is contained in:
Wuzzy 2017-12-10 22:20:48 +01:00
parent 55778ab375
commit 664c24ce7d
6 changed files with 173 additions and 35 deletions

View file

@ -59,6 +59,9 @@ local init_strongholds = function()
angle = math.fmod(angle + ((math.pi*2) / ring.amount), math.pi*2)
end
end
mcl_structures.register_structures("stronghold", table.copy(strongholds))
strongholds_inited = true
end
@ -90,13 +93,6 @@ local generate_strongholds = function(minp, maxp)
end
end
-- Minimal API
mcl_strongholds = {}
mcl_strongholds.get_stronghold_positions = function()
return table.copy(strongholds)
end
init_strongholds()
--[[ Note this mod depends on mcl_mapgen_core to make sure the core mapgen runs FIRST.