Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yoyos with collecting causes enchanted books to stack #12

Closed
TheDeviantCrafter opened this issue Jan 30, 2018 · 2 comments
Closed

Yoyos with collecting causes enchanted books to stack #12

TheDeviantCrafter opened this issue Jan 30, 2018 · 2 comments

Comments

@TheDeviantCrafter
Copy link

Replication steps:

  1. Obtain a yoyo

  2. Add the collecting enchantment using an anvil

  3. Toss a handful of enchanted books on the ground in one place

  4. Use the yoyo to pick up the books

What I expect to happen: Each enchanted book will enter my inventory as a different item stack

What actually happens: The enchanted books will stack

@TheDeviantCrafter
Copy link
Author

I was able to replicate this with the enchantment and Tinkers' modifier. It also affects enchanted diamond swords, white shulker boxes with different contents, and beds. However, it did not stack blue and white shulker boxes (different block IDs), white and blue carpets (stackable), or white and blue beds (different meta data values).

It would appear that for the bug to occur, the following conditions must be met:

-The items must be unstackable
-The items must share a block ID
-The item must share a meta data value

The NBT data doesn't matter. When they stack, the NBT data of all of the items will be overwritten except one.

@Jozufozu
Copy link
Owner

Fixed in abaca16

It was because I wasn't respecting the items' max stack size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants