Tags
Creators
Details
Licensed LGPL-3.0-only
Published last year
Updated 1 hour ago
All versions
1.26.11.2
Release
Villager API 1.26.11.21 hour ago 7
Compatibility
Minecraft: Java Edition
26.3
Platforms
Fabric
Quilt
Supported environments
Client and server
Required content
Any compatible version
Changes
Added
- All versions: villager packs can now change the wandering trader. Files in
villagers/wandering_trader/can add trades to its pools (buying,uncommon,common), add new pools, change how many trades a pool offers, remove every trade that buys or sells certain items, or replace the vanilla trades entirely. Without such a file the wandering trader is unchanged. - Minecraft 1.21.11 support, built from the 1.21.1 version: villager packs with their professions, workstations, villager types, biome mappings, hero gifts and trades (including
trade_list_amount,trade_list_weightand map trades).
Changed
- Minecraft 26.1.2 to 26.4: a pack trade without
reputation_discountnow uses 0.05, like vanilla's own trades and like Villager API on 1.21.x. Before, it was 0, so those trades' prices never changed with demand or with the player's reputation (for example after curing a zombie villager or becoming Hero of the Village).
Fixed
- Minecraft 26.1.2 to 26.4: villagers with a profession from a villager pack now throw their own Hero of the Village gift. Before, the gift was never found and they threw the unemployed villager's gift instead.
- Minecraft 26.3 and 26.4: a map trade whose destination is a vanilla structure tag written with its namespace (for example
minecraft:on_treasure_maps) now gives a vanilla explorer map. Before, the tag was moved into the pack's own namespace, so the trade failed to load. Map trades for a pack's own structure tags are unchanged. - Minecraft 1.21.1: old style pack trades (
buy_a/sell) that sell an item or enchanted gear now keep theirprice_multiplier. Before, it was ignored and always 0.05. - Minecraft 1.21.1 and 1.21.11: a trade can no longer ask for more of an item than fits in one stack (for example 24 snowballs, which stack to 16). Such a trade could never be completed; it now asks for one full stack, the same way vanilla handles it on 26.x.
Notes
- This release covers Minecraft 1.21.1, 1.21.11, 26.1.2, 26.2, 26.3 and the 26.4 snapshot. Minecraft 26.1 and 26.1.1 are no longer supported; 1.26.11.1 stays the last version for them.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:9Tp2Becg:OZq9qOSJ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9Tp2Becg:OZq9qOSJ"
}

