[BUG] Full energy items of different counts cannot be combined
NiChrosia opened this issue ยท 0 comments
Description:
- Give a detailed explanation of the issue
Two stacks of items full of energy cannot be combined if they have differing quantities, because a stack with 2 items has double the energy in the NBT, forcing the user to combine them in powers of 2.
Steps to Reproduce:
- Steps to reproduce this behaviour
- Take 3 batteries from the creative menu.
- Charge them all to max one by one
- Combine two into a stack
- Attempt to add the individual item to the stack of two
- Observe the bug
Solution:
Mixin to the method that handles stack combination to allow combining energy items with different energy values.
Technical Information:
- Minecraft: 1.18.1
- Fabric API: 0.46.6
- Industrial Revolution: 1.13.6
- Modpack: AOF5 1.0.1