mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-29 11:41:36 +01:00
Added setItemStack(ItemStack stack) to ItemDrop
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
77b6112b65
commit
811c06d099
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user