You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: