CraftTweaker

CraftTweaker

151M Downloads

Mixin Compatibility Issue

FCWYzzr opened this issue ยท 6 comments

commented

Issue description

I'm developing a mod using Mixin. Yet during testing, error occurred.
It seems like mixins applied to LivingEntity may crush the Crt

I've searched Issue list, yet no resolution was found. Should I apply some tweaks to my mod? Or it's none of my business?

Steps to reproduce

using a mod which applies mixins to net.minecraft.world.entity.LivingEntity

Script used

no script used

The crafttweaker.log file

pastebin Hw1RnZQQ

Minecraft version

1.21

Modloader

NeoForge

Modloader version

21.0.0-beta

CraftTweaker version

20.0.20

Other relevant information

No response

The latest.log file

pastebin TCr45rQ8

commented

Can I get a link to your mods source code please

commented
commented

I've cloned your repository and tested both in dev and in production and I am unable to reproduce the error.

How are you testing?

commented

weird, I refactor my code before push them.
yet the only change i applied to mixin class is, i take out the nested mixin class. it can not be the reason...
never mind, i ll just ingore it

commented

i take out the nested mixin class. it can not be the reason...

That is exactly the reason, I have ran into this issue before here: TeamLapen/Vampirism#840

You aren't allowed to have non @Mixin classes in a mixin package, and the outer class is not a @Mixin class, so it ends up erroring.

well......thanks for your information

commented

i take out the nested mixin class. it can not be the reason...

That is exactly the reason, I have ran into this issue before here:
TeamLapen/Vampirism#840

You aren't allowed to have non @Mixin classes in a mixin package, and the outer class is not a @Mixin class, so it ends up erroring.