mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Added setItemStack(ItemStack stack) to ItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -9,9 +9,17 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
*/
|
*/
|
||||||
public interface ItemDrop extends Entity {
|
public interface ItemDrop extends Entity {
|
||||||
/**
|
/**
|
||||||
* Gets the item stack.
|
* Gets the item stack contained in this ItemDrop
|
||||||
*
|
*
|
||||||
* @return
|
* @return ItemStack of the contents of this drop
|
||||||
*/
|
*/
|
||||||
public ItemStack getItemStack();
|
public ItemStack getItemStack();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* sets the item stack contained in this ItemDrop
|
||||||
|
*
|
||||||
|
* @param items New contents of this drop
|
||||||
|
*/
|
||||||
|
public void setItemStack(ItemStack items);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user