Uses of Interface
org.bukkit.entity.Projectile
| Package | Description |
|---|---|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.entity | |
| org.bukkit.projectiles |
Classes to represent the source of a projectile
|
-
Uses of Projectile in org.bukkit.entity
Subinterfaces of Projectile in org.bukkit.entity Modifier and Type Interface Description interfaceArrowRepresents an arrow.interfaceEggRepresents a thrown egg.interfaceEnderPearlRepresents a thrown Ender Pearl entityinterfaceFireballRepresents a Fireball.interfaceFishDeprecated.in favor ofFishHookinterfaceFishHookRepresents a fishing hook.interfaceLargeFireballRepresents a largeFireballinterfaceSmallFireballRepresents a smallFireballinterfaceSnowballRepresents a snowball.interfaceThrownExpBottleRepresents a thrown Experience bottle.interfaceThrownPotionRepresents a thrown potion bottleinterfaceWitherSkullRepresents a wither skullFireball. -
Uses of Projectile in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return Projectile Modifier and Type Method Description ProjectileProjectileHitEvent. getEntity()ProjectileProjectileLaunchEvent. getEntity()Constructors in org.bukkit.event.entity with parameters of type Projectile Constructor Description EntityShootBowEvent(LivingEntity shooter, ItemStack bow, Projectile projectile, float force)ProjectileHitEvent(Projectile projectile) -
Uses of Projectile in org.bukkit.projectiles
Methods in org.bukkit.projectiles with type parameters of type Projectile Modifier and Type Method Description <T extends Projectile>
TProjectileSource. launchProjectile(java.lang.Class<? extends T> projectile)Launches aProjectilefrom the ProjectileSource.<T extends Projectile>
TProjectileSource. launchProjectile(java.lang.Class<? extends T> projectile, Vector velocity)Launches aProjectilefrom the ProjectileSource with an initial velocity.