Luke100000 / ImmersiveArmors

Unique vanilla-friendly armor sets for Minecraft
GNU General Public License v3.0
9 stars 19 forks source link

Crash in Arclight - Forge 1.19.2 #108

Open XY-chenm opened 1 month ago

XY-chenm commented 1 month ago

Hello!It may be your mod or Arclight's problem. I'm not sure about that,so I come here and issue. There is a crash.

——————————————————————————
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Argument modifier method immersiveArmors$modifyArgs(F)F in immersive_armors.mixins.json:MixinLivingEntity failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap immersive_armors-common-refmap.json
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1362)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1051)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365)
        at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
        ... 41 more
————————————————————

emmm,wasting your precious time and seeing what went wrong? (I'm pretty poor at coding)

Luke100000 commented 1 month ago

Please stop using bukkit implementations, they are extremely aggressive :(

Basically: Arclight rips out stuff I (and potentially other modders) need

Luke100000 commented 1 month ago

I believe this should be the issue in this case: https://github.com/IzzelAliz/Arclight/blob/1.19/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/world/entity/LivingEntityMixin.java#L511

XY-chenm commented 1 month ago

ah, tk u i will tell these to the Arclight's auther.