Class ItemPotionLingeringBehavior

All Implemented Interfaces:
org.cloudburstmc.api.item.behavior.ItemBehavior

public class ItemPotionLingeringBehavior extends ItemProjectileBehavior
  • Constructor Details

    • ItemPotionLingeringBehavior

      public ItemPotionLingeringBehavior()
  • Method Details

    • canBeActivated

      public boolean canBeActivated()
      Specified by:
      canBeActivated in interface org.cloudburstmc.api.item.behavior.ItemBehavior
      Overrides:
      canBeActivated in class CloudItemBehavior
    • onProjectileCreation

      protected void onProjectileCreation(org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.entity.Projectile projectile)
      Overrides:
      onProjectileCreation in class ItemProjectileBehavior