So, i have an itemstackhandler that is not returned from getCapability, and instead from a custom method, I did this so stuff like hoppers cannot interact with it(since it is a ghost slot). But, when i unload the chunk(by walking away for a long time, or leaving and joining) the item disappears, rendering the slot useless.
So, i have an itemstackhandler that is not returned from getCapability, and instead from a custom method, I did this so stuff like hoppers cannot interact with it(since it is a ghost slot). But, when i unload the chunk(by walking away for a long time, or leaving and joining) the item disappears, rendering the slot useless.
Fixed it, i had to wright and read from the nbt for the item stack handler