Mod

Villager Comfort Continued

Quick rating

Villager Comfort Continued

No reviews yet

Trade prices that depend on how nice your villagers' home is!

Cozy
Village & Farm Life
Village Improvements
Mod Fork/Port
Economy & Trade Systems
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
villagercomfort-1.1.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

The text "villger comfort" in the Minecraft font, atop the spruce planks texture. Beneath it is theNeoforged logo.

Villager Comfort raises and lowers the price of villager trades depending on the quality of their lifestyle. The better you treat them, the cheaper the trades. The worse life they have, the more it'll cost! The idea is to encourage the player to actually build a village for villagers, rather than stuffing them in 1x1 holes and calling it a day.

This mod takes into account a number of different qualities: a villager's bedroom, their workplace, and general problems they may be facing. These values are combined to calculate the overall comfort level, which determines the price increase/decrease you receive.

It is also highly configurable! You can alter how much the comfort system impacts prices, the desired house size, desired workstation size, and so on. By messing with config values, most qualities can be disabled or even inverted. Maybe you're making a pack with an irradiated overworld; make it so that villagers are happier when they're unable to go outside!

Bedrooms & Workplaces.

Villagers need a place to sleep at night! They prefer spatious and private bedrooms. Naturally they also want it to be well-lit, to keep mobs away! The same idea applies to their workplace, although they're more okay sharing a workplace with other villaers.

Notably, putting a villager's workstation block in the same room as their bed, or too close to it, will make them less comfortable! Work-life balance is important, you know.

Problems

Villagers may face a number of problems that disrupt their life. Letting a villager be chased by hostile mobs (zombies, pillagers, etc.), keeping them trapped inside, and being unable to sleep will all make a villager less comfortable.

All of these values can be viewed by right-clicking on a villager with a specific item. By default, this item is paper, but this can be changed via data packs. Doing so pulls up a fancy screen showcasing the villager's overall comfort stats.

A gif of the player right-clicking on a villager, seeing their increased prices, and then right-clicking again with a sheet of paper to view the villager's stats.

Credits

This mod was originally created by ghenghen_, and then ported to 1.20.1 by leahx_y2k. I was a big fan of this mod and really wanted it in 1.21. Since it's under a MIT license, I taught myself Java and decided to port it myself! Thank you to both ghenghen_ and leahx_y2k for your work.

Additional thanks to Kaupenjoe for his Java and Minecraft moding tutorials, vertexcubed for some underlying code to make menu/screen creation far, far easier, and the helpful users on the Neoforged discord server.

Future Updates

  • Currently only prices are impacted by villager comfort. I'd like to provide options for it to impact the items stocked, restock speed, etc.
  • Add a way to assign villagers to particular beds.
  • Make villagers care about what their house is made of (i.e.: carpets and decorations will boost comfort; building their house out of dirt will reduce it).
  • Unique trait system (some villagers like cats, some want to be further from other villagers, etc.).
  • Update the mod to future versions (26.1?).

Known Issues

Compatability

This mod should be compatible with most other mods, including mods that add new village biomes, village careers, and so on. I highly reccomend adding a mod that gives villagers unique names!

The comfort system will not apply to new NPCs added by mods like Ribbit or Kobolds, but if there's interest for it I can see about including them.

The text "villger comfort" in the Minecraft font, atop the spruce planks texture. Beneath it is theNeoforged logo.

Villager Comfort raises and lowers the price of villager trades depending on the quality of their lifestyle. The better you treat them, the cheaper the trades. The worse life they have, the more it'll cost! The idea is to encourage the player to actually build a village for villagers, rather than stuffing them in 1x1 holes and calling it a day.

This mod takes into account a number of different qualities: a villager's bedroom, their workplace, and general problems they may be facing. These values are combined to calculate the overall comfort level, which determines the price increase/decrease you receive.

It is also highly configurable! You can alter how much the comfort system impacts prices, the desired house size, desired workstation size, and so on. By messing with config values, most qualities can be disabled or even inverted. Maybe you're making a pack with an irradiated overworld; make it so that villagers are happier when they're unable to go outside!

Bedrooms & Workplaces.

Villagers need a place to sleep at night! They prefer spatious and private bedrooms. Naturally they also want it to be well-lit, to keep mobs away! The same idea applies to their workplace, although they're more okay sharing a workplace with other villaers.

Notably, putting a villager's workstation block in the same room as their bed, or too close to it, will make them less comfortable! Work-life balance is important, you know.

Problems

Villagers may face a number of problems that disrupt their life. Letting a villager be chased by hostile mobs (zombies, pillagers, etc.), keeping them trapped inside, and being unable to sleep will all make a villager less comfortable.

All of these values can be viewed by right-clicking on a villager with a specific item. By default, this item is paper, but this can be changed via data packs. Doing so pulls up a fancy screen showcasing the villager's overall comfort stats.

A gif of the player right-clicking on a villager, seeing their increased prices, and then right-clicking again with a sheet of paper to view the villager's stats.

Credits

This mod was originally created by ghenghen_, and then ported to 1.20.1 by leahx_y2k. I was a big fan of this mod and really wanted it in 1.21. Since it's under a MIT license, I taught myself Java and decided to port it myself! Thank you to both ghenghen_ and leahx_y2k for your work.

Additional thanks to Kaupenjoe for his Java and Minecraft moding tutorials, vertexcubed for some underlying code to make menu/screen creation far, far easier, and the helpful users on the Neoforged discord server.

Future Updates

  • Currently only prices are impacted by villager comfort. I'd like to provide options for it to impact the items stocked, restock speed, etc.
  • Add a way to assign villagers to particular beds.
  • Make villagers care about what their house is made of (i.e.: carpets and decorations will boost comfort; building their house out of dirt will reduce it).
  • Unique trait system (some villagers like cats, some want to be further from other villagers, etc.).
  • Update the mod to future versions (26.1?).

Known Issues

Compatability

This mod should be compatible with most other mods, including mods that add new village biomes, village careers, and so on. I highly reccomend adding a mod that gives villagers unique names!

The comfort system will not apply to new NPCs added by mods like Ribbit or Kobolds, but if there's interest for it I can see about including them.

Screenshots

Gallery

  • villagerscreenshowcase-ezgif.com-optimize.gif
    villagerscreenshowcase-ezgif.com-optimize.gif villagerscreenshowcase-ezgif.com-optimize.gif
  • You can view a handy breakdown of your villager's comfort stats!
    You can view a handy breakdown of your villager's comfort stats!
  • If you cram your villagers into tiny trading halls...
    If you cram your villagers into tiny trading halls...
  • ... their prices will go up dramatically!
    ... their prices will go up dramatically!
  • Give your villagers nice homes, and their trades will be cheaper
    Give your villagers nice homes, and their trades will be cheaper
  • A fox peeks in...
    A fox peeks in...

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~4,000
Total Downloads
CurseForge
~2,000
Modrinth
~2,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync