Identity

Identity

3M Downloads

Mixin incompatibility with Bygone Nether

izofar opened this issue ยท 1 comments

commented

Bug description
Opening the identity menu crashes the game

Game log:
Crash Log Gist

The error is due to conflicting mixins with Bygone Nether regarding piglin [brute] brains. While Bygone Nether hooks into findNearestValidAttackTarget with @At(value = "RETURN"), Identity appears to @Overwrite is entirely, causing the incompatibility

commented

I recommend hooking into findNearestValidAttackTarget similarly to Bygone Nether demonstrated here

Alternatively, since all you want to change is what's in the lambda in your mixin, just target the lambda: @Inject(method = "lambda$method_xxxxxx$0" ...) or so