0.2.0-Beta
Compatibility
Changes
概述
在Minecraft中,开启死亡不掉落会使得玩家死亡时没有损失或惩罚,这使得玩家可以无损地通过死亡来重置生命值等状态,并可以"快速回到重生点"。Death Penalty 模组提供了一种创新的机制来解决这个问题:当玩家死亡时会启动一个倒计时惩罚期。在此期间,玩家无法移动,必须等待倒计时结束才能复活。与传统死亡系统不同的是,玩家复活后将不再拥有满生命值,而是根据配置拥有特定的生命值,这增加了死亡的真实代价。
功能特性
- 死亡后倒计时惩罚机制,防止玩家通过死亡快速传送
- 可自定义的倒计时持续时间,适应不同服务器需求
- 显示死亡原因,帮助玩家了解死亡详情
- 支持虚空死亡的特殊处理,可选择是否应用惩罚
- 设定复活后的生命值,支持固定数值和百分比两种模式
- 在重生点复活,而非死亡地点,符合Minecraft原生机制
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:kcVpSVhf:QVNskN6g"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:kcVpSVhf:QVNskN6g"
}

