跳到正文

Ancient City Maps Trade

作者:ProtoMehka

Add Ancient City Explorer Map to cartophrapher's trade

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Ancient City Maps Trade

A tiny standalone mod for Minecraft Forge 1.20.1 that adds a Cartographer villager trade for a treasure map leading to the nearest Ancient City — the same mechanic vanilla already uses for ocean monuments and woodland mansions, just extended to a structure vanilla itself doesn’t offer a map for.

What it does

  • Adds one Cartographer trade (level 4): 16 emeralds + a compass → an Ancient City Explorer Map.
  • The map is generated live from the actual findNearestMapStructure lookup — same underlying mechanism as vanilla’s Ocean/Woodland Explorer Maps, not a fixed/precomputed location.
  • Ships its own structure tag (on_ancient_city_explorer_maps, containing minecraft:ancient_city) since vanilla has no tag covering it.
  • No new items, blocks, or recipes — the only thing this mod adds is the trade itself.

Vanilla’s own VillagerTrades.TreasureMapForEmeralds (the class doing this for monuments/mansions) turned out to be package-private, so this reimplements VillagerTrades.ItemListing directly, with the map-generation logic ported from vanilla’s own bytecode rather than guessed.

Dependencies

None beyond Minecraft Forge 1.20.1-47.4.10+. No other mod required.

常见问题

Ancient City Maps Trade 支持哪些 Minecraft 版本?

Ancient City Maps Trade 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Ancient City Maps Trade 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

ProtoMehka 的其他作品

查看全部 →