ChiKitsune started following [1.12.2] Disable Certain Slot(s) in Player Inventory
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?