December 20, 20178 yr Hey, I updated my mod now to use the ItemStackHandler with the capability API and it works great. My problem is: How can I set the in and output (for hoppers) for the items of my machine with the ItemStackHandler. So: EnumFacing.DOWN -> Extract from slot 1, All other sides -> Insert into slot 0 Edited December 20, 20178 yr by IchMagBagga
March 18, 20187 yr Author On 20.12.2017 at 10:39 PM, diesieben07 said: getCapability has an EnumFacing parameter. You can return different IItemHandler implementations based on the side if you want different behavior. Could you explain this a bit further please. I can get it to work and don't know what you mean by "return different IItemHandler implementations". Should I create my own ItemStackHandler that lets you only extract from slot 1?
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.