Tags
Creators
Details
1.1.4-forge-1.20.1
Compatibility
Required content
Changes
-
优化历史记录界面的渲染
-
优化MVEL解析,详见扩展功能-MVEL文档,现在可以在对话文本中写
<<MVEL代码>>当做更加强大的占位符使用(需要代码执行后有返回值) -
对话文本配置新增字段:
-
bgm:用于控制背景音乐播放-
若值有效,只要玩家处于对话框界面,该音效就会循环播放
-
连续的对话若该字段值相同,背景音乐不会重新开始
-
填写空字符串会停止背景音乐(不想为了bgm再加个类似于stopBgm的字段)
-
如果不写该字段(即为null的情况),不会有任何操作(意思是你可以只在需要播放和停止背景音乐时才写这个字段)
-
-
stayTick:强制玩家在该对话停留时长,若未达到指定时长,玩家无法跳转下一句对话(默认值为0,填负数则不论过多久玩家都无法跳转,不影响选项的跳转)
-
-
修复无法正常检查音效是否正在播放的bug
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:ufXo7W3f:vDdDYr6x"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ufXo7W3f:vDdDYr6x"
}

