|
Mechanic: Projectile
|
|
## Description
|
|
====================
|
|
|
|
|
|
|
|
The Projectile skill fires a meta-"projectile" that can be decorated
|
|
The Projectile skill fires a meta-"projectile" that can be decorated
|
|
using particle and sound effects.
|
|
using particle and sound effects.
|
|
It's great for creating complex, aesthetically pleasing skills, such as
|
|
It's great for creating complex, aesthetically pleasing skills, such as
|
... | @@ -8,20 +6,20 @@ shadow bolts, balls of ice, or even meteors. |
... | @@ -8,20 +6,20 @@ shadow bolts, balls of ice, or even meteors. |
|
It has a lot of options(more than any other skill) and can be a bit of a
|
|
It has a lot of options(more than any other skill) and can be a bit of a
|
|
nightmare to jump into without knowing what you're doing.
|
|
nightmare to jump into without knowing what you're doing.
|
|
It will disappear after reached targeted entity or location.
|
|
It will disappear after reached targeted entity or location.
|
|
Doesn't work on **Minecraft below 1.13**(excluding 1.13) which using **MythicMobs above 4.11**(excluding 4.11)
|
|
|
|
|
|
It is of importance to note that other mechanics (such as [Missile](/skills/mechanics/missile)) are an "extension" of this mechanic, and can as such use a great deal of this mechanic's attributes. The attributes that those mechanics can use are listen in [Inheritable Attributes](/skills/mechanics/projectile#inheritable-attributes)
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default Value |
|
|
### Inheritable Attributes
|
|
|----------------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
|
|
| Attribute | Aliases | Description | Default |
|
|
| onStart | oS | Meta-Skill executed when the projectile starts at the projectile's origin location. | None |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| onTick | oT | Meta-Skill executed every [interval] ticks at the projectile's origin location. | None |
|
|
| OnStartSkill | onStart, oS | Meta-Skill executed when the projectile starts at the projectile's origin location. | |
|
|
| onHit | oH | Meta-Skill executed when the projectile hits entities that allow be hit. Targets hit are inherited by the meta-skill. | None |
|
|
| onTickSkill | onTick, oT | Meta-Skill executed every [interval] ticks at the projectile's origin location | |
|
|
| onEnd | oE | Meta-Skill executed when the projectile ends. | None |
|
|
| onHitSkill | onHit, oH | Meta-Skill executed when the projectile hits entities that allow be hit. Targets hit are inherited by the meta-skill. | |
|
|
| onBounce | | Meta-Skill executed when the projectile bounces. **Premium Only** Mechanic. | None |
|
|
| onEndSkill | onEnd, oE | Meta-Skill executed when the projectile ends. | |
|
|
| onHitBlockSkill |onhitblock, ohb | Meta-Skill executed when the projectile hits a block. | None |
|
|
| onBounceSkill| onBounce |Meta-Skill executed when the projectile bounces. **Premium Only**.| |
|
|
| Type | | The "type" of projectile. Default projectiles are launched from the mob's location towards the target. METEOR type projectiles fall from the sky above the target. | NORMAL |
|
|
| onHitBlockSkill |onHitBlock, ohb | Meta-Skill executed when the projectile hits a block. | |
|
|
| Interval | i | How often (in ticks) the projectile updates its position | 4 |
|
|
| Interval | i | How often (in ticks) the projectile updates its position | 4 |
|
|
| HorizontalRadius | hRadius, hR | The horizontal radius entities will be hit in around the projectile. | 1.25 |
|
|
| HorizontalRadius | hRadius, hR | The horizontal radius entities will be hit in around the projectile. | 1.25 |
|
|
| VerticalRadius | vRadius, vR | The vertical radius entities will be hit in around the projectile. | Horizontal Radius |
|
|
| VerticalRadius | vRadius, vR | The vertical radius entities will be hit in around the projectile. | Horizontal Radius |
|
... | @@ -53,6 +51,10 @@ Attributes |
... | @@ -53,6 +51,10 @@ Attributes |
|
| hitConditions | | A list of conditions that a target must meet in order for the projectile to be able to hit it. **Premium Only** Mechanic | |
|
|
| hitConditions | | A list of conditions that a target must meet in order for the projectile to be able to hit it. **Premium Only** Mechanic | |
|
|
| bulletEnchanted | enchanted | Makes the projectile enchanted. Works for armorstand/item display/item bullets | false |
|
|
| bulletEnchanted | enchanted | Makes the projectile enchanted. Works for armorstand/item display/item bullets | false |
|
|
|
|
|
|
|
|
### Projectile-Specific Attributes
|
|
|
|
| Type | | The "type" of projectile. Default projectiles are launched from the mob's location towards the target. METEOR type projectiles fall from the sky above the target. | NORMAL |
|
|
|
|
|
|
|
|
|
|
Special Notes
|
|
Special Notes
|
|
-------------
|
|
-------------
|
|
|
|
|
... | | ... | |