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 | 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 | 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 | Description |
---|---|---|
@NotNull AbstractArrow |
PlayerPickupArrowEvent.getArrow() |
Get the arrow being picked up by the player
|
Constructor | Description |
---|---|
PlayerPickupArrowEvent(@NotNull Player player,
@NotNull Item item,
@NotNull AbstractArrow arrow) |
Copyright © 2020. All rights reserved.