summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Item.java
blob: 619b92b139ad1b5baf99dd730355e64a32ea30ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.bukkit.entity;

import org.bukkit.inventory.ItemStack;

/**
 * Represents an Item.
 *
 * @author Cogito
 *
 */
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);
}