๐ตGet Item Definition Properties
Last updated
Last updated
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
While not typically something you should need to do, it is possible to read the properties off of an item definition at run time ... with a few limitations. The main place this comes in handy is when displaying items in a store or similar. Reading the item property for name for example would return the language-specific name of the item if any.
Heathen provides 2 nodes to help with this
This will return an array of all the properties on an item, you shouldn't need to do this in that you should know what properties your items have but it's here if you need it.
This will return the value of a given property e.g. "name" for example which is the most commonly used property for this node.
The item to read the properties for