Update Placeholders authored by Ghmmy's avatar Ghmmy
...@@ -40,18 +40,12 @@ These placeholders will return whatever attribute of the item that caused the sk ...@@ -40,18 +40,12 @@ These placeholders will return whatever attribute of the item that caused the sk
| <trigger.item.hand.nbt.KEY> | Returns the specified NBT key of the trigger's hand item. | | <trigger.item.hand.nbt.KEY> | Returns the specified NBT key of the trigger's hand item. |
## Item Placeholders ## Item Placeholders
These placeholders will return information related to the item that called the skill These placeholders will return information related to the item. If an item has multiple modifiers of the same stat, `.display.STAT` will return the value of a pseudo-random modifier.
| Item Placeholder | Function | | Item Placeholder | Function |
|:----------------------------------:|-------------------------------------------------------------------| |:----------------------------------:|-------------------------------------------------------------------|
| <item.color.hex> | Returns the hex color of the item that called the skill | | <item.color.hex> | Returns the hex color of the item that called the skill |
| <item.stat.display.STAT_NAME> | Returns the value of the specified stat. |
| <item.stat.display.STAT_NAME.MODIFIER> | Returns the value of the specified modifier of that stat. |
## Stat Placeholders
These placeholders will return stat information.
| Stat Placeholder | Function |
|:----------------------------------:|-------------------------------------------------------------------|
| <stat.STAT_NAME> | Returns the value of the specified stat. |
## Font Placeholders ## Font Placeholders
Placeholders that can interact with [Custom Fonts](ResourcePack-Generator#fonts) Placeholders that can interact with [Custom Fonts](ResourcePack-Generator#fonts)
... ...
......