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.
Description:
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:
Solution:
Mixin to the method that handles stack combination to allow combining energy items with different energy values.
Technical Information: