Changes
Page history
added font placeholders
authored
Nov 07, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Placeholders.md
View page @
b71dc0eb
...
@@ -24,9 +24,9 @@ Put a value to use after "|" inside the placeholder to provide a default when th
...
@@ -24,9 +24,9 @@ Put a value to use after "|" inside the placeholder to provide a default when th
## Trigger Placeholders
## Trigger Placeholders
These placeholders will return whatever attribute of the item that caused the skill to happen.
These placeholders will return whatever attribute of the item that caused the skill to happen.
| Trigger Placeholder
s
| Function
|
|
Trigger Placeholder
| Function |
|:--------------------
:|-------
---------------------------------------------------------------------------------|
|:----------------------------------
:|
-------------------------------------------------------------------|
|
<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 that called the skill
...
@@ -37,8 +37,13 @@ These placeholders will return information related to the item that called the s
...
@@ -37,8 +37,13 @@ These placeholders will return information related to the item that called the s
## Stat Placeholders
## Stat Placeholders
These placeholders will return stat information.
These placeholders will return stat information.
| Stat Placeholder | Function |
|:----------------------------------:|-------------------------------------------------------------------|
|
<stat.STAT_NAME>
| Returns the value of the specified stat. |
-----------------
| Stat Placeholders | Function |
## Font Placeholders
|:--------------------:|----------------------------------------------------------------------------------------|
Placeholders that can interact with
[
Custom Fonts
](
ResourcePack-Generator#fonts
)
|
<stat.STAT_NAME>
| Returns the value of the specified stat. |
| Fonf Placeholder | Function |
\ No newline at end of file
|:----------------------------------:|-------------------------------------------------------------------|
|
<font.
[
fontname
]
>
| Returns the character associated with the custom font named
`fontname`
|
\ No newline at end of file