Class curseundead

java.lang.Object
valorless.rarespawns.ability.builtin.curseundead
All Implemented Interfaces:
Ability

public class curseundead extends Object implements Ability
Ability: Curse of Undead Applies a slowness effect to nearby players and sets them on fire if exposed to sunlight during the day.

This ability is used to curse players near the rare entity, making them slower and vulnerable to burning.

  • Constructor Details

    • curseundead

      public curseundead()
  • Method Details

    • execute

      public void execute(EntityData data, org.bukkit.entity.Mob rare)
      Executes the Curse of Undead ability, applying effects and burning players in sunlight.
      Specified by:
      execute in interface Ability
      Parameters:
      data - The EntityData for the rare entity.
      rare - The Mob instance representing the rare entity.