Is your feature request related to a problem? Please describe.
Yes. There is a known issue where connecting multiple Storage Deployers (or similar storage blocks) to the same network dimension channel causes item duplication in stock reporting systems (e.g., in Create: Beyond or related addons).
Currently, third-party developers attempting to fix this find that the existing API is insufficient. Specifically, the interface InventoryIdentifier#contains(BlockFace) does not provide access to the underlying Block Entity. Without access to the Block Entity, it is impossible to retrieve the specific Network ID required to distinguish between different storage links on the same channel.
Describe the solution you'd like
I suggest modifying or extending the InventoryIdentifier interface (or the surrounding logic) to expose the associated Block Entity (or at least provide a method to retrieve it).
By accessing the Block Entity, external mods can:
- Retrieve the specific Network ID.
- Perform correct deduplication logic for items in the storage network.
- Avoid using invasive Mixins to access private fields, ensuring better stability and cross-version compatibility.
Describe alternatives you've considered
Currently, the only workaround is to create separate compatibility fix mods that use Mixins to hack into private methods/fields. This is not an ideal long-term solution as it is fragile and prone to conflicts. Relying solely on InventoryIdentifier#contains(BlockFace) is insufficient for handling this specific logic.
Additional context
This request stems from discussions regarding the "item duplication" error when multiple storage links connect to a network dimension channel. While community fixes exist (e.g., via mixins), native API support from Create would be the standard and robust way forward.
Allowing access to the Block Entity via a public API would greatly enhance the ecosystem's ability to build compatible logistics and inventory management tools.
Is your feature request related to a problem? Please describe.
Yes. There is a known issue where connecting multiple Storage Deployers (or similar storage blocks) to the same network dimension channel causes item duplication in stock reporting systems (e.g., in Create: Beyond or related addons).
Currently, third-party developers attempting to fix this find that the existing API is insufficient. Specifically, the interface
InventoryIdentifier#contains(BlockFace)does not provide access to the underlying Block Entity. Without access to the Block Entity, it is impossible to retrieve the specific Network ID required to distinguish between different storage links on the same channel.Describe the solution you'd like
I suggest modifying or extending the
InventoryIdentifierinterface (or the surrounding logic) to expose the associated Block Entity (or at least provide a method to retrieve it).By accessing the Block Entity, external mods can:
Describe alternatives you've considered
Currently, the only workaround is to create separate compatibility fix mods that use Mixins to hack into private methods/fields. This is not an ideal long-term solution as it is fragile and prone to conflicts. Relying solely on
InventoryIdentifier#contains(BlockFace)is insufficient for handling this specific logic.Additional context
This request stems from discussions regarding the "item duplication" error when multiple storage links connect to a network dimension channel. While community fixes exist (e.g., via mixins), native API support from Create would be the standard and robust way forward.
Allowing access to the Block Entity via a public API would greatly enhance the ecosystem's ability to build compatible logistics and inventory management tools.