Skip to content
JasperLorelai edited this page Oct 23, 2023 · 11 revisions

Source Code

effect: entity

Description:

This effect only works on the projectile effect position. The effect spawns an entity and teleports along the projectile's path.

Configuration:

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

Example:

effects:
    eff1:
        position: projectile
        effect: entity
        silent: true
        entity:
            entity: pig

Clone this wiki locally