Download Storage Drawers Fixes — Minecraft Mods — MetaMods

Storage Drawers Fixes

Active

Downloads

0

Last update

2 years ago
Client
Addons

Storage Drawers Fixes

The Storage Drawers mod has a series of problems when interacting with automation systems from other mods, such as various pipelines. The main cause of these issues is an incorrectly implemented "virtual slot" that creates confusion in the operation of other modifications.

Storage Drawers Fixes addresses these problems by completely removing this virtual slot from the system.

Performance

The virtual slot was originally added to improve performance during mass item loading through a controller. However, testing has shown that even when processing around 1000 items per tick through a 4096-slot controller in the Refined Storage system, removing the virtual slot does not result in noticeable performance degradation. In typical gaming situations, loading speeds are usually significantly lower.

Moreover, the existing problems with the virtual slot make it difficult to use Storage Drawers in both large-scale builds and small systems. Therefore, most players will gain real benefits from its removal.

Technical Details

The virtual slot provides a performance advantage only when inserting items, but this advantage is minimal since the internal implementation still sequentially checks all available slots to find suitable placement. Removing the virtual slot transfers this task to the calling device, adding only a small load due to more frequent calls to IItemHandler methods — which most automation mods do regardless of the virtual slot's presence.

Project members
juh9870

juh9870

Created: 2 Mar 2023

ID: 92489