Rename launchToTarget to launchProjectileTo.
To be consistent with other launch method names.
package org.spongepowered.api.projectile.source;
import org.spongepowered.api.entity.Entity;
-import org.spongepowered.api.entity.living.golem.Shulker;
-import org.spongepowered.api.entity.projectile.EntityTargetingProjectile;
import org.spongepowered.api.entity.projectile.Projectile;
import org.spongepowered.math.vector.Vector3d;
*
* @return the projectile if successfully launched, {@link Optional#empty()} otherwise
*/
- <T extends Projectile> Optional<T> launchToTarget(Class<T> projectileClass, Entity target);
+ <T extends Projectile> Optional<T> launchProjectileTo(Class<T> projectileClass, Entity target);
}
