AbstractHorse, AbstractVillager, Ageable, Ambient, Animals, ArmorStand, Bat, Bee, Blaze, BlockProjectileSource, Cat, CaveSpider, ChestedHorse, Chicken, Cod, ComplexLivingEntity, Cow, Creature, Creeper, Dolphin, Donkey, Drowned, ElderGuardian, EnderDragon, Enderman, Endermite, Evoker, Fish, Flying, Fox, Ghast, Giant, Golem, Guardian, Hoglin, Horse, HumanEntity, Husk, Illager, Illusioner, IronGolem, LivingEntity, Llama, MagmaCube, Mob, Monster, Mule, MushroomCow, NPC, Ocelot, Panda, Parrot, Phantom, Pig, Piglin, PigZombie, Pillager, Player, PolarBear, PufferFish, Rabbit, Raider, RangedEntity, Ravager, Salmon, Sheep, Shulker, Silverfish, Skeleton, SkeletonHorse, Slime, Snowman, Spellcaster, Spider, Squid, Steerable, Stray, Strider, Tameable, TraderLlama, TropicalFish, Turtle, Vex, Villager, Vindicator, WanderingTrader, WaterMob, Witch, Wither, WitherSkeleton, Wolf, Zoglin, Zombie, ZombieHorse, ZombieVillagerpublic interface ProjectileSource
| Modifier and Type | Method | Description | 
|---|---|---|
| <T extends Projectile> | launchProjectile(Class<? extends T> projectile) | Launches a  Projectilefrom the ProjectileSource. | 
| <T extends Projectile> | launchProjectile(Class<? extends T> projectile,
                Vector velocity) | Launches a  Projectilefrom the ProjectileSource with an
 initial velocity. | 
@NotNull <T extends Projectile> T launchProjectile(@NotNull Class<? extends T> projectile)
Projectile from the ProjectileSource.T - a projectile subclassprojectile - class of the projectile to launch@NotNull <T extends Projectile> T launchProjectile(@NotNull Class<? extends T> projectile, @Nullable Vector velocity)
Projectile from the ProjectileSource with an
 initial velocity.T - a projectile subclassprojectile - class of the projectile to launchvelocity - the velocity with which to launchCopyright © 2020. All rights reserved.