Animations
How to use built-in animations from DecentHolograms
DecentHolograms supports two types of animations: Premade and custom.
Custom animations can be configured in files and the process of doing so is explained in more detail on this page.
Format¶
<#ANIM:<name>>Text</#ANIM> <#ANIM:<name>:<args>>Text</#ANIM>
Note
To use placeholders inside animations you need to enable allow-placeholders-inside-animations
in the config.yml
.
Premade Animations¶
There are some premade animations you can use, that will work with any text.
Colors¶
- Switches through all available color codes. This is the same as in HolographicDisplays and also offers the
&u
as an alternative color code to use.<#ANIM:colors>Text</#ANIM>
Wave¶
-
Colors the text in
<color1>
and makes<color2>
move through the text.<#ANIM:wave:<color1>,<color2>>Text</#ANIM>
Example
<#ANIM:wave:&f,&b&l>Text</#ANIM>
Burn¶
-
Colors the text in
<color1>
and changes it to<color2>
from left to right.<#ANIM:burn:<color1>,<color2>>Text</#ANIM>
Example
<#ANIM:burn:&f,&b&l>Text</#ANIM>
Typewriter¶
- Writes the provided text one character at a time.
<#ANIM:typewriter>Text</#ANIM>
Scroll¶
- Scrolls through the provided text. The length is set to
<text length> / 3 * 2
.<#ANIM:scroll>Text</#ANIM>