1.2.0
Compatibility
Changes
新增功能:屏幕顶部撤离点始终显示开关
-
指令示例:
/evac create <类型> <名称> <中心> <半径> <个人等待> <持续时间> <最大人数> <传送> <播报> <范围内显示HUD> <始终显示HUD> -
功能说明:
- 创建撤离点时,可通过最后一个布尔参数控制是否在屏幕顶部始终显示该撤离点的剩余时间(即使玩家不在范围内)。
- 如果同时开启“范围内显示HUD”和“始终显示HUD”,该撤离点只会显示一次,避免重复。
- 当多个撤离点均开启“始终显示”时,它们将垂直排列在屏幕顶部全部显示(通常情况下不会添加过多撤离点,因此不影响体验)。
Added a command switch for whether the evacuation point is always displayed on the top of the screen.
Example: /evac create <type> <name> <center> <radius> <personal wait> <duration> <max players> <target> <broadcast> <show HUD (in range)> <always show HUD>
If both "always show" and "show HUD when inside the evacuation point" are enabled, the point will only be displayed once.
If there are many evacuation points with "always show" enabled, they will all be displayed, vertically arranged (though hopefully no one will add too many...).
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:KTLfmdu9:tSxioFKh"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KTLfmdu9:tSxioFKh"
}

