Class SingleClickEventUtil
- java.lang.Object
-
- me.bimmr.bimmcore.gui.inventory.helpers.SingleClickEventUtil
-
public class SingleClickEventUtil extends java.lang.Object
A Utilities class for adding a persistent uuid to the itemstack
-
-
Constructor Summary
Constructors Constructor Description SingleClickEventUtil()
-
Method Summary
Modifier and Type Method Description static org.bukkit.inventory.ItemStack
addUUIDTag(java.util.UUID id, org.bukkit.inventory.ItemStack item)
Add UUIDTag to itemstackstatic java.util.UUID
getUUIDFromTag(org.bukkit.inventory.ItemStack itemStack)
-
-
-
Method Detail
-
addUUIDTag
public static org.bukkit.inventory.ItemStack addUUIDTag(java.util.UUID id, org.bukkit.inventory.ItemStack item)
Add UUIDTag to itemstack- Parameters:
id
- The UUIDitem
- The ItemStack- Returns:
- The adjusted ItemStack
-
getUUIDFromTag
public static java.util.UUID getUUIDFromTag(org.bukkit.inventory.ItemStack itemStack)
- Parameters:
itemStack
- The ItemStack- Returns:
- Get the UUID From the ItemStack
-
-