public class NBTHelper
extends java.lang.Object
| Constructor and Description |
|---|
NBTHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.UUID |
getUUID(net.minecraft.item.ItemStack itemStack)
Gets the UUID
|
static boolean |
hasUUID(net.minecraft.item.ItemStack itemStack)
Checks if the item has a UUID
|
static void |
setUUID(net.minecraft.item.ItemStack itemStack)
Sets the UUID
|
public static boolean hasUUID(net.minecraft.item.ItemStack itemStack)
itemStack - - the itemstack to checkpublic static void setUUID(net.minecraft.item.ItemStack itemStack)
itemStack - - the itemstack to setpublic static java.util.UUID getUUID(net.minecraft.item.ItemStack itemStack)
itemStack - - the itemstack to check