Visiting Villagers – Bring Your Villages to Life!

Turn your villages into vibrant, dynamic communities with visitors, new trades, and endless interaction!
Back to Files

visitingvillagers-1.0.4-fabric-26.3

File namevisitingvillagers-1.0.4-fabric-26.3.jar
Uploaded
Dec 3, 2026
Downloads
65
Size
326.6 KB
Mod Loaders
Fabric
File ID
10020387
Type
R
Release
Supported game versions
  • 26.3

Curse Maven Snippet

Fabric

modImplementation "curse.maven:visiting-villagers-1392050:10020387"

Learn more about Curse Maven

What's new

GENERAL

  • Unified release for Fabric, NeoForge, and Forge, with shared logic and the same features across all three loaders.

TRADES

  • Replaced Java trade tables with 23 editable JSON files: 15 adult/default variants and 8 wanderer variants, totaling 349 offers.
  • Renamed the trade folder from visiting_villagers to visitingvillagers.
  • Default JSON files are copied to config/visitingvillagers/trades/ on startup; existing files are never overwritten.
  • Config files take precedence over jar files; an error in a file logs a warning and falls back to the bundled JSON for that variant only.
  • Trades are loaded on the server using the active world's registries, ItemStack.CODEC, RegistryOps, and Data Component support.
  • /visitors reloadtrades (permission level 2) recreates missing defaults, reloads the JSON files, and refreshes offers for loaded visitors that are not currently trading.
  • Offers support variant, buys, sells, select, cost, cost_b, result, type, max_uses, xp, and price_multiplier.
  • Added cost_b for trades with two cost items; it supports the same formats as cost, but no bundled JSON uses it.
  • Items can use id with components, family, or one_of; family supports color/colors or variant/variants, and one_of supports full IDs, including items from other mods.
  • family and one_of select one concrete item per offer; they do not act as tags that accept multiple items simultaneously.
  • select per pool: omitted/-1 uses the entity default, 0 disables the pool, and positive values limit the number of randomly selected offers without duplicates.
  • Offer defaults: max_uses=4, xp=2, and price_multiplier=0.05.
  • Added the random_enchanted_book, random_suspicious_stew, random_firework_star, and random_rocket types.
  • Standardized XP to the vanilla scale; rewardTradeXp() grants a single orb with offer.getXp().
  • Wanderers no longer offer buys; sells selects 7 offers, or 12 for wandering_master, with base XP 5 and special offers granting 10 or 15.
  • Rebalanced the catalog from 507 to 349 offers (-31.2%).
  • Buys/sells entries after rebalancing: glassworker 4/5, pyrotechnic 5/7, lumberjack 5/5 (select 4/2), relic_scavenger 5/8, and default 5/4.

CONFIGURATION

  • Unified configuration in config/visitingvillagers.json, using JSON/Gson, with 10 options and range validation; invalid values reset to their defaults.
  • General: spawnCheckIntervalSeconds=10, minVillagersForSpawn=6, and minGolemsForSpawn=1.
  • Adults: visitorSpawnPercentage=100, maxSpawnsPerCycle=3, and defaultVisitorTradeChance=40.
  • Babies: minAdultsForBaby=2 and babySpawnPercentage=60.
  • Wanderers: maxWanderingVisitors=2 and wanderingSpawnDelaySeconds=120.
  • Replaced the single screen with a root screen and four slider submenus: General, Adults, Babies, and Wanderers.
  • Added ConfigSlider; changes are applied immediately and saved when the screen is closed.
  • /visitors reload reloads the configuration without restarting and is available to everyone, including the server console.
  • On Forge/NeoForge, the screen opens through the Config button in the mod list; on Fabric, through the optional ModMenu.

INTERFACE

  • The creative tab now uses the internal tab_icon item as its icon, with its own texture, model, and translation; the item does not appear in the tab and has no gameplay function.

COMPATIBILITY

  • Kept optional VillagerNames + Collective compatibility across all three loaders; everything works normally without these mods.

PORTS

  • For 1.20.x and 26.x, use this list as the functional scope and verify APIs, mappings, and item formats in the target version's sources jar.

This mod has no additional files