1.2.5
Compatibility
Changes
Note: This is an alpha release; some listed features may not work. While version 1.2.0 functions well, it still contains some bugs. I do not recommend using this version for a production server until the official release is available, unless you are using it for feature testing.
1. Combat Session Improvements
The current session has been upgraded from merely tracking that a player is in combat to a CombatSession structure:
CombatSession
├── player
├── attacker
├── startedAt
├── lastActivityAt
├── expiresAt
└── state
2. More accurate Damage Attribution Instead of DeathService having to infer the cause itself, DamageAttributionService will provide clearer information:
├── Damage
├── attacker
├── victim
├── cause
├── timestamp
└── source
3. Expanded InventoryPolicy
This is the third major change.
Instead of the policy revolving solely around keepInventory, version 1.2.5 can distinguish between:
PLAYER_KILL
COMBAT_LOGOUT
MOB_DEATH
ENVIRONMENT_DEATH
UNKNOWN
Example:
inventory:
player-kill: DROP
combat-logout: DROP
mob-death: KEEP
environment-death: KEEP
unknown: VANILLA
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:CUVG17EU:niFt5awe"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CUVG17EU:niFt5awe"
}

