general settings

基本信息

属性 值
配置分类名 general(Reference.CATEGORY_GENERAL)
类 astrotibs.villagenames.config.GeneralConfig(1324 行)
GUI 分类提示 config.villagenames.global.tooltip = Controls everything that's not name syllable pools or the village generator(en_US.lang:143)
配置项总数 99 条 config.get 调用
GUI 工厂 astrotibs.villagenames.config.gui.VNGuiFactory → VNGuiConfig(@Mod(guiFactory = ...),VillageNames.java:88)

功能

本 mod 的主配置类 GeneralConfig 按分类组织。general 分类含 13 项,是除"附属 mod 集成"外最大的一组(grep -oE 'Reference\.CATEGORY_[A-Z_]+' config/GeneralConfig.java 统计:MOD_INTEGRATION 50 / GENERAL 13 / VILLAGER_PROFESSIONS 11 / MISCELLANEOUS 10 / NAMING 7 / VILLAGER_SKIN_TONES 3 / WORLD_OF_COLOR 2 / WELL_KILL_SWITCH 1)。

general 分类的 13 项

配置键 类型 默认值 行 说明(源码原文)
Name Sign boolean true :160 Town centers display their name on one or more signs.
Well boundary boolean true :161 Whether to surround the well with colored blocks
Well slabs boolean true :162 用石台阶替换水井的圆石边缘,便于玩家/村民爬出
Village Banner boolean true :163 在村庄中心展示城镇横幅图案(需 Et Futurum 或 Gany’s Surface)
Sign Yaw int 3(范围 0–4) :164 水井标牌与横幅朝向中心的角度;0 = 正背对水井,4 = 彼此相对
Record Structure Coords boolean true :167 村民书本与 Codex 记录结构坐标
Villager makes book boolean true :168 右键村民时记录村庄名等信息
Villager drops book/codex boolean false :169 书本/Codex 掉落而非直接进背包
Villagers offer Codex trade boolean true :170 图书管理员与制图师可通过普通交易出售 Codex
Villager makes codex boolean false :171 手持绿宝石/铁锭/金锭右键图书管理员时给出 Codex
Use village colors boolean true :172 将村庄配色应用到混凝土、陶瓦、地毯等
Zombie Cure Catalysts String[] 见下 :315 僵尸村民转化催化剂列表
Zombie Cure Groups String[] 见下 :331 僵尸村民转化分组列表

Zombie Cure Catalysts / Zombie Cure Groups 虽写入 CATEGORY_GENERAL,但源码注释说明其仅在 Enable Nitwit Villager(或僵尸转化系统)启用时生效。

附属 mod 集成分类(50 项)

mod integration 分类含 50 项,是全 mod 最大的配置组(Reference.CATEGORY_MOD_INTEGRATION)。其成员为一系列字符串列表,用于声明各附属 mod 提供的方块/物品,使本 mod 的命名系统能识别它们:

modBamboo、modBanner、modBarrel、modBed、modBeetroot、modBookshelf、modBountifulStone、modButton、modCampfire、modChest、modComposter、modConcrete、modCraftingTable、modDoor、modDye、modFence、modFenceGate、modFlower、modGlazedTerracotta、modGrassPath、modIronNugget、modKelp、modLantern、modLectern、modMossyStone、modMutton、modPressurePlate、modPrismarine、modRedSandstone、modSign 等(字段声明见 config/GeneralConfig.java:93-130 起的连续列表)。

另有 modNameMappingAutomatic(:50)与 modNameMappingClickable(:52)——分别控制自动与可点击(书本中带链接)的 mod 名映射。

⚠️ 上述字段的具体默认值未逐条读取,仅列字段名;字段声明见 config/GeneralConfig.java:93-130。

相关配置分类

分类 条目数 页面
miscellaneous 10 miscellaneous settings - 1.12 方块 / 海晶石 / 海绵 / 海底神殿 / 雪屋 / Lunarin 砖的总开关
world of color 2 world of color settings - 1.12 Blocks 与 Concrete Well
villager professions 11 villager professions - 职业、皮肤、交易、NitWit
villager skin tones 3 villager skin tones - 肤色分布
naming 7 naming settings - 名称生成器
well kill switch 1 Allow well decorations,见 well kill switch
village generator 独立文件 village generator - 村庄生成系统

相关条目