Class CARPE_RETRACTUM


public final class CARPE_RETRACTUM extends Knockback
Seize and Pull Charm that pulls non-living entities toward the caster.

When the projectile hits a non-living entity, the spell pulls it toward the caster with velocity based on the caster's skill level. This spell is guaranteed to work (minimum distance of 1) and has lower overall distance and strength compared to similar spells.

See Also:
  • Field Details

    • minDistanceConfig

      public static int minDistanceConfig
      The min distance
    • maxDistanceConfig

      public static int maxDistanceConfig
      The max distance
    • strengthReducerConfig

      public static int strengthReducerConfig
      The divisor for usesModifier to determine spell strength
    • maxRadiusConfig

      public static double maxRadiusConfig
      The max radius
    • maxTargetConfig

      public static int maxTargetConfig
      The max number of targets
  • Constructor Details

    • CARPE_RETRACTUM

      public CARPE_RETRACTUM(Ollivanders2 plugin)
      Default constructor for use in generating spell text. Do not use to cast the spell.
      Parameters:
      plugin - the Ollivanders2 plugin
    • CARPE_RETRACTUM

      public CARPE_RETRACTUM(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull Double rightWand)
      Constructor.
      Parameters:
      plugin - a callback to the MC plugin
      player - the player who cast this spell
      rightWand - which wand the player was using