HyCodeYourTale
classpublicPriority 3

ActiveEntityEffect

com.hypixel.hytale.server.core.entity.effect.ActiveEntityEffect

implements Damage.Source

8

Methods

8

Public Methods

11

Fields

4

Constructors

Constants

BuilderCodec<ActiveEntityEffect>CODEC= BuilderCodec.builder(ActiveEntityEffect.class, ActiveEntityEffect::new) .append( n...
floatDEFAULT_DURATION= 1.0F
MessageMESSAGE_GENERAL_DAMAGE_CAUSES_UNKNOWN= Message.translation("server.general.damageCauses.unknown")

Constructors

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

Methods

Public Methods (8)

public
Message getDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor)
@Nonnull@Override
public
int getEntityEffectIndex()
public
float getInitialDuration()
public
float getRemainingDuration()
public
boolean isDebuff()
public
boolean isInfinite()
public
boolean isInvulnerable()
public
String toString()
@Nonnull@Override

Fields

Protected Fields (8)

protectedboolean debuff
protectedString entityEffectId
protectedint entityEffectIndex
protectedboolean infinite
protectedfloat initialDuration
protectedboolean invulnerable
protectedfloat remainingDuration
protectedString statusEffectIcon

Private/Package Fields (3)

privateboolean hasBeenDamaged
privateDamageCalculatorSystems.Sequence sequentialHits
privatefloat sinceLastDamage

Related Classes