Uses of Interface
org.bukkit.entity.Projectile
Packages that use Projectile
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes to represent the source of a projectile
-
Uses of Projectile in com.destroystokyo.paper.event.entity
Methods in com.destroystokyo.paper.event.entity that return ProjectileModifier and TypeMethodDescriptionProjectileCollideEvent.getEntity()
Deprecated.Get the projectile that collidedConstructors in com.destroystokyo.paper.event.entity with parameters of type ProjectileModifierConstructorDescriptionProjectileCollideEvent
(@NotNull Projectile what, @NotNull Entity collidedWith) Deprecated. -
Uses of Projectile in com.destroystokyo.paper.event.player
Methods in com.destroystokyo.paper.event.player that return ProjectileModifier and TypeMethodDescriptionPlayerLaunchProjectileEvent.getProjectile()
Gets the projectile which will be launched by this eventConstructors in com.destroystokyo.paper.event.player with parameters of type ProjectileModifierConstructorDescriptionPlayerLaunchProjectileEvent
(@NotNull Player shooter, @NotNull ItemStack itemStack, @NotNull Projectile projectile) -
Uses of Projectile in io.papermc.paper.event.block
Constructors in io.papermc.paper.event.block with parameters of type ProjectileModifierConstructorDescriptionTargetHitEvent
(@NotNull Projectile projectile, @NotNull Block block, @NotNull BlockFace blockFace, int signalStrength) -
Uses of Projectile in org.bukkit.entity
Subinterfaces of Projectile in org.bukkit.entityModifier and TypeInterfaceDescriptioninterface
Represents an arrow.interface
interface
interface
Represents a thrown egg.interface
Represents a thrown Ender Pearl entityinterface
Represents a Fireball.interface
interface
Represents a fishing hook.interface
Represents a largeFireball
interface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Represents Llama spit.interface
interface
Represents a sized fireball.interface
Represents a smallFireball
interface
Represents a snowball.interface
Represents a spectral arrow.interface
Deprecated, for removal: This API element is subject to removal in a future version.should not be used for anything, useThrownPotion
and set the potion via the methods there.interface
interface
Represents a thrown Experience bottle.interface
Represents a thrown potion bottleinterface
Deprecated.tipped status depends only on base potion type not being UNCRAFTABLE and effects being empty.interface
Represents a thrown trident.interface
Represents a wither skullFireball
. -
Uses of Projectile in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return ProjectileModifier and TypeMethodDescriptionProjectileHitEvent.getEntity()
ProjectileLaunchEvent.getEntity()
Constructors in org.bukkit.event.entity with parameters of type ProjectileModifierConstructorDescriptionProjectileHitEvent
(@NotNull Projectile projectile) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace) -
Uses of Projectile in org.bukkit.projectiles
Methods in org.bukkit.projectiles with type parameters of type ProjectileModifier and TypeMethodDescription<T extends Projectile>
TProjectileSource.launchProjectile
(@NotNull Class<? extends T> projectile) Launches aProjectile
from the ProjectileSource.<T extends Projectile>
TProjectileSource.launchProjectile
(@NotNull Class<? extends T> projectile, @Nullable Vector velocity) Launches aProjectile
from the ProjectileSource with an initial velocity.<T extends Projectile>
TProjectileSource.launchProjectile
(@NotNull Class<? extends T> projectile, @Nullable Vector velocity, Consumer<T> function) Launches aProjectile
from the ProjectileSource with an initial velocity, with the supplied function run before the entity is added to the world.
ThrownPotion
and set the potion via the methods there.