Class SPEED_SPEEDIER


public class SPEED_SPEEDIER extends PotionEffectSuper
Enhanced movement speed potion effect that significantly increases the affected player's movement speed.

SPEED_SPEEDIER is an enhanced variant of the SPEED effect that applies Minecraft's SPEED potion effect with increased potency (strength 2 instead of 1). This effect produces a much more pronounced speed boost, allowing the player to move at significantly faster velocities than the base SPEED effect. The enhanced movement speed improves traversal capabilities and combat mobility. The effect is detectable by both mind-reading spells (Legilimens) and information spells (Informous) which report the target "is moving very fast".

See Also:
  • Constructor Details

    • SPEED_SPEEDIER

      public SPEED_SPEEDIER(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid)
      Constructor for creating an enhanced movement speed effect.

      Creates an enhanced potion effect that significantly increases the target player's movement speed using Minecraft's SPEED potion effect type with strength 2 (double the potency of the standard SPEED effect). Sets detection text for both mind-reading spells (Legilimens) and information spells (Informous) to "is moving very 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 increased speed
  • Method Details

    • doRemove

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

      The default implementation does nothing, as SPEED_SPEEDIER 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