Material list does not update correctly when a multiplier is used.
officereso opened this issue ยท 1 comments
Minecraft version - 1.17.1
Mod version and malilib version
- Litematica: 0.0.0-dev.20210906.183617
- MaLiLib: 0.10.0-dev.26
Intended behavior
When the material Info HUD is enabled and the multiplier for materials is being used having some of the required materials in your inventory decrements the HUD counters accordingly.
For example:
- 100 stone is required. I have 0 stone in my inventory. HUD says 100 stone.
- 100 stone is required. I have 75 stone in my inventory. HUD says 25 stone because 100-75 = 25
- 100 stone is required. I have >=100 stone in my inventory. Stone entry on HUD goes away.
What actually happens
When the material info HUD and the multiplier for the materials is being used having some of the required materials does not decrement the HUD counters like it does when a multiplier of 1 is used.
For example:
- 100 stone is required. I have 75 stone in my inventory. HUD says 100 stone.
The entry does however go away if I have >=100 stone in my inventory.
It doesn't matter if the materials are in shulker boxes in your inventory or not. Both have the same effect.
Could be related to #382. Haven't tested on 1.16 and 382 doesn't have reproduction steps.