#Failed Mixin in Dev Environment

42 messages · Page 1 of 1 (latest)

placid burrow
#

I'm trying to set up SnR as a dependency for a mod, and for the fabric version I'm getting the exact same error as was described here #coding-arts-🕹 message - this accessor mixin won't work because it's cutting off the L for some reason. Was a solution to this ever found?

onyx stoneBOT
#

Hello @placid burrow! Someone will help you shortly, please do not ping moderators or other people and just wait for someone to come help.

polar prawn
#

This is uhhh

#

a arch loom problem i think

placid burrow
#

ugh thats annoying

polar prawn
#

wait no

#

arch mixin

placid burrow
#

is it fixed in a recent update? i've just been modifying the create-multiloader-addon template for 1.20.1 so far, so im not sure if it's using the latest version

polar prawn
#

there's been no response from architectury devs

#

my so called fix probably won't work since it still has getL

#

try modrinth maven maybe?

placid burrow
#

i'm already using it for snr

polar prawn
#

oh hmm

placid burrow
#

great ty! i'll see how that goes

placid burrow
#

hmm no that didn't work :(

placid burrow
polar prawn
#

yeah

placid burrow
#

it's still happening, also in forge (i was able to test this just now since i fixed a separate problem with mixin extras)

placid burrow
#

the version you sent me still uses all caps - do you have a build that includes your fix?

polar prawn
#

the issue is my fix still has it as caps

#

you'd probably wanna go to the architectury discord with this

#

since it's a issue with their mixin fork

autumn hawk
#

Just specify the name in the @Accessor @polar prawn

#

I thought u did that already

polar prawn
#

I think so but I don't know if that changes anything

autumn hawk
#

I mean last time I tried that it complained it couldn’t find ONG_CROSS

#

So specifying that would probably help

#

I’ll add that in my pr

polar prawn
#

i already fixed it on dev

#

just never made it into a release iirc

autumn hawk
#

Oh ok

placid burrow
#

i tried both an indev snapshot build of 1.6.0 (where the name is specified) and 1.5.3, they both crashed

#

and frustratingly, when i imported the snr repo, it didn't crash?

#

i couldnt find any difference between the architectury setup for the multiloader template and for snr so i have no idea why

#

in the end i made my mod depend only on create, cause i realised that the feature i was using snr for didn't need snr anyway

#

but yeah, before that point i tried stepping through the crash and it looks like mixin accessors use ATs internally? it was recognising LONG_CROSS as a parameter or return type at one point, like Ljava/etc.