-
Notifications
You must be signed in to change notification settings - Fork 29
ItemUtils
Redempt edited this page May 28, 2020
·
1 revision
In Spigot, manipulating ItemStacks can be a pain if you want to modify anything other than the very basics, thanks to ItemMeta. ItemUtils has helpful methods for manipulating items. It has methods for settings almost any property of an item without needing to touch ItemMeta, and it also has methods for giving items to a player (dropping them if the player doesn't have room in their inventory), counting the number of a specific item in an inventory, and removing a certain number of items from an inventory.