Conversation
|
This approach is inefficient and annoying to constantly maintain. I have done no testing but it seems like it would be easier to check if stack.getMaxStackSize() is 1 instead of checking what the item is. If this doesn't work, vanilla should do something similar for how it displays in inventories/containers. |
this makes it so you can tell how many of each potion you have in your inventory though |
|
you mean current upstream implementation? then just check if itemStack is of PotionItem and don't do it then. there's less special items like this than there are single stack items |
Description
made it not show items when item stack is 1, such as a sword
Related Issue(s)
Fixes #
How to test
Release Notes
Documentation