Custom dependency issue (solved)

Started by QuiteStupidPerson on

Topic category: Help with modding (Java Edition)

Last seen on 11:52, 16. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom dependency issue (solved)
Tue, 06/25/2024 - 07:11 (edited)

In short im trying to add custom dependency to build.gradle but it simply refuses to work

repositories {
maven {
url = "https://maven.firstdarkdev.xyz/#/snapshots"
}
}

dependencies {
implementation fg.deobf("com.lowdragmc.photon:photon-forge-1.20.1:1.0.7")
implementation fg.deobf("com.lowdragmc.ldlib:ldlib-forge-1.20.1:1.0.7")
}
Edited by QuiteStupidPerson on Tue, 06/25/2024 - 07:11
Last seen on 11:52, 16. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I added this snippet of code…
Sun, 06/23/2024 - 16:30

I added this snippet of code to build.gradle as well as mcreator.gradle but each time i try to build it there is a pop-up saying something among the lines "code is corrupted" asking me if i want to clear gradle cache

Check the console tab on…
Mon, 06/24/2024 - 19:16

Check the console tab on what the error is, it is likely something wrong with the snippet you pasted

Last seen on 11:52, 16. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
welp it appears there some…
Tue, 06/25/2024 - 06:42
welp it appears there some problem with mixins
Mixin apply failed photon-common.mixins.json:accessor.MinecraftAccessor -> net.minecraft.client.Minecraft: org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException No candidates were found matching f_91021_:I in net/minecraft/client/Minecraft for photon-common.mixins.json:accessor.MinecraftAccessor->@Accessor[FIELD_GETTER]::getFps()I [INJECT Applicator Phase -> photon-common.mixins.json:accessor.MinecraftAccessor -> Apply Accessors -> -> Locate -> photon-common.mixins.json:accessor.MinecraftAccessor->@Accessor[FIELD_GETTER]::getFps()I]
org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching f_91021_:I in net/minecraft/client/Minecraft for photon-common.mixins.json:accessor.MinecraftAccessor->@Accessor[FIELD_GETTER]::getFps()I [INJECT Applicator Phase -> photon-common.mixins.json:accessor.MinecraftAccessor -> Apply Accessors -> -> Locate -> photon-common.mixins.json:accessor.MinecraftAccessor->@Accessor[FIELD_GETTER]::getFps()I]
Last seen on 11:52, 16. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So I installed Nerdys Mixins…
Tue, 06/25/2024 - 07:12

So I installed Nerdys Mixins plugin and it works just fine now