跳到正文

VillagerContracts Extended

作者:0xNull

Fork of VillagerContracts with some improvements like compatibility with any mod that adds villagers

收藏

介绍

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

Villager Contracts Extended

License: MIT
Minecraft
Forge

A fork of VillagerContract with some improvements


Description

Villager Contracts Extended is a fork of Villager Contracts created by Invadermonky that adds several improvements to the original mod, such as general compatibility without having to configure the mod and an interface that makes it easy to select a villager’s profession when there are a lot of mods installed


Features

GUI

  • No More Anvil: The tooltip and anvil system was a bit tedious when there were a lot of mods, causing it to sometimes disappear off the screen
  • Menu: Right-clicking while holding a contract opens a simple interface where you can easily select any profession or career available in the game

Universal Compatibility

  • Global mod compatibility: Works automatically right from the start with any villager properly registered through Minecraft Forge, regardless of which mod added them. This can be disabled via the blacklist or the mod’s settings

Clean and Modernized System

  • Cleanup of tooltips: The old tooltip system and the anvil logic which caused tooltips to become too large and cumbersome when loading large mod packs with many villager professions during the development of this fork have been completely removed
  • Reset Profession: Changes the villager’s profession and resets their trades

Mod Integrations

Thanks to the new detection system, this mod is immediately compatible with any villager mod for version 1.12.2, including (and tested with):

  • Vanilla Minecraft
  • Quark
  • Ice and Fire: ROTH Edition
  • Thaumcraft
  • Immersive Engineering
  • GameStage
  • And any other mod that registers villagers through Forge

Configuration

The configuration file allows you to adjust the mod’s behavior to suit the needs of your modpack:

  • dumpVillagerInfo: When enabled, it logs all professions and careers listed in the registry (useful for modpack creators)
  • entityBlacklist: A blacklist of entity identifiers for which contractual interactions have been disabled. This is useful if you want to prevent a villager from a specific mod from being hired, this is accompanied by the previously mentioned configuration
  • validContracts: A whitelist for filtering allowed names, professions, and careers
  • autoDetectVillagersComment: Automatically detects all villager professions and careers registered by other mods. This is useful when you don’t want to configure a lot of villagers
  • consumeContractOnUseComment: Determines whether the villager contract is consumed when applied to a villager
  • contractCostTypeComment: Determines the cost required to assign a contract to a villager
  • contractCostAmountComment: This is the number of XP or emerald levels required to create a contract. Soon it will be global, meaning you’ll be able to assign any item to it

License & Credits

License

This project is distributed entirely under the MIT License and is based on the code from the base version of Villager Contracts by Invadermonky

Since the original project was legitimately published under the MIT License, this fork remains fully open source and is permitted. Any subsequent forks or modifications of this project must continue to retain the original copyright notices and comply with the terms of the MIT License attached to this repository

Authors & Contributors

  • Invadermonky: Creator of the original Villager Contracts mod
  • 0xNull: Developer of this fork, responsible for performance optimizations, the GUI, and maintenance
  • MrKoteo: Russian (ru_ru) translation

常见问题

VillagerContracts Extended 支持哪些 Minecraft 版本?

VillagerContracts Extended 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

VillagerContracts Extended 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

0xNull 的其他作品

查看全部 →