forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
EffectLib Text
JasperLorelai edited this page Jan 14, 2024
·
1 revision
class: Text
This effect renders text in the air using particles.
Option | Default |
---|---|
type |
"repeating" |
particles |
"fireworks_spark" |
period |
40 |
iterations |
20 |
Option | Description | Type | Default |
---|---|---|---|
text |
Text to display. | String | Text |
invert |
Invert the text. | Boolean | false |
stepX /stepY
|
Each stepX/stepY pixel will be shown. Saves packets for lower font sizes. | Integer | 1 |
size |
Scale the font down. | Float | 1 / 5 |
font |
Font name documentation can be found here. | String | "tahoma-plain-16" |
realtime |
Set this only to true if you are working with changing text. I'll advise the parser to recalculate the BufferedImage every iteration. Recommended false . |
Boolean | false |