Tom's Simple Storage Mod (Fabric)

Tom's Simple Storage Mod (Fabric)

16M Downloads

Mod reports 2 times more items in drawers

EntityinArray opened this issue ยท 4 comments

commented

Hello, thank you for your work on this amazing mod

Mod version: v1.5.10
Minecraft version: 1.19.2

Terminal, connected to a Drawer Access Point, reports double the amount of items in drawers.

Setup:

image
image
image

commented

It looks like you connected your drawer system twice, make sure the inventory connector (the full block) isn't touching any other inventory blocks.

commented

sorry for late response, it's connected by only one connector only.
could you add an if statement to prevent scanning same containers more than once?

by the way, inventory connector doesn't scan diagonal neighbors, right?

image

commented

It scans all touching inventories in 16 block radius, so it can scan through the diamond barrel, in the first picture, and see the drawers again.

commented

sorry for bumping this again. Level Emitters don't have this issue, they report item amounts precisely without doubling. Maybe you could use Level Emitter code to improve connectors as well?