Class PotionListener

java.lang.Object
ua.mcchickenstudio.opencreative.listeners.player.PotionListener
All Implemented Interfaces:
org.bukkit.event.Listener

public final class PotionListener extends Object implements org.bukkit.event.Listener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isCorrupted(List<org.bukkit.potion.PotionEffect> effects)
     
    static boolean
    isCorrupted(org.bukkit.inventory.meta.PotionMeta potionMeta)
     
    void
    onEvent(org.bukkit.event.entity.AreaEffectCloudApplyEvent event)
     
    void
    onEvent(org.bukkit.event.entity.EntityPotionEffectEvent event)
     
    void
    onEvent(org.bukkit.event.entity.LingeringPotionSplashEvent event)
     
    void
    onEvent(org.bukkit.event.entity.PotionSplashEvent event)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PotionListener

      public PotionListener()
  • Method Details

    • isCorrupted

      public static boolean isCorrupted(List<org.bukkit.potion.PotionEffect> effects)
    • isCorrupted

      public static boolean isCorrupted(org.bukkit.inventory.meta.PotionMeta potionMeta)
    • onEvent

      public void onEvent(org.bukkit.event.entity.AreaEffectCloudApplyEvent event)
    • onEvent

      public void onEvent(org.bukkit.event.entity.PotionSplashEvent event)
    • onEvent

      public void onEvent(org.bukkit.event.entity.LingeringPotionSplashEvent event)
    • onEvent

      public void onEvent(org.bukkit.event.entity.EntityPotionEffectEvent event)