Uses of Interface
org.bukkit.entity.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
Modifier and TypeMethodDescriptionProjectileCollideEvent.getEntity()
Deprecated.Get the projectile that collidedModifierConstructorDescriptionProjectileCollideEvent
(@NotNull Projectile projectile, @NotNull Entity collidedWith) Deprecated. -
Uses of Projectile in com.destroystokyo.paper.event.player
Modifier and TypeMethodDescriptionPlayerLaunchProjectileEvent.getProjectile()
Gets the projectile which will be launched by this eventModifierConstructorDescriptionPlayerLaunchProjectileEvent
(@NotNull Player shooter, @NotNull ItemStack itemStack, @NotNull Projectile projectile) -
Uses of Projectile in io.papermc.paper.event.block
ModifierConstructorDescriptionTargetHitEvent
(@NotNull Projectile projectile, @NotNull Block block, @NotNull BlockFace blockFace, int signalStrength) -
Uses of Projectile in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents an arrow.interface
Represents a Wind Charge.interface
interface
Represents a Wind Charge.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 Wind Charge.interface
Represents a wither skullFireball
. -
Uses of Projectile in org.bukkit.event.entity
Modifier and TypeMethodDescriptionProjectileHitEvent.getEntity()
ProjectileLaunchEvent.getEntity()
ModifierConstructorDescriptionProjectileHitEvent
(@NotNull Projectile projectile) Deprecated.ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Block hitBlock) Deprecated.ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity) Deprecated.ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock) Deprecated.ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace) -
Uses of Projectile in org.bukkit.projectiles
Modifier 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, @Nullable Consumer<? super 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.