AdvancedPeripherals
AdvancedPeripherals copied to clipboard
ME Bridge using bytes for internal storage and item count for external storage.
Describe
Using the function getUsedItemStorage (And the other related ones) will return different results depending on if the item is stored in the disk or the chest.
If I store 64 sticks in a disk, the function returns 520 since the sticks occupy 520 bytes.
Storing them in a chest using the storage bus will result in a different value, since the chest does not store the items as bytes like the drives.
Multiplayer?
No
Version
Own compiled build.
Minecraft, Forge and maybe other related mods versions
43.3.0 1.19.2
Screenshots or Videos
No response
Crashlog/log
No response
Fixed by separating the external functions and the internal functions. The external functions will return a number in millibuckets or item count. The internal functions will return them as used/available bytes.
This was discussed with one of the AE2 developers
Not sure why I closed this...