Interface IEnergyLifespanData


  • public interface IEnergyLifespanData
    Lifespan properties for energy ability projectiles. Controls how far and how long a projectile can travel before expiring.
    • Method Detail

      • getMaxDistance

        float getMaxDistance()
        Returns:
        Maximum travel distance in blocks before the projectile expires.
      • setMaxDistance

        void setMaxDistance​(float maxDistance)
        Parameters:
        maxDistance - Maximum travel distance in blocks.
      • getMaxLifetime

        int getMaxLifetime()
        Returns:
        Maximum lifetime in ticks before the projectile expires.
      • setMaxLifetime

        void setMaxLifetime​(int maxLifetime)
        Parameters:
        maxLifetime - Maximum lifetime in ticks.