Package | Description |
---|---|
com.destroystokyo.paper.event.entity | |
com.destroystokyo.paper.event.player | |
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
|
Modifier and Type | Method | Description |
---|---|---|
Projectile |
ProjectileCollideEvent.getEntity() |
Get the projectile that collided
|
Constructor | Description |
---|---|
ProjectileCollideEvent(Projectile what,
Entity collidedWith) |
Modifier and Type | Method | Description |
---|---|---|
Projectile |
PlayerLaunchProjectileEvent.getProjectile() |
Gets the projectile which will be launched by this event
|
Constructor | Description |
---|---|
PlayerLaunchProjectileEvent(Player shooter,
ItemStack itemStack,
Projectile projectile) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Arrow |
Represents an arrow.
|
interface |
DragonFireball |
|
interface |
Egg |
Represents a thrown egg.
|
interface |
EnderPearl |
Represents a thrown Ender Pearl entity
|
interface |
Fireball |
Represents a Fireball.
|
interface |
FishHook |
Represents a fishing hook.
|
interface |
LargeFireball |
Represents a large
Fireball |
interface |
LingeringPotion |
Represents a thrown lingering potion bottle
|
interface |
LlamaSpit |
Represents Llama spit.
|
interface |
ShulkerBullet |
|
interface |
SmallFireball |
Represents a small
Fireball |
interface |
Snowball |
Represents a snowball.
|
interface |
SpectralArrow |
Represents a spectral arrow.
|
interface |
SplashPotion |
Represents a thrown splash potion bottle
|
interface |
ThrownExpBottle |
Represents a thrown Experience bottle.
|
interface |
ThrownPotion |
Represents a thrown potion bottle
|
interface |
TippedArrow |
|
interface |
Trident |
Represents a thrown trident.
|
interface |
WitherSkull |
Represents a wither skull
Fireball . |
Modifier and Type | Method | Description |
---|---|---|
Projectile |
ProjectileHitEvent.getEntity() |
|
Projectile |
ProjectileLaunchEvent.getEntity() |
Constructor | Description |
---|---|
EntityShootBowEvent(LivingEntity shooter,
ItemStack bow,
Projectile projectile,
float force) |
Deprecated.
|
EntityShootBowEvent(LivingEntity shooter,
ItemStack bow,
ItemStack arrowItem,
Projectile projectile,
float force) |
|
ProjectileHitEvent(Projectile projectile) |
|
ProjectileHitEvent(Projectile projectile,
Block hitBlock) |
|
ProjectileHitEvent(Projectile projectile,
Entity hitEntity) |
|
ProjectileHitEvent(Projectile projectile,
Entity hitEntity,
Block hitBlock) |
|
ProjectileHitEvent(Projectile projectile,
Entity hitEntity,
Block hitBlock,
BlockFace hitFace) |
Modifier and Type | Method | Description |
---|---|---|
<T extends Projectile> |
ProjectileSource.launchProjectile(Class<? extends T> projectile) |
Launches a
Projectile from the ProjectileSource. |
<T extends Projectile> |
ProjectileSource.launchProjectile(Class<? extends T> projectile,
Vector velocity) |
Launches a
Projectile from the ProjectileSource with an
initial velocity. |
Copyright © 2020. All rights reserved.