final int level
The level required to use the runecrafting pouch.
final int decay
The amount of uses before the runecrafting pouch will decay.
RunecraftPouchData(int item, int level, int capacity, int decay)
Constructs a new RunecraftPouchData.
abstract int deposit(Player player, int amount)
What happens to the runecrafting pouch when a player fills it.
static RunecraftPouchData forItem(int item)
Gets the runecrafting pouch data based on the item identification.
abstract void empty(Player player)
Empties the runecrafting pouch.
abstract int withdraw(Player player)
What happens to the runecrafting pouch when a player empties it.
final int capacity
The capacity that the runecrafting pouch can hold.
final int item
The item identification of the runecrafting pouch.