1.1.0
Compatibility
Required content
Changes
此版本更新了一下功能: 生成者保护:生成 NPC 的玩家永远不会被 NPC 攻击(包括反击)。 不主动攻击玩家:NPC 不会主动攻击任何玩家(无论是否生成者)。 反击秒杀:当其他玩家攻击 NPC 后,NPC 进入 5 秒反击模式,在此模式下攻击该玩家将直接秒杀。 自动攻击怪物:当 NPC 持有剑时,会自动攻击附近的怪物(如僵尸、骷髅等)。 挖掘与拾取:持有镐或斧时,自动挖掘周围 5 格内的矿石/树木,并将掉落物收入背包。 进食与生命恢复:饥饿时自动食用背包食物,饱食时缓慢恢复生命。 睡觉:夜晚寻找附近的床并“睡觉”,白天自动醒来。 行动提示:关键行动(挖掘、攻击、进食、睡觉等)会在聊天栏广播提示,5 秒内相同动作不重复。
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:r2i4JORh:zAlrr2No"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:r2i4JORh:zAlrr2No"
}

