Actually Additions

Actually Additions

66M Downloads

Custom Item Handler is inefficient

tahg opened this issue ยท 2 comments

commented

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.

commented

ur a poor implementation

commented

That must be why I never get anything done.