File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/content/docs/paper/dev/api Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -613,6 +613,12 @@ These particles will use `offsetY` as the particle's y-axis velocity.
613613If you set ` offsetX ` AND ` offsetZ ` to ` 0 ` , the particle will have almost no x or z-axis velocity, but will still have
614614a y-axis velocity set by the ` offsetY ` argument. In both cases, ` offsetX ` and ` offsetZ ` are not used in the velocity vector.
615615
616+ :::caution
617+ ` EFFECT ` and ` INSTANT_EFFECT ` are [ powered particles] ( #powered-particles ) and use [ ` Particle.Spell ` ] ( jd:paper:org.bukkit.Particle$Spell )
618+ as their data. Due to the nature of rising particles' final calculated vertical velocity being very low (in range \[ -0.056, 0.056\] )
619+ and how powered particles calculate the vertical velocity the resulting vertical velocity will always be the opposite of power.
620+ :::
621+
616622Example of spawning a ` GLOW ` particle that moves up:
617623<Tabs syncKey = " spawn-type" >
618624 <TabItem label = " ParticleBuilder" >
You can’t perform that action at this time.
0 commit comments