mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
@@ -1,8 +1,7 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents an Item.
|
* Represents an Item.
|
||||||
*
|
*
|
||||||
@@ -11,4 +10,17 @@ package org.bukkit.entity;
|
|||||||
*/
|
*/
|
||||||
public interface Item extends 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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user