|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item
Represents an Item.
Method Summary | |
---|---|
ItemStack |
getItemStack()
Gets the item stack associated with this item drop. |
int |
getPickupDelay()
Gets the delay before this Item is available to be picked up by players |
void |
setItemStack(ItemStack stack)
Sets the item stack associated with this item drop. |
void |
setPickupDelay(int delay)
Sets the delay before this Item is available to be picked up by players |
Methods inherited from interface org.bukkit.entity.Entity |
---|
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Method Detail |
---|
ItemStack getItemStack()
void setItemStack(ItemStack stack)
stack
- An item stack.int getPickupDelay()
void setPickupDelay(int delay)
delay
- New delay
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |