Skip to content

Releases: Sashie/skDragonRecode

Speed Update

18 Nov 18:48
Compare
Choose a tag to compare

I've been asked several times in the past if there was a way to make effects run faster and today I'm happy to say the answer is finally yes

This version uses a different approach to schedule tasks which is not recommended by Minecraft however after some testing it appears that this utilization works just fine for spawning particles therefore I decided to release it to the public.

The most notable change will be the start effect. Originally using a BukkitRunnable the interval between effect updates was stuck at a minimum of 1000 milliseconds but we can now do less than that. Although it is not recommended to run them too fast you can now play around with the interval bellow 1000 milliseconds which allows the effects to run much faster than before.

1 tick equals 20 milliseconds so you will have to calculate any changes to the timing of your effects.

This effect....
start particle effect "uniqueID" at player repeating with an interval of 1 tick
would now look something like this...
start particle effect "uniqueID" at player repeating with an interval of 1020 milliseconds
or
start particle effect "uniqueID" at player repeating with an interval of 51 ticks

Other updates...

  • Also added dragon breath and tornado effects
  • Updated the spiral effect to act more like legacy skDragon spiral, extra property 1 controls the amount that is added to the initial y axis. Smaller values make it look more like a spiral but dont make the value so low that the spiral appears to not move upwards. Having too high a value will make the spiral appear as lines forming a cylinder shape
  • Simple effects (and some special effects) utilize new expressions for radius and orbit that allow to set a start and end radius or have the effect "orbit" around the initial location
  • Simple effects (and some special effects) also have new step type properties allowing an effect to either be solid, fill up to solid before being reset and run like normal as well as being able to run in reverse or with an oscillation back and forth