Contents
Class Damage.ProjectileSource
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.damage.Damage.EntitySource
com.hypixel.hytale.server.core.modules.entity.damage.Damage.ProjectileSource
- All Implemented Interfaces:
Damage.Source
- Enclosing class:
Damage
An entity damage source that also includes the affiliated projectile entity.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectileSource(Ref<EntityStore> shooter, Ref<EntityStore> projectile) Default Constructor of aDamage.ProjectileSourceinstance -
Method Summary
Methods inherited from class Damage.EntitySource
getDeathMessage, getRef, getSourceType
-
Constructor Details
-
ProjectileSource
Default Constructor of aDamage.ProjectileSourceinstance- Parameters:
shooter- The entity reference of the shooting entityprojectile- The entity reference of the affiliated projectile
-
-
Method Details
-
getProjectile
- Returns:
- the entity reference of the affiliated projectile
-