forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
Entity Effect
JasperLorelai edited this page Oct 23, 2023
·
11 revisions
effect: entityThis effect only works on the projectile effect position. The effect spawns an entity and teleports along the projectile's path.
| Option | Description | Variable Type | Default Value |
|---|---|---|---|
entity |
A configuration section holding Entity Data. | Section | null |
duration |
Since Beta 13. Determine after how long should the entity be removed. 0 means until the spell controlling the effect ends. | Integer | 0 |
silent |
Defines the entity's silent state. | Boolean | false |
gravity |
Defines the entity's gravity state. | Boolean | false |
ai |
Defines the entity's AI state. | Boolean | true |
effects:
eff1:
position: projectile
effect: entity
silent: true
entity:
entity: pig