Added Item.(get|set)ItemStack().
This commit is contained in:
parent
fb30fd5fad
commit
a69e19a9f7
@ -1,8 +1,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
* Represents an Item.
|
||||
*
|
||||
@ -11,4 +10,17 @@ package org.bukkit.entity;
|
||||
*/
|
||||
public interface Item extends Entity {
|
||||
|
||||
/**
|
||||
* Gets the item stack associated with this item drop.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public ItemStack getItemStack();
|
||||
|
||||
/**
|
||||
* Sets the item stack associated with this item drop.
|
||||
*
|
||||
* @param stack
|
||||
*/
|
||||
public void setItemStack(ItemStack stack);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user