Precise Damage

Precise Damage

4.5k Downloads

Incompatible with Deep Mob Learning: Refabricated (Server)

Seceroth opened this issue ยท 2 comments

commented

Precise Armor 1.0
Deepmoblearning-refabricated-1.18.2
Fabric-loader-0.14.8
Fabric-api-0.57.0+1.18.2

[main/WARN]: @reDIrect conflict. Skipping precise_armor.mixins.json:LivingEntityMixin from mod precise_armor->@reDIrect::applyArmorToDamage(FFF)F with priority 1000, already redirected by mixins.dml-refabricated-modular-armor.json:LivingEntityMixin from mod dml-refabricated-modular-armor->@reDIrect::glitchArmorUncapProtection(FFFLnet/minecraft/class_1282;F)F with priority 1000
[main/ERROR]: Failed to start the minecraft server
java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1309 failed

Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector applyArmorToDamage(FFF)F in precise_armor.mixins.json:LivingEntityMixin from mod precise_armor failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap precise_armor-refmap.json

commented

It looks like Deep Mob Learning redirects at the same spot that I do, to allow for their ItemModularGlitchArmor to have an uncapped protection value.

https://github.com/CafeteriaGuild/DeepMobLearning-Refabricated/blob/main/modular-armor/src/main/java/dev/nathanpb/dml/modular_armor/mixin/LivingEntityMixin.java#L102-L114

I think that mod needs to change the redirect into a less-invasive inject.

commented

Would you suggest anything? I don't have much idea on what to do