1.0.0
Compatibility
Changes
Initial release of SmartTraderAI (v1.0.0) for Minecraft 1.21.1 (NeoForge).
This is my first Minecraft mod, so there might be some small bugs or quirks. If you run into any issues or have suggestions to improve the mod, please let me know.
What this mod does:
- Adds an AI-driven merchant that you can talk and negotiate trades with in real-time via chat.
- Supports multiple AI providers: Groq, Google Gemini, OpenRouter, and OpenAI.
- Multi-item trades: You can trade multiple different items at once in a single offer.
- Memory: The trader remembers the current conversation so you can haggle back and forth.
- Modded item support: Works with items from custom mods (using exact registry IDs via F3 + H gives the best accuracy).
- Inventory verification: Prevents trades if you don't actually have the items on you.
Main Commands:
- /trader <your offer> : Talk to the merchant or propose a trade.
- /trader key <provider> <key> : Save your API key (groq / gemini / openrouter / openai).
- /trader provider <name> : Switch active AI provider.
- /trader model <name> : Change active AI model.
- /trader reset : Reset the current negotiation memory.
- /trader status : View your current configuration.
Hope you enjoy the mod!
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:5wtq2dBN:u7eUmPBr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:5wtq2dBN:u7eUmPBr"
}

