| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| org.bukkit.event.entity | |
| org.bukkit.event.inventory | |
| org.bukkit.event.player | 
| Modifier and Type | Method and Description | 
|---|---|
| Item | World. dropItem(Location location,
        ItemStack item)Drops an item at the specified  Location | 
| Item | World. dropItemNaturally(Location location,
                 ItemStack item)Drops an item at the specified  Locationwith a random offset | 
| Modifier and Type | Method and Description | 
|---|---|
| Item | ItemSpawnEvent. getEntity() | 
| Item | ItemDespawnEvent. getEntity() | 
| Constructor and Description | 
|---|
| ItemDespawnEvent(Item despawnee,
                Location loc) | 
| ItemSpawnEvent(Item spawnee) | 
| ItemSpawnEvent(Item spawnee,
              Location loc)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| Item | InventoryPickupItemEvent. getItem()Gets the Item entity that was picked up | 
| Constructor and Description | 
|---|
| InventoryPickupItemEvent(Inventory inventory,
                        Item item) | 
| Modifier and Type | Method and Description | 
|---|---|
| Item | PlayerPickupItemEvent. getItem()Gets the Item picked up by the player. | 
| Item | PlayerDropItemEvent. getItemDrop()Gets the ItemDrop created by the player | 
| Constructor and Description | 
|---|
| PlayerDropItemEvent(Player player,
                   Item drop) | 
| PlayerPickupItemEvent(Player player,
                     Item item,
                     int remaining) | 
Copyright © 2015. All rights reserved.