promotional bannermobile promotional banner

VillagerContracts Extended

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

Villager Contracts Extended

License: MIT Minecraft Forge Version

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

Texture currently under development

  • 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

Future Roadmap:

  • Port to future versions such as 1.16 or 1.21
  • Create the GUI texture
  • Add more features, such as the experience cost of hiring a villager
  • And other features that will be added to this list

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
  • Onyx_i7: Developer of this fork, responsible for performance optimizations, the GUI, and maintenance

The VillagerContracts Extended Team

profile avatar
Owner
  • 3
    Projects
  • 716
    Downloads

Developer dedicated to maintaining and optimizing mods for version 1.12.2

More from Onyx_i7