All Known Implementing Classes:
PotionZoneEffect

public interface IZoneEffect
An interface for a zone effect.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the effect to the given player.
    void
    applyEffect(org.bukkit.entity.Entity entity)
    Applies the effect to the given entity.
    void
    Removes the effect from the given player.
    void
    removeEffect(org.bukkit.entity.Entity entity)
    Removes the effect from the given entity.
  • Method Details

    • applyEffect

      void applyEffect(MmcPlayer player)
      Applies the effect to the given player.
      Parameters:
      player - MmcPlayer to apply the effect to
    • removeEffect

      void removeEffect(MmcPlayer player)
      Removes the effect from the given player.
      Parameters:
      player - MmcPlayer to remove the effect from
    • applyEffect

      void applyEffect(org.bukkit.entity.Entity entity)
      Applies the effect to the given entity.
      Parameters:
      entity - Entity to apply the effect to
    • removeEffect

      void removeEffect(org.bukkit.entity.Entity entity)
      Removes the effect from the given entity.
      Parameters:
      entity - Entity to remove the effect from