Class PotionHandler

java.lang.Object
com.vk2gpz.tokenenchant.api.EnchantHandler
com.vk2gpz.tokenenchant.api.PotionHandler
All Implemented Interfaces:
com.vk2gpz.mc.api.enchantment.ICEHandler, com.vk2gpz.mc.event.EventMapper, CEHandler, org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.event.Listener

@Deprecated public abstract class PotionHandler extends EnchantHandler
Deprecated.
PotionHandler is used to implement a custom enchant which will NOT be registered with Minecraft's Enchantment system althorugh it extends EnchantHandler.

Hence, it rely on its identity displayed on ItemStack's lore.

  • Constructor Details

  • Method Details

    • setConfig

      protected void setConfig()
      Deprecated.
      Overrides:
      setConfig in class EnchantHandler
    • isInstant

      public boolean isInstant()
      Deprecated.
      Description copied from interface: CEHandler
      Returns true always.
      Returns:
      true