Guebeul Posted December 30, 2018 Share Posted December 30, 2018 I know that "addItemStackToInventory" adds specific items to the inventory. Conversely, how do I remove certain items from my inventory? (version 1.12.2) Quote Link to comment Share on other sites More sharing options...
Toma™ Posted December 30, 2018 Share Posted December 30, 2018 You can get the stack you want to remove and use the shrink method to remove the itemstack from inventory. Or you can use InventoryPlayer#clearMatchingItems. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.