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
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
AbstractArrow |
Represents an arrow.
|
interface |
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 |
Deprecated.
lingering status depends on only on the potion item.
|
interface |
LlamaSpit |
Represents Llama spit.
|
interface |
ShulkerBullet |
|
interface |
SizedFireball |
Represents a sized fireball.
|
interface |
SmallFireball |
Represents a small
Fireball |
interface |
Snowball |
Represents a snowball.
|
interface |
SpectralArrow |
Represents a spectral arrow.
|
interface |
SplashPotion |
Deprecated.
splash status depends on only on the potion item.
|
interface |
ThrowableProjectile |
|
interface |
ThrownExpBottle |
Represents a thrown Experience bottle.
|
interface |
ThrownPotion |
Represents a thrown potion bottle
|
interface |
TippedArrow |
Deprecated.
tipped status depends only on base potion type not being
UNCRAFTABLE and effects being empty.
|
interface |
Trident |
Represents a thrown trident.
|
interface |
WitherSkull |
Represents a wither skull
Fireball . |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Projectile |
ProjectileHitEvent.getEntity() |
|
@NotNull Projectile |
ProjectileLaunchEvent.getEntity() |
Constructor | Description |
---|---|
ProjectileHitEvent(@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) |
Modifier and Type | Method | Description |
---|---|---|
<T extends Projectile> |
ProjectileSource.launchProjectile(@NotNull Class<? extends T> projectile) |
Launches a
Projectile from the ProjectileSource. |
<T extends Projectile> |
ProjectileSource.launchProjectile(@NotNull Class<? extends T> projectile,
@Nullable Vector velocity) |
Launches a
Projectile from the ProjectileSource with an
initial velocity. |
Copyright © 2020. All rights reserved.