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

Chunk Collector fails to collect itemStack with maxStackSize >64 #268

Open
PuiPui32071 opened this issue Jan 6, 2025 · 5 comments
Open
Assignees
Labels
✔️ Confirmed Confirmed bugs that can be replicated 🔧 Potential fix A potential fix was already submitted

Comments

@PuiPui32071
Copy link

Minecraft's Version

1.21.1

Plugin's Version

WildChests-2024.4-b72

Describe the bug

If I drop an ItemStack with maxStackSize > 99, only 64 will be collected by Chunk Collector. If I continue to drop more items, only the first 64 will be in the collector.

To Reproduce

Get an ItemStack with maxStackSize > 64, drop it, and only 64 in collector.

Additional Information

No response

@PuiPui32071 PuiPui32071 added the Pending Pending reports to be investigated label Jan 6, 2025
@OmerBenGera
Copy link
Member

How do you get items with more than 64 count?

@PuiPui32071
Copy link
Author

Paper API provide such method to get items with more than 64 count
https://jd.papermc.io/paper/1.21.1/org/bukkit/inventory/meta/ItemMeta.html#setMaxStackSize(java.lang.Integer)

@OmerBenGera
Copy link
Member

I am pretty sure this is not supported in containers.
There are plenty of issues with this in WildStacker for example, which stacks buckets and the stacked buckets are broken in inventories as well

@PuiPui32071
Copy link
Author

After my testing, vanilla minecraft supports such item in containers. You can get that by /give @p minecraft:stone[max_stack_size=99] 99 command. This was added in 1.20.5. (https://minecraft.wiki/w/Inventory)

@OmerBenGera OmerBenGera added ✔️ Confirmed Confirmed bugs that can be replicated and removed Pending Pending reports to be investigated labels Jan 25, 2025
@OmerBenGera
Copy link
Member

Check out latest dev build, this should be fixed

@OmerBenGera OmerBenGera added the 🔧 Potential fix A potential fix was already submitted label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✔️ Confirmed Confirmed bugs that can be replicated 🔧 Potential fix A potential fix was already submitted
Projects
None yet
Development

No branches or pull requests

2 participants