Name | custom_data |
Object | ItemTag |
Input | MapTag |
Related Tags | <ItemTag.custom_data> (Property) Returns an item's custom NBT data, if any. (...)
|
Description | (Property) Sets an item's custom NBT data, if any.
The map is in NBT format, see Raw NBT Encoding. This does not include any normal vanilla data (enchantments, lore, etc.), just extra custom data. This is useful for integrating with items from external systems (such as custom items from plugins), but item flags should be preferred otherwise. Provide no input to clear custom data. |
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomData.java#L14 |