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 interface
Arrow
Represents an arrow.interface
Egg
Represents a thrown egg.interface
EnderPearl
Represents a thrown Ender Pearl entityinterface
Fireball
Represents a Fireball.interface
Fish
Deprecated.in favor ofFishHook
interface
FishHook
Represents a fishing hook.interface
LargeFireball
Represents a largeFireball
interface
SmallFireball
Represents a smallFireball
interface
Snowball
Represents a snowball.interface
ThrownExpBottle
Represents a thrown Experience bottle.interface
ThrownPotion
Represents a thrown potion bottleinterface
WitherSkull
Represents 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 Projectile
ProjectileHitEvent. getEntity()
Projectile
ProjectileLaunchEvent. 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 aProjectile
from the ProjectileSource.<T extends Projectile>
TProjectileSource. launchProjectile(java.lang.Class<? extends T> projectile, Vector velocity)
Launches aProjectile
from the ProjectileSource with an initial velocity.