mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Added setItemStack(ItemStack stack) to ItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
77b6112b65
commit
811c06d099
1 changed files with 11 additions and 3 deletions
|
@ -9,9 +9,17 @@ import org.bukkit.inventory.ItemStack;
|
|||
*/
|
||||
public interface ItemDrop extends Entity {
|
||||
/**
|
||||
* Gets the item stack.
|
||||
*
|
||||
* @return
|
||||
* Gets the item stack contained in this ItemDrop
|
||||
*
|
||||
* @return ItemStack of the contents of this drop
|
||||
*/
|
||||
public ItemStack getItemStack();
|
||||
|
||||
|
||||
/**
|
||||
* sets the item stack contained in this ItemDrop
|
||||
*
|
||||
* @param items New contents of this drop
|
||||
*/
|
||||
public void setItemStack(ItemStack items);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue