Gets the item's compound tag with the custom data of the item. It may be null if the item has no custom behaviours.
if(item.minecraftCompound is null) { assert(item.customName == ""); } item.customName = "not empty"; assert(item.pocketCompound !is null);
See Implementation
Gets the item's compound tag with the custom data of the item. It may be null if the item has no custom behaviours.