Changes
Page history
Revert "added ClearTarget mechanic"
authored
Oct 02, 2025
by
Lxlp
This reverts commit 1f8283a3389908f340de3fcb5bc030ebbd4ae456.
Show whitespace changes
Inline
Side-by-side
skills/mechanics/onjump.md
0 → 100644
View page @
38502e7a
## Description
Applies an [aura] to the target that triggers a skill when they jump.
> **This is a [Paper-Only] mechanic!**
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| onJump | oJ, onjumpskill | The Metaskill to execute if the target jumps |
<!--type:Metaskill-->
|
| cancelevent | cE | Whether to cancel the event when it is triggered | false |
> This mechanic inherits every attribute of the [aura] mechanic
## Examples
Apply an onJump aura to yourself. Whenever you jump it will put level 1 slow falling on you for 1 second.
```
yaml
ApplyAura
:
Skills
:
-
onJump{oj=SlowFalling;auraname=Jumpies;d=300;i=1} @self
SlowFalling
:
Skills
:
-
potion{t=SLOW_FALLING;d=20;l=0;hasParticles=false} @self
```
##
Apply an onJump aura to yourself. Whenever you jump teleport to the closest entity within 40 blocks and kill them.
```
yaml
ApplyAura
:
Skills
:
-
onJump{oj=Assassin;auraname=Stabbies;d=300;i=1} @self
Assassin
:
Skills
:
-
skill{s=Murder} @EIR{r=30;limit=1;sort=NEAREST;targetPlayers=false}
Murder
:
Skills
:
-
teleport
-
delay
1
-
damage{a=1000-2000;cause=thorns}
```
##
Apply an onJump aura to yourself. Whenever you jump, jump higher into the air, then stop mid air and shoot projectiles at every entities within 30 blocks of you repeatedly.
```
yaml
ApplyAura
:
Skills
:
-
onJump{oj=PewPew;auraname=Shooties;d=300;i=1} @self
PewPew
:
Skills
:
-
jump{v=2;delay=2} @self
-
delay
10
-
velocity{m=SET;x=0;y=0;z=0;repeat=39;repeatInterval=1} @self
-
skill{s=ShotEm;repeat=19;repeatInterval=2} @EIR{r=30;limit=10;sort=RANDOM;targetPlayers=false}
ShotEm
:
Skills
:
-
projectile{bulletType=ITEM;material=FIRE_CHARGE;bulletSpin=29;i=1;v=24;mr=100;d=100;hnp=true;oS=Fireball_oS;oT=Fireball_oT;oH=Fireball_oH}
Fireball_oS
:
Skills
:
-
sound{s=entity.skeleton.shoot;v=1;p=1} @origin
Fireball_oT
:
Skills
:
-
particles{particle=flame;a=4;hs=0.2;vs=0.2;y=0;s=0.1} @origin
Fireball_oH
:
Skills
:
-
damage{a=5-15;cause=magic}
```
<!-- LINKS -->
[
Paper-Only
]:
https://papermc.io/downloads/all
[
aura
]:
/skills/mechanics/aura
<!--TAGS-->
<!--tag:Meta-Mechanic:Aura-->
<!--tag:Paper-Only-->