Tags
Creators
Details
Licensed LGPL-3.0-only
Published 2 years ago
Updated 4 months ago
All versions
1.0.8-beta
Beta
v1.0.8 [1.20.4] AI NPC2 years ago 306
Compatibility
Minecraft: Java Edition
1.20.4
Platform
Fabric
Supported environments
Server-side
Client and server
Required content
Any compatible version
Any compatible version
Any compatible version
Changes
Changes
- Added attack action to NPC capabilities
- Integrated attack and damage events for NPCs. so NPCs can perform skills based on combat interactions.
- Added cloth configuration and custom lan mod directly to the JAR, so its no longer needed to manually add them to the NPC client.
- Defined a response JSON schema for communication with Ollama and OpenAI servers to ensure that actions are structured and more actions are actually executed compared to previous versions.
- NPCs can now access recipes, previously made skills, conversations and blocks (names/IDs).
- Added an SQLite client that creates a local database. On NPC initialization, all recipes, block data, and sample skills are indexed.
- Embeddings are generated for specific fields to use similarity search (RAG) for querying relevant data from the database based on player requests.
- Renamed isOffline parameter to isOnline in the NPC command to avoid confusion.
Security Enhancements:
- API key can no longer be set via setconfig to prevent plaintext transmission over TCP.
- NPC client can now be verified on online dedicated servers using username and password in the config file.
- (For local servers, the device code login method is still used for authentication.)
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:CfgaDAdq:kYVcVimS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CfgaDAdq:kYVcVimS"
}

