tom5454 / Toms-Storage

Simple vanilla style storage mod for Minecraft
https://www.curseforge.com/minecraft/mc-mods/toms-storage
MIT License
114 stars 35 forks source link

Mod reports 2 times more items in drawers #390

Open EntityinArray opened 3 months ago

EntityinArray commented 3 months ago

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

tom5454 commented 3 months ago

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

EntityinArray commented 3 months ago

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

tom5454 commented 3 months ago

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.

EntityinArray commented 2 months ago

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?