How to use Inventory Tweaks in my dev environment?

100 views
Skip to first unread message

Eydamos

unread,
Aug 24, 2016, 6:29:13 PM8/24/16
to Inventory Tweaks developers
I want to use InventoryTweaks in my mod to sort my inventories.
I have set up my forge dev environment with intelliJ idea with forge 1.8.9-11.15.1.1902-1.8.9
In my container class I use invtweaks.api.container.ChestContainer, invtweaks.api.container.ContainerSection and
invtweaks.api.container.ContainerSectionCallback.

I downloaded InventoryTweaks-api-1.60-40.jar and InventoryTweaks-deobf-1.60-40.jar.
When I just add the api jar as a dependency intelliJ says "Cannot resolve symbol 'ChestContainer'".
When I add the deobf.jar it finds the symbols but when I try to start minecraft client I get "java.lang.IllegalAccessError: tried to access field net.minecraft.client.settings.KeyBinding.keyCode from class invtweaks.InvTweaksObfuscation".

I don't know what to do to get this running and unfortunately there is not a single word in the wiki how to use inventory tweaks as a dependency.

Regards,
Eydamos

Kobata

unread,
Aug 24, 2016, 7:55:42 PM8/24/16
to Inventory Tweaks developers
There's not much information about it because I've never tried to use it that way nor have I really heard of anyone who has tried recently. Your error sounds like it needs to pick up the access transformer file ( https://github.com/Inventory-Tweaks/inventory-tweaks/blob/develop/src/main/resources/invtweaks_at.cfg ) though.

--
You received this message because you are subscribed to the Google Groups "Inventory Tweaks developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inventory-twea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

imarv...@gmail.com

unread,
Oct 27, 2016, 12:06:27 AM10/27/16
to Inventory Tweaks developers
I think I have the same question, but with Eclipse.
If I want to make a mod that uses inventory tweaks's API, how do I add it to my environment?

Thanks,
IMarv

osmunds...@gmail.com

unread,
May 19, 2018, 7:57:55 PM5/19/18
to Inventory Tweaks developers
Reply all
Reply to author
Forward
0 new messages