Posted October 1, 20204 yr Small question. Is there a function or anything in code where I can fill an IItemHandler (specifically an ItemStackHandler) using a loot table, Ideally just handed as a resource location. I've realised all of the vanilla code only applies to IInventory and seeing as the two aren't interchangable, I was wondering if there was a function somehow included as I imagine it's a pretty common requirement. Thankyou,
October 1, 20204 yr Make your own method that handles it? Or you can just create a wrapper of some kind that Forge may or may not provide.
October 1, 20204 yr Author Ok yeah thankyou, was just checking to see if there was implementation for it as I didn't want to have to deal with the access transformers and stuff and thought there might be one, Thankyou very much though.
October 2, 20204 yr 13 hours ago, Slit_bodmod said: I didn't want to have to deal with the access transformers and stuff ??
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.