Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.entity.Item Interface Reference
Inheritance diagram for org.bukkit.entity.Item:
org.bukkit.entity.Entity org.bukkit.metadata.Metadatable

Public Member Functions

ItemStack getItemStack ()
void setItemStack (ItemStack stack)
int getPickupDelay ()
void setPickupDelay (int delay)
- Public Member Functions inherited from org.bukkit.entity.Entity
Location getLocation ()
Location getLocation (Location loc)
void setVelocity (Vector velocity)
Vector getVelocity ()
boolean isOnGround ()
World getWorld ()
boolean teleport (Location location)
boolean teleport (Location location, TeleportCause cause)
boolean teleport (Entity destination)
boolean teleport (Entity destination, TeleportCause cause)
List< org.bukkit.entity.EntitygetNearbyEntities (double x, double y, double z)
int getEntityId ()
int getFireTicks ()
int getMaxFireTicks ()
void setFireTicks (int ticks)
void remove ()
boolean isDead ()
boolean isValid ()
Server getServer ()
abstract Entity getPassenger ()
abstract boolean setPassenger (Entity passenger)
abstract boolean isEmpty ()
abstract boolean eject ()
float getFallDistance ()
void setFallDistance (float distance)
void setLastDamageCause (EntityDamageEvent event)
EntityDamageEvent getLastDamageCause ()
UUID getUniqueId ()
int getTicksLived ()
void setTicksLived (int value)
void playEffect (EntityEffect type)
EntityType getType ()
boolean isInsideVehicle ()
boolean leaveVehicle ()
Entity getVehicle ()

Detailed Description

Represents an Item.

Definition at line 8 of file Item.java.

Member Function Documentation

ItemStack org.bukkit.entity.Item.getItemStack ( )

Gets the item stack associated with this item drop.

An item stack.
int org.bukkit.entity.Item.getPickupDelay ( )

Gets the delay before this Item is available to be picked up by players

Remaining delay
void org.bukkit.entity.Item.setItemStack ( ItemStack  stack)

Sets the item stack associated with this item drop.

stackAn item stack.
void org.bukkit.entity.Item.setPickupDelay ( int  delay)

Sets the delay before this Item is available to be picked up by players

delayNew delay

The documentation for this interface was generated from the following file: