Class ActiveEntityEffect

java.lang.Object
com.hypixel.hytale.server.core.entity.effect.ActiveEntityEffect
All Implemented Interfaces:
Damage.Source

public class ActiveEntityEffect extends Object implements Damage.Source
  • Field Details

    • CODEC

      @Nonnull public static final BuilderCodec<ActiveEntityEffect> CODEC
    • DEFAULT_DURATION

      private static final float DEFAULT_DURATION
      See Also:
    • MESSAGE_GENERAL_DAMAGE_CAUSES_UNKNOWN

      @Nonnull private static final Message MESSAGE_GENERAL_DAMAGE_CAUSES_UNKNOWN
    • entityEffectId

      protected String entityEffectId
    • entityEffectIndex

      protected int entityEffectIndex
    • initialDuration

      protected float initialDuration
    • remainingDuration

      protected float remainingDuration
    • infinite

      protected boolean infinite
    • debuff

      protected boolean debuff
    • statusEffectIcon

      @Nullable protected String statusEffectIcon
    • sinceLastDamage

      private float sinceLastDamage
    • hasBeenDamaged

      private boolean hasBeenDamaged
    • invulnerable

      protected boolean invulnerable
    • sequentialHits

      private DamageCalculatorSystems.Sequence sequentialHits
  • Constructor Details

    • ActiveEntityEffect

      public ActiveEntityEffect()
    • ActiveEntityEffect

      public ActiveEntityEffect(@Nonnull String entityEffectId, int entityEffectIndex, float initialDuration, float remainingDuration, boolean infinite, boolean debuff, @Nullable String statusEffectIcon, float sinceLastDamage, boolean hasBeenDamaged, @Nonnull DamageCalculatorSystems.Sequence sequentialHits, boolean invulnerable)
    • ActiveEntityEffect

      public ActiveEntityEffect(@Nonnull String entityEffectId, int entityEffectIndex, float duration, boolean debuff, @Nullable String statusEffectIcon, boolean invulnerable)
    • ActiveEntityEffect

      public ActiveEntityEffect(@Nonnull String entityEffectId, int entityEffectIndex, boolean infinite, boolean invulnerable)
  • Method Details