forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 67
EffectLib Bleed
JasperLorelai edited this page May 19, 2024
·
3 revisions
class: Bleed
This effect makes the target look like they are bleeding, and can optionally apply the hurt effect.
Option | Default |
---|---|
type |
"repeating" |
period |
4 |
iterations |
25 |
Option | Description | Type | Default |
---|---|---|---|
hurt |
Whether or not the "hurt" effect should also be played. | Boolean | true |
height |
Height/Offset of the effect on the y-axis. | Double | 1.75 |
material |
The type of material to use for the effect. | Material | "redstone_block" |
BleedExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: BleedEffect
material: REDSTONE_BLOCK
hurt: true
height: 1.75
type: REPEATING
period: 4
iterations: 25