Open DeadlyArtist opened 1 month ago
Found a fix by looking at how Applied Energsistics did it: https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/fabric/1.19.2/build.gradle
For me i had to do it like this: // REI modImplementation "dev.architectury:architectury-fabric:6.2.43" // Manually override architectury, remove once REI's dependency is fixed modImplementation "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}" modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}" modCompileOnly "me.shedaniel:RoughlyEnoughItems-default-plugin-fabric:${project.rei_version}"
What happened?
when i add to my dependencies in bbuild.gradle: modImplementation "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}" modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:${project.rei_version}" modCompileOnly "me.shedaniel:RoughlyEnoughItems-default-plugin-fabric:${project.rei_version}" with rei_version=9.2.738
and i try to run the client, i get [Render thread/ERROR] (FabricLoader/Mixin) Mixin apply for mod architectury failed architectury.mixins.json:client.MixinLocalPlayer from mod architectury -> net.minecraft.client.network.ClientPlayerEntity: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @Shadow method method_44097 in architectury.mixins.json:client.MixinLocalPlayer from mod architectury was not located in the target class net.minecraft.client.network.ClientPlayerEntity. Using refmap architectury-fabric-refmap.json
from what i have gathered there seems to be an error in the remapping of the architectury mod that your mod depends on. i have tried older versions as well and it got the same error.
What mod loaders are you seeing the problem on?
Fabric
What do you think this bug is of?
Relevant log output
Anything else?
my gradle properties:
Fabric Properties
check these on https://fabricmc.net/develop
minecraft_version=1.19.2 yarn_mappings=1.19.2+build.28 loader_version=0.16.0
Dependencies
fabric_version=0.77.0+1.19.2 rei_version=9.2.738
package dev.architectury.mixin.fabric.client;
chat definition not found
architectury-fabric-refmap.json: "dev/architectury/mixin/fabric/client/MixinLocalPlayer": { "chat(Ljava/lang/String;Lnet/minecraft/network/chat/Component;)V": "Lnet/minecraft/class_746;method_44096(Ljava/lang/String;Lnet/minecraft/class_2561;)V" },
By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.
By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.