All versions
1.1
Beta
MyNpc 1.14 months ago 27
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Changes
MyNPC 1.1 Changelog
Version 1.1
This update rebuilds a large part of the custom NPC workflow and fixes several stability issues found during testing.
Added
- Added a new dynamic NPC manager opened with
H. - Added editable NPC pages for appearance, behavior, known structures, trades, and chat.
- Added support for custom skins and custom sounds from the config asset folders.
- Added searchable structure selection lists with single-select and multi-select behavior.
- Added custom trade editing, scroll trade editing, structure hint text editing, and per-structure prices.
- Added automatic structure detection for structure lists.
- Added random equipment for NPCs, including weapons and armor.
- Added NPC combat behavior:
- Retaliates when attacked.
- Actively attacks nearby hostile mobs.
- Avoids creepers.
- Plays a visible attack swing animation.
Changed
- Default guide NPC settings now come from one shared default template.
- Resetting a custom NPC now restores the same default settings used by the built-in guide NPC, while keeping a unique entity id.
- The built-in guide NPC naturally spawns in villages, with one guide per village area.
- Spawned guides stay near their home structure instead of wandering away freely.
- Right-click interaction still freezes the NPC during GUI use so trades are not interrupted.
- Structure and trade selection screens now place main action buttons at the bottom.
- Right-click inquiry and trade GUIs were redesigned to use clearer text areas, lists, and scrolling.
Fixed
- Fixed custom skins not applying correctly in some cases.
- Fixed custom sounds failing to resolve from the custom asset folder.
- Fixed the game hanging or freezing during world generation from heavy spawn checks.
- Fixed repeated NPC spawning in the same village.
- Fixed NPC GUI staying open after the NPC dies or is removed.
- Fixed reset defaults being different from the built-in default NPC.
- Fixed several UI clipping, overlap, scrolling, and button layout issues.
Notes
- Existing config files are not deleted automatically. If you want the new default
village_guide.json, remove the old one fromconfig/npc_typesand restart the game. - This version is for Minecraft
1.20.1with Forge47.x.
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:CQF4PJYd:QMubZQtO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CQF4PJYd:QMubZQtO"
}

