Module gomint.api

Class ProjectileHitEntityEvent

    • Constructor Detail

      • ProjectileHitEntityEvent

        public ProjectileHitEntityEvent​(Entity entity,
                                        EntityProjectile projectile)
        Create a new entity based cancellable event
        Parameters:
        entity - for which this event is
        projectile - which hit the entity
    • Method Detail

      • getProjectile

        public EntityProjectile getProjectile()
        Get the projectile which hit the entity
        Returns:
        projectile which hit the entity