Перейти к содержимому
Mineforgian

Ancient City Finder

Hitting a Warden with a Compass makes it point towards the closest Ancient City

Загрузки
737
Подписчики
3
Обновлён
23 июня 2026 г.
Лицензия
MIT

Опубликован 13 апреля 2025 г.

Ancient City Finder


Overview


A Minecraft 1.21 datapack that allows you to obtain a compass pointing to the nearest Ancient City.

To do so, find any Deep Dark biome with a Shrieker and cause it to spawn a Warden. Then simply hit the Warden with a compass and the compass should start pointing towards an Ancient City.

Compass pointing at Ancient City Portal


Game Version Information


The Datapack has been tested for 1.21.0 - 1.21.5. It does not work for versions lower than that.

If you are playing a 1.21.x version other than 1.21.4, the datapack might be marked incompatible, however it should still work just fine.


Limitation


The compass will not lead exactly to the target coords of /located structure ancient_city, as I sacrificed a bit of precision in order to minimize the likelyhood of the datapack failing completely. I use three points around the player and their distances to the ancient city to estimate the target coordinates. While increasing the distance between these fixed points increases the precision, it makes it more likely that one of the points no longer targets the same ancient city. This would throw off the calculations completely.

However in my tests the found ancient city is usually still within 20 blocks, so you should still easily be able to find it.

If you want to live risky, you can increase the precision of the calculation by increasing the fixpoint_offset like this (default=20):

/scoreboard players set fixpoint_offset datapack_ancient_city_finder 100

Ченджлог

v1.1Релиз26.2 · 23 июня 2026 г.

Replaced instances of "type" with "minecraft:entity_type" in convert_compass_by_hitting_warden.json as required by the 26.2 update (see wiki).

v1.0Релиз26.1, 26.1.1, 26.1.2 · 13 апреля 2025 г.

First release of the AncientCityFinder-Datapack.

Versions supported: 1.21.0 - 1.21.5

(No known bugs)

Комментарии

Загружаем…