Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
<T extends AbstractArrow> |
World.spawnArrow(@NotNull Location location,
@NotNull Vector direction,
float speed,
float spread,
@NotNull Class<T> clazz)
Creates an arrow entity of the given class at the given
Location |
Modifier and Type | Interface and Description |
---|---|
interface |
Arrow |
interface |
SpectralArrow
Represents a spectral arrow.
|
interface |
TippedArrow
Deprecated.
tipped status depends only on base potion type not being
UNCRAFTABLE and effects being empty.
|
interface |
Trident
Represents a thrown trident.
|
Modifier and Type | Method and Description |
---|---|
@NotNull AbstractArrow |
PlayerPickupArrowEvent.getArrow()
Get the arrow being picked up by the player
|
Constructor and Description |
---|
PlayerPickupArrowEvent(@NotNull Player player,
@NotNull Item item,
@NotNull AbstractArrow arrow) |
Copyright © 2021. All rights reserved.