GUI Stat Property
Description
The GuiStatProperty manages statistics displayed in the GUI for items. It allows the attachment of custom statistics
to items, which can be displayed in the GUI with a header, description, and a range of values. Each statistic is defined
with a minimum and maximum value, and the current value is dynamically resolved based on the item instance.
This property is used to enhance the user interface by providing detailed item statistics.
Data
- min: A Double Operation representing the minimum value of the statistic.
- max: A Double Operation representing the maximum value of the statistic.
- value: A Double Operation representing the current value of the statistic.
- header: A Text Element used as the header for the statistic display.
- description: An optional Text Element providing a description for the statistic.