Custom Item Handler is inefficient
tahg opened this issue ยท 2 comments
TileEntityInventoryBase creates a ItemStackHandlerCustom which has a poor implementation of canInsert. The method defers to the machine's isItemValidForSlot, which can potentially be an expensive check. It should first do some simple checks stack compatibility and size.