1.0.4
Compatibility
Required content
Changes
Fixes Fixed a server crash caused by summoned AllySurrendered entities when attacking The crash was due to a missing minecraft:generic.attack_damage attribute. The entity no longer relies on that missing attribute for damage calculation; instead, it now uses config values and the attack logic has been fully rewritten.
Additions Potency enchantment integration AllySurrendered now gains permanent buffs based on the highest Potency enchantment level found on its owner's equipment:
No Potency: Equips only an unenchanted iron sword.
Potency I: Equips an iron sword + iron helmet.
Potency II: Equips an iron axe + iron chestplate (helmet is retained).
Potency III and above: On top of Potency II, the weapon receives Sharpness and the armor receives Protection, with enchantment level equal to Potency level - 2.
Additionally, the entity gains a permanent goety:buff effect at the same level as the Potency enchantment (no effect when Potency is absent).
Miscellaneous Adjusted initial equipment setup to avoid conflicts with dynamic Potency-based equipment.
Optimized equipment and effect update timing, only reapplying when the Potency level changes.
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:MnJ7CuCq:uHLx2VGI"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MnJ7CuCq:uHLx2VGI"
}

