[Legacy] GeckoLib Fabric

[Legacy] GeckoLib Fabric

3M Downloads

Problem with 4.3 shipped library -> class file for ... not found

SiverDX opened this issue ยท 4 comments

commented

Project is set up for NeoForge
Am I missing something?

Tried it with Maven and CurseForge

(...)
maven { /* GeckoLib */ url "https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/" }
(...)
implementation fg.deobf("software.bernie.geckolib:geckolib-forge-${minecraft_version}:${geckolib_version}")
// or 
implementation fg.deobf("curse.maven:geckolib-388172:4925805")

it won't resolve the jar-in-jar library (even if I start it in the IDE)

error: cannot access MathBuilder
		parser.setValue("query.delta_y", () -> deltaMovement.y);
		      ^
  class file for com.eliotlash.mclib.math.MathBuilder not found

image

image

I ran clean, reloaded all gradle projects, ran genIntellijRuns

If I load it myself it works: implementation "com.eliotlash.mclib:mclib:20"

commented

Ok worked out the root of the issue (Or at least, Witixin found it)

Basically, if you're using Mclib at compiletime (I.E. molang in your own mod), jarjar doesn't cater to you.
This will be automatically fixed once GeckoLib moved to multiloader, but for the time being you'll jsut need to implement the mclib library yourself if this error occurs

implementation "com.eliotlash.mclib:mclib:20"

commented

Can you post your full build.gradle

commented

We are having.. significant issues trying to replicate this

We just can't get it to happen lol