mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-09-27 14:12:59 +02:00
21 lines
472 B
Java
21 lines
472 B
Java
|
package com.craftaro.ultimatestacker.api.stack.item;
|
||
|
|
||
|
import com.craftaro.ultimatestacker.api.utils.StackableEntity;
|
||
|
import org.bukkit.entity.Item;
|
||
|
|
||
|
public interface StackedItem extends StackableEntity {
|
||
|
|
||
|
/**
|
||
|
* Get the Item entity for this StackedItem
|
||
|
* @return The Item entity for this StackedItem
|
||
|
*/
|
||
|
Item getItem();
|
||
|
|
||
|
/**
|
||
|
* Removes the custom amount from the item
|
||
|
* while not destroying the actual item
|
||
|
*/
|
||
|
Item destroy();
|
||
|
|
||
|
}
|