Contents
Class Damage.EntityEffectSource
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.damage.Damage.EntitySource
com.hypixel.hytale.server.core.modules.entity.damage.Damage.EntityEffectSource
- All Implemented Interfaces:
Damage.Source
- Enclosing class:
Damage
-
Constructor Summary
ConstructorsConstructorDescriptionEntityEffectSource(Ref<EntityStore> attacker, ActiveEntityEffect effect) Default Constructor of aDamage.EntityEffectSourceinstance -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class Damage.EntitySource
getDeathMessage, getRef
-
Constructor Details
-
EntityEffectSource
Default Constructor of aDamage.EntityEffectSourceinstance- Parameters:
attacker- The entity reference of the attacking entityeffect- TheActiveEntityEffectapplied
-
-
Method Details
-
getEffect
- Returns:
- the
ActiveEntityEffectfrom which the damage is coming
-
getSourceType
- Specified by:
getSourceTypein interfaceDamage.Source- Overrides:
getSourceTypein classDamage.EntitySource- Returns:
- the
DamageSourceTypeof this source.
-