Tags
Creators
Details
Licensed Apache-2.0
Published 6 months ago
Updated 2 hours ago
All versions
0.10.0
Release
Aviel's Dialogue Mischiefs 0.10.02 hours ago 5
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
NPCs
- NPCs can have a daily routine: a place and an activity for each hour of the day. Set it on the new Routine tab in the editor.
- NPCs remember when a player hits them or a friend of theirs, and change their opinion of that player. Dialogues can check this with the new
npc_remembersandnpc_activityconditions. - Allied NPCs that meet each other stop for a short chat.
Combat
- NPCs can fight with bows and crossbows. They keep their distance, circle the target and shoot. Arrows never run out and cannot be picked up.
- A shield in the off hand is raised between swings.
- New
retreat_healthsetting: the NPC runs away when its health drops below this share. Off by default. - New
regenerationsetting: health per second the NPC heals when it is out of combat. Off by default. - Allied NPCs now help when a mob attacks one of them, not only when a player does.
- The NPC holds its bow, crossbow and shield the same way a player does.
Editor
- The side panel shows what the NPC is doing right now, its plan for this hour, its opinion of you and the last thing it remembers about you.
- Errors name the tab and the field, for example "Routine: two rows at 13:00", and a red dot marks the tab. A template with a bad value is not saved.
- A new routine row starts at the current in-game hour.
/npc editopens the editor for the selected NPC from any distance.
Dialogues
- Fixed: an NPC stayed "in conversation" after the player closed the dialogue with Esc.
/npc debugshows hidden choices greyed out, with the reason in the tooltip, for examplerequires_flags: ore_job.
For modpack makers and mod developers
- Other mods can add their own choice actions (
actionsin a choice) and condition types. - New events:
NpcOpinionChangeEvent,NpcRoutineEventandNpcArrivedEvent. /npc validatewarns about condition and action types that no installed mod registers.- JSON schemas for emotes and factions. Condition types with a namespace (
mymod:reputation) are now accepted by the schema. - The guide has a new section for mod developers: adding ADM as a dependency, the full API and testing an integration.
Removed
- The built-in
Aviel__template. Spawn NPCs from your own templates instead. - The example files in
docs/examples. The guide now shows the examples inline. AdmDialogueApi.playandstopare deprecated. UseplayNpcEmoteandstopNpcEmote.
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:v7n5z1Nk:h32Zd82V"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:v7n5z1Nk:h32Zd82V"
}

