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
After registering a custom placement handler that requires an ItemStack with a non-one quantity, only a single item is consumed despite the builder (correctly) requesting all the items and the build screen showing all the required items.
Expected Behavior
All the required items should be consumed, not just a single one from the stack
Reproduction Steps
Create and register a PlacementHandler
Override the getRequiredItems() method to return an item stack with a quantity larger than one
Create a build request that will use the affected PlacementHandler
Observe that despite the builder requiring all of the items, only a single one is consumed
Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
Add a comment if you have any insights or background information that isn't already part of the conversation.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Are you using the latest MineColonies Version?
Did you check on the Wiki? or ask on Discord?
What were you playing at the time? Were you able to reproduce it in both settings?
Minecraft Version
1.20.1
MineColonies Version
1.1.586-BETA
Structurize Version
1.0.733-RELEASE
Related Mods and their Versions
Note: I'm developing a custom compatibility mod, available at https://github.com/natrow/tfc_minecolonies/tree/1.20.1
Current Behavior
After registering a custom placement handler that requires an ItemStack with a non-one quantity, only a single item is consumed despite the builder (correctly) requesting all the items and the build screen showing all the required items.
Expected Behavior
All the required items should be consumed, not just a single one from the stack
Reproduction Steps
Logs
https://pastebin.com/a3hfXgKM
Anything else?
The text was updated successfully, but these errors were encountered: