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