AbstractHorse
, Ageable
, Ambient
, Animals
, ArmorStand
, Bat
, Blaze
, BlockProjectileSource
, CaveSpider
, ChestedHorse
, Chicken
, Cod
, ComplexLivingEntity
, Cow
, Creature
, Creeper
, Dolphin
, Donkey
, Drowned
, ElderGuardian
, EnderDragon
, Enderman
, Endermite
, Evoker
, Fish
, Flying
, Ghast
, Giant
, Golem
, Guardian
, Horse
, HumanEntity
, Husk
, Illager
, Illusioner
, IronGolem
, LivingEntity
, Llama
, MagmaCube
, Mob
, Monster
, Mule
, MushroomCow
, NPC
, Ocelot
, Parrot
, Phantom
, Pig
, PigZombie
, Player
, PolarBear
, PufferFish
, Rabbit
, Salmon
, Sheep
, Shulker
, Silverfish
, Skeleton
, SkeletonHorse
, Slime
, Snowman
, Spellcaster
, Spider
, Squid
, Stray
, TropicalFish
, Turtle
, Vex
, Villager
, Vindicator
, WaterMob
, Witch
, Wither
, WitherSkeleton
, Wolf
, Zombie
, ZombieHorse
, ZombieVillager
public interface ProjectileSource
Modifier and Type | Method | Description |
---|---|---|
<T extends Projectile> |
launchProjectile(java.lang.Class<? extends T> projectile) |
Launches a
Projectile from the ProjectileSource. |
<T extends Projectile> |
launchProjectile(java.lang.Class<? extends T> projectile,
Vector velocity) |
Launches a
Projectile from the ProjectileSource with an
initial velocity. |
<T extends Projectile> T launchProjectile(java.lang.Class<? extends T> projectile)
Projectile
from the ProjectileSource.T
- a projectile subclassprojectile
- class of the projectile to launch<T extends Projectile> T launchProjectile(java.lang.Class<? extends T> projectile, 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 © 2018. All rights reserved.