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
Extract an item from a moving contraption assembled by shift-clicking, and disassemble the contraption. It crashes (or logs an error) with the message java.lang.IllegalArgumentException: Transfer variant may not be blank..
Reproduction Steps
Construct any moving contraption with an attached chest containing some items (maybe reproducible with other storage blocks e.g. barrel) - I had reproduced w/ windmill (not crashes, but could lead to dupe bug in Singleplayer), minecart (crashes, see the comment from Server crashes and dupe cart resources #1211 (comment) for vids), gantry (crashes)
I have locally fixed the issue by copying the return value (L102) of StorageInteractionContainer.getItem in my dev env. It seems that the shift-click interaction modifies the return value of getItem directly. But I have no idea if the solution could produce other side effects.
Describe the Bug
Extract an item from a moving contraption assembled by shift-clicking, and disassemble the contraption. It crashes (or logs an error) with the message
java.lang.IllegalArgumentException: Transfer variant may not be blank.
.Reproduction Steps
Expected Result
It should be disassembled properly
Screenshots and Videos
output.webm
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Additional Context
Related Issues
Possible Solutions
StorageInteractionContainer.getItem
in my dev env. It seems that the shift-click interaction modifies the return value of getItem directly. But I have no idea if the solution could produce other side effects.Create/src/main/java/com/simibubi/create/content/contraptions/MountedStorageInteraction.java
Lines 96 to 103 in 49cc17e
ItemStackHandler.nonEmptyViews
is called.https://github.com/Fabricators-of-Create/Porting-Lib/blob/41c9aacb30f43e0993c63f1da4438e1943fc6697/transfer/src/main/java/io/github/fabricators_of_create/porting_lib/transfer/item/ItemStackHandler.java#L101-L111
The text was updated successfully, but these errors were encountered: