#Access widener doesn't seem to work

25 messages · Page 1 of 1 (latest)

neat fossil
#

Even though I've added an access widener to account for the private method, I'm not able to build the mod and it's still giving me the error

I copied the aw entry it gave me but it's still not allowing me to build, is there anything wrong?

accessWidener v2 named

accessible method net/minecraft/network/ClientConnection setPacketListener (Lnet/minecraft/network/state/NetworkState;Lnet/minecraft/network/listener/PacketListener;)V
tidal umbra
#

have you done a gradle clean&reload?

honest scaffold
#

And possibly genSources? if it were just that, it would still build

neat fossil
tidal umbra
neat fossil
#

I've tried ./gradlew clean

#

and did that ye

#

still same error

tidal umbra
#

reload is the the 🔄 button at the top

neat fossil
#

yes did that too

tidal umbra
#

invalidate caches then

#

hamburger menu top left

neat fossil
#

ye

#

should I select everything

honest scaffold
#

At least 1&3 I think

tidal umbra
#

oh and um also I guess we should check, you do in fact have the accesswidener in your build.gradle and fmj?

neat fossil
#

😭 what happened

tidal umbra
#

gotta reload again

neat fossil
tidal umbra
#

welp

#

rest in peace, caches

neat fossil
#

lol

tidal umbra
neat fossil
#

why is it when I apply the access widener it turns into a public final