Skip to content

Commit e42e584

Browse files
author
Jan Kluka
committed
1.5
Implemented PlayerPickaxeLevelUpEvent
1 parent c25813f commit e42e584

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

src/main/java/dev/drawethree/xprison/api/autosell/model/AutoSellItemStack.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@
88
public interface AutoSellItemStack {
99

1010
/**
11-
* Gets the {@link ItemStack} that will be sold in the sell region.
11+
* Gets the {@link ItemStack} representing the item type being sold.
12+
* The amount of this ItemStack should not be relied on.
1213
*
13-
* @return the ItemStack to be sold
14+
* @return the item stack type
1415
*/
1516
ItemStack getItemStack();
16-
}
17+
18+
/**
19+
* Gets the amount of items being sold.
20+
*
21+
* @return amount of items
22+
*/
23+
int getAmount();
24+
}

0 commit comments

Comments
 (0)