Posted May 24, 20196 yr I am working disabling one or more slots in a player's inventory and wanted to double check if my thought process is going about it correctly. Should I be extending Slot and overriding methods (like isEnabled and canTakeStack). Then replacing the slot within the inventoryContainer with an instance of the extended slot? Or should I completely replace the default inventory? Should this have an Item Handler Capability if I'm not replacing the default inventory? Also, If I wanted to show visually/gray out any of the disabled slots I would need to completely take over how the inventory gui is displayed correct?
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.