Shifting Wares

Shifting Wares

Mod

Villagers will occasionally reroll their trade offers

Server EconomyGame Mechanics

18.7k downloads
49 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...

Removed the map cache and its surrounding mechanics. Older maps can no longer be resold; they can no longer be unlisted at all, until they meet the conditions to be fully discarded.

  • Fixes #11
  • Improves native compatibility with other mods. Custom implementations of map trades will no longer cause unsold maps to be discarded.
  • Other mods can now more easily communicate data for other kinds of persistent items, without requiring a dependency on Shifting-Wares.

Upgrading a world from v2 will cause all cached maps to be discarded, even if they were never sold.

v2.2.3+1.21.3

by Estecka on Oct 24, 2024
Download

v2.2.3+1.21

by Estecka on Oct 24, 2024
Download
  • Ported to MC 1.21.2, marked previous branch as incompatible.
  • (+1.21.3) Placeholder trades are back to looking empty, thanks to item_model components.

v2.2.2+1.21

by Estecka on Jul 4, 2024
Download
  • Trade cache serialization can no longer be attempted on the render thread.
    In singleplayer, this will improve performances when using Fresh Animations and some other ETF/EMF-dependent resource packs.

v2.2.1+1.21

by Estecka on Jun 14, 2024
Download

v2.2.1+1.20.5

by Estecka on Jun 14, 2024
Download
  • Ported to MC1.21, marked previous build as incompatible.

Notice: With map rerolls, an edge case was found where unsold maps have a chance to be discarded prematurely; see #11. Previous versions of the mod are also affected.

v2.2.0+1.20.5

by Estecka on Apr 28, 2024
Download

Ported to 1.20.5:

  • Map trades caching will prioritize the item_name over the custom_name if both components are present.
  • Placeholder trades now display an emerald on each sides, since Minecraft no longer supports empty trades. (The change is purely cosmetic, placeholders still cannot be used.)

Upgrading an older world to 1.20.5

No particular actions should be required, but the upgrade process is partially handled by the mod, please make backups and report any oddities you may find.

The mod needs to upgrade exploration maps from the trade caches. Potential issues to look out for are: trade maps loosing their content, their name, or not being stackable with previously sold maps.

If a villager had an empty placeholder trade, Minecraft will simply delete that trade. This shouldn't cause any long term issue; the villager's trade list will naturally fix itself upon rerolling.

v2.1.1+1.20.2

by Estecka on Apr 26, 2024
Download
  • Fixed a crash that would occur upon restocking if Depleted Rerolls are disabled. (Regression introduced in v1.1)
  • Marked this build as incompatible with 1.20.5

v2.1.0+1.20.2

by Estecka on Jan 29, 2024
Download
  • Re-implemented Trade-Rebalance support in a backward-compatible way. This lets the same jar be compatible with versions of Minecraft that don't have this feature.

v2.0.0+1.20.1

by Estecka on Jan 18, 2024
Download
  • Added an API that will be used to add compatibility with other mods. In particular, this is used by the VillagerConfig addon.

v1.1.0+1.20.1

by Estecka on Dec 24, 2023
Download
  • Added a gamerule that allows cartographers to generate new maps, but only if the previous one has been sold at least once. (Disabled by default)

v1.0.5+1.20.1

by Estecka on Sep 23, 2023
Download
  • Trade level per slots is evaluated more accurately for each job.
    The old 2-2-2-2-1 layout is no longer blindly applied to everyone; some specific jobs (e.g, fisherman and farmer) did not actually respect this layout, and some of their trades would not reroll properly.
  • Added support for rebalanced trade pools. (+1.20.2 branch only)
    The +1.20 branch is still compatible with all MC 1.20.x on every other aspect.

v1.0.4+1.20.1

by Estecka on Sep 16, 2023
Download
  • Fixed world-corrupting errors from 1.0.2 and 1.0.3 (now taken down)
    Do not use these versions if you downloaded them.
  • Fixed cartographers having trouble generating high-level trades, when the world is set to generate no structure.
  • Removed cartographers' ability to generate new maps during rerolls.
    This would cause issues with daily rerolls, as cartographers could generate a lot of unsold map IDs, locking nearby structure from appearing on Explorer Maps.

v1.0.1+1.20.1

by Estecka on Sep 13, 2023
Download

Fixed a crash that would occur late after a Cartographer failed to reroll a map trade in a world that generates no structure.

Initial Release


Project members

Estecka

Author

Details

Licensed EUPL-1.2
Published a year ago
Updated 2 months ago