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 and Description |
---|---|
interface |
Arrow
Represents an arrow.
|
interface |
Egg
Represents a thrown egg.
|
interface |
EnderPearl
Represents a thrown Ender Pearl entity
|
interface |
Fireball
Represents a Fireball.
|
interface |
Fish
Deprecated.
in favor of
FishHook |
interface |
FishHook
Represents a fishing hook.
|
interface |
LargeFireball
Represents a large
Fireball |
interface |
SmallFireball
Represents a small
Fireball |
interface |
Snowball
Represents a snowball.
|
interface |
ThrownExpBottle
Represents a thrown Experience bottle.
|
interface |
ThrownPotion
Represents a thrown potion bottle
|
interface |
WitherSkull
Represents a wither skull
Fireball . |
Modifier and Type | Method and Description |
---|---|
Projectile |
ProjectileLaunchEvent.getEntity() |
Projectile |
ProjectileHitEvent.getEntity() |
Constructor and Description |
---|
EntityShootBowEvent(LivingEntity shooter,
ItemStack bow,
Projectile projectile,
float force) |
ProjectileHitEvent(Projectile projectile) |
Modifier and Type | Method and 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 © 2022. All rights reserved.