Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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(Location location,
Vector direction,
float speed,
float spread,
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 |
---|---|
AbstractArrow |
PlayerPickupArrowEvent.getArrow()
Get the arrow being picked up by the player
|
Constructor and Description |
---|
PlayerPickupArrowEvent(Player player,
Item item,
AbstractArrow arrow) |
Copyright © 2022. All rights reserved.