public final class UnknownProjectileSource extends Object implements ProjectileSource
ProjectileSource that is not part of the API, such as a
 plugin or mod spawning a Projectile.UNKNOWN| Modifier and Type | Method and Description | 
|---|---|
| <T extends Projectile> | launchProjectile(Class<T> projectileClass)Launches a  Projectilefrom this projectile source. | 
| <T extends Projectile> | launchProjectile(Class<T> projectileClass,
                com.flowpowered.math.vector.Vector3d velocity)Launches a  Projectilefrom this projectile source. | 
public <T extends Projectile> Optional<T> launchProjectile(Class<T> projectileClass)
ProjectileSourceProjectile from this projectile source.launchProjectile in interface ProjectileSourceT - The Type of ProjectileprojectileClass - The class of the projectilepublic <T extends Projectile> Optional<T> launchProjectile(Class<T> projectileClass, com.flowpowered.math.vector.Vector3d velocity)
ProjectileSourceProjectile from this projectile source.launchProjectile in interface ProjectileSourceT - The Type of ProjectileprojectileClass - The class of the projectilevelocity - The velocity to launch the projectile