Tags
Creators
Details
Licensed LGPL-3.0-only
Published 10 months ago
Updated 3 hours ago
All versions
1.26.9.3
Release
Villager API 1.26.9.33 hours ago 6
Compatibility
Minecraft: Java Edition
26.4-snapshot-1
26.3
Platform
NeoForge
Supported environments
Client and server
Changes
- You can now change trades for vanilla and other mods' villagers, not just your own.
- Trades can be added to a villager's existing trades or replace them, level by level.
- New options control how many trades a villager gets, how likely each trade is, and the most trades a villager can have at a level along with trade grouping using multiple villagerpacks with their own trades for the same profession and or level for that profession.
- Biome-specific trades can now replace a villager's normal trades for certain villager types.
- New villagerpacks_order.json file in the villagerpacks folder lets you choose the villagerpacks load order.
- Villager packs can now be .jar files, and packs that only change trades no longer need a data folder.
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:YtaCsQht"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9Tp2Becg:YtaCsQht"
}

