Class SPEED_SPEEDIEST


public class SPEED_SPEEDIEST extends PotionEffectSuper
Maximum movement speed potion effect that grants the affected player extreme movement speed.

SPEED_SPEEDIEST is the maximum potency variant of the SPEED effect family, applying Minecraft's SPEED potion effect with the highest available strength (strength 4). This effect produces the most extreme speed boost, allowing the player to move at dramatically increased velocities far beyond the base SPEED and intermediate SPEED_SPEEDIER effects. The maximum movement speed is optimal for rapid traversal and extreme combat mobility scenarios. The effect is detectable by both mind-reading spells (Legilimens) and information spells (Informous) which report the target "is moving extremely fast".

See Also:
  • Constructor Details

    • SPEED_SPEEDIEST

      public SPEED_SPEEDIEST(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid)
      Constructor for creating a maximum movement speed effect.

      Creates the maximum potency potion effect that grants the target player extreme movement speed using Minecraft's SPEED potion effect type with strength 4 (four times the potency of the standard SPEED effect). Sets detection text for both mind-reading spells (Legilimens) and information spells (Informous) to "is moving extremely fast".

      Parameters:
      plugin - a callback to the MC plugin
      duration - the duration in ticks, snapped to min of 2 minutes, max of 5 minutes
      isPermanent - ignored - potion effects cannot be permanent
      pid - the unique ID of the player to enhance with extreme speed
  • Method Details

    • doRemove

      public void doRemove()
      Perform cleanup when the maximum speed effect is removed.

      The default implementation does nothing, as SPEED_SPEEDIEST is a potion effect whose effects are automatically managed by the Minecraft potion system. When the effect expires or is manually removed, the player's movement speed returns to normal.

      Specified by:
      doRemove in class O2Effect