forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 70
Entity Effect
JasperLorelai edited this page Apr 10, 2025
·
11 revisions
effect: entity
This effect only works on the projectile
effect position. The effect spawns an entity and teleports along the projectile's path.
- You must specify an
entity
configuration section holding Entity Data, which can include the options below. - Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
duration |
Since 4.0 Beta 13. Determine how long after the entity should be removed in server ticks. 0 means until the spell controlling the effect ends. | Integer | 0 |
gravity |
Defines the entity's gravity state. | Boolean | false |
effects:
eff1:
position: projectile
effect: entity
entity:
entity: pig
silent: true