CartographyTFCRedition_AddAnnotation

Add localized names and multiple lines of annotated text for Minecraft 1.20.1 TFC, in conjunction with BlazeMap and Cartography mods. 为 Minecraft 1.20.1 群峦传说(TFC)配合 BlazeMap 与 Cartography 模组,附加本地化名称与多行注释文本。

0 downloads
0 followers

Extra dependence blazemap versionRange = "[0.7.0,)"

English

⚙️ Configuration Guide

All configuration files for this mod are located in the client's config/ directory. You can modify the corresponding configuration files to adjust the font size, filtering rules, and localization mappings for map annotations.

🎛️ Configuration Options

nameFontSize

Type: Float

Default: 24

Description: Controls the font rendering scale of the main name (DisplayName) of map annotations.

annotationFontSize

Type: Float

Default: 20

Description: Controls the font rendering scale of the additional annotation text (Annotation) displayed below map annotations.

ignoredTags

Type: List[String]

Default: [...]

Description: Specifies a list of tags that the mod should actively ignore and skip. This prevents broad categories such as generic ore or rock tags from interfering with more precise annotations.

🌐 Localization and Language Key Conventions

The mod supports defining custom text through external language files or configuration overrides. To add a custom annotation for a specific feature, follow the key formats below in the language file.

Main name key:

tag.cartography.<tagKey> = "Display Name"

Additional annotation key:

tag.cartography.<tagKey>.annotation = "Detailed annotation text"

Note: <tagKey> is the clean tag name with its namespace prefix removed and converted to lowercase. For example,tfc:ore/rich_hematite is parsed as rich_hematite.Broad category tags such as rock, ore, and mineral are alreadyfiltered out by default.

中文

⚙️ 配置指南
本模组的所有配置文件位于客户端的 config/ 目录下。你可以通过修改对应的配置文件来调整地图标注的渲染字号、过滤规则以及本地化映射。

🎛️ 配置项详解
nameFontSize

类型 (Type): Float

默认值 (Default): 24

说明 (Description): 控制地图标注主名称(DisplayName)的字体渲染缩放大小。

annotationFontSize

类型 (Type): Float

默认值 (Default): 20

说明 (Description): 控制地图标注下方附加注释文本(Annotation)的字体渲染缩放大小。

ignoredTags

类型 (Type): List[String]

默认值 (Default): [...]

说明 (Description): 配置需要被模组主动忽略并跳过的标签(Tag)列表,防止矿石大类或岩石基础分类等泛标签干扰精细化标注。

🌐 本地化与语言键值规范
模组支持通过外部语言文件或配置覆写来定义自定义文本。若需为特定地物添加专属注释,请在语言文件中遵循以下键值(Key)格式:

主名称键值: tag.cartography.<tagKey> = "显示名称"

附加注释键值: tag.cartography.<tagKey>.annotation = "详细注释文本"

注意:<tagKey> 为移除了命名空间前缀并转换为小写的纯净标签名(例如 tfc:ore/rich_hematite 会被解析为 rich_hematite)。默认内置已自动过滤诸如 rock、ore、mineral 等大类标签。