reo-ar / InvTweaksRenewed

A fork of the spiritual successor of Inventory Tweaks
Apache License 2.0
20 stars 22 forks source link

How to add this to dev environment to test compatibility (maven ?) #21

Open Lothrazar opened 3 years ago

Lothrazar commented 3 years ago

Hi.

I tried to add this mod to my /run/mods/ folder in my IDE during development, but it wont load because

Details:
    Mod File: invtweaks-1.16.2-1.0.0.jar
    Failure message: Inventory Tweaks Renewed (invtweaks) has failed to load correctly
        java.lang.NoSuchFieldError: field_151078_bh
    Mod Version: 1.16.2-1.0.0
    Mod Issue URL: NOT PROVIDED
    Exception message: java.lang.NoSuchFieldError: field_151078_bh

Is there a maven to install this the gradle way?

Or do you have instructions for other modders to install this on their IntelliJ/Eclipse IDEs to test compatibility?

I am working on https://github.com/Lothrazar/Cyclic/issues/1527

trunksbomb commented 3 years ago

From what I researched when I tried to add this to dev the same way you did, it's because the Forge mappings are different for Cyclic and for this mod. If both mods specified the same mappings in gradle.properties, then it would work.

reo-ar commented 3 years ago

Interesting, I've built the mod with the latest mappings, see if that works, I'm planning on a maven later