Interface IZoneEffect
- All Known Implementing Classes:
PotionZoneEffect
public interface IZoneEffect
An interface for a zone effect.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(MmcPlayer player) Applies the effect to the given player.voidapplyEffect(org.bukkit.entity.Entity entity) Applies the effect to the given entity.voidremoveEffect(MmcPlayer player) Removes the effect from the given player.voidremoveEffect(org.bukkit.entity.Entity entity) Removes the effect from the given entity.
-
Method Details
-
applyEffect
Applies the effect to the given player.- Parameters:
player-MmcPlayerto apply the effect to
-
removeEffect
Removes the effect from the given player.- Parameters:
player-MmcPlayerto remove the effect from
-
applyEffect
void applyEffect(org.bukkit.entity.Entity entity) Applies the effect to the given entity.- Parameters:
entity-Entityto apply the effect to
-
removeEffect
void removeEffect(org.bukkit.entity.Entity entity) Removes the effect from the given entity.- Parameters:
entity-Entityto remove the effect from
-