Перейти к содержимому
Mineforgian

Fixed Villager Trades

A mod that makes villagers remember their profession trades.

147K загрузок43 подписчиковApache-2.0fabricquilt

Обновлён 30 августа 2024 г. · опубликован 14 июня 2022 г.

Fixed Villager Trades Mod (Fabric)

"Fixed" in the title doesn't mean I'm fixing broken trades, however you can definitely interpret it that way. What it means is that Villager trades are now fixed the moment they get a profession. This does not prevent you from changing their profession (though the option to do so is available), only you won't be able to reroll their trades to get what you want. The villagers trades will remain the same as it was for each profession no matter how many times you replace their workstation.

Obviously the biggest thing affected by this is librarian villagers and the Mending Enchantment. Prior to 1.14, you couldn't reroll professions to get your desired enchanted book. As a result, Mending, the most powerful enchantment in the game, was really hard to get. With 1.14+, you can place and replace a lectern over and over until you get yourself a nice cheap Mending dispenser. This, in my opinion, is a large oversight from Mojang. This mod merely implements the simplest solution for those who want it.

This mod also limits the max discount a villager trade can have. The default is set to 50%.

🧰 Setup

This mod can function entirely serverside. It is not necessary to install it on the client. Servers this is installed on can have vanilla players join and experience the effects. It does not require the Fabric API, only the fabric loader.

⚙ Configuration

The three functions of this mod can be configured and used independently.

FixedTrades

Whether villager trades are fixed to their profession upon generation. Must be either true or false. Default is true.

FixedProfessions

Whether villager professions are fixed upon acquiring them. Must be either true or false. Default is false.

MaxDiscount

The maximum discount a trade can have. Must be between 0.0 (No discount) and 1.0 (Vanilla behavior). Default is 0.5.

📜 License

Copyright 2022 Quplet, Apache License 2.0. Please credit if you use or distribute my work.

Kinetic Server Hosting Banner

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.2.2Релиз1.20.6, 1.21, 1.21.1fabric, quilt30 августа 2024 г..jar (386 КБ)
1.2.1Релиз1.20.5, 1.20.6, 1.21fabric, quilt27 мая 2024 г..jar (227 КБ)
1.2.0Релиз1.19.4, 1.20, 1.20.1, 1.20.2fabric, quilt15 марта 2023 г..jar (227 КБ)
1.1.3-1.19.3Релиз1.19.3, 1.19.4fabric, quilt9 декабря 2022 г..jar (226 КБ)
1.1.2Релиз1.18.2, 1.19, 1.19.1, 1.19.2fabric, quilt15 июля 2022 г..jar (223 КБ)
1.1.1Релиз1.18, 1.18.1, 1.18.2, 1.19fabric, quilt3 июля 2022 г..jar (222 КБ)
1.1.0Релиз1.17, 1.18, 1.19fabric, quilt1 июля 2022 г..jar (48 КБ)
1.0.0Релиз1.17, 1.18, 1.19fabric, quilt14 июня 2022 г..jar (11 КБ)

Ченджлог

1.2.2Релиз1.20.6, 1.21, 1.21.1 · 30 августа 2024 г.

Fixes/Changes:

  • Fixed crash caused by regression in configuration library (#2)
1.2.1Релиз1.20.5, 1.20.6, 1.21 · 27 мая 2024 г.

Changes/Fixes:

  • Updated to 1.20.5/6
1.2.0Релиз1.20, 1.20.1, 1.20.2 · 15 марта 2023 г.

Changes:

  • Added option to fix a villager's profession upon acquiring one

Build will only work with 1.19.3+. For prior releases, use 1.1.2.

1.1.3-1.19.3Релиз1.19.3, 1.19.4 · 9 декабря 2022 г.
  • Updated to 1.19.3

Due to internal changes with the registry, this version will only work on 1.19.3 and possibly newer versions. For 1.19.2 or older, use version 1.1.2.

1.1.2Релиз1.19, 1.19.1, 1.19.2 · 15 июля 2022 г.

Fixes:

  • Fixed bug where zombified villagers would forget their saved professions after being reloaded (either from restarting the world/server or leaving and reloading the chunk they're in)
1.1.1Релиз1.18.1, 1.18.2, 1.19 · 3 июля 2022 г.

Fixes:

  • The Max Discount feature now properly works only server-sided
  • Fixed a crash in the server environment
1.1.0Релиз1.17, 1.18, 1.19 · 1 июля 2022 г.

New:

  • Added the ability to limit the max discount that a villager trade can have (default is 100% ie, vanilla)
  • Added a config file that can enable/disable the fixed trades feature and control the max discount percentage

Fixes:

  • Fixed villagers forgetting trades after being cured

Полная история изменений — на Modrinth.

Комментарии

Загружаем…