RunePouch
Rune pouches: see and change what they hold.
EnumRLPlugins API
public enum RunePouchValues
RUNE_POUCH, RUNE_POUCH_LMS, RUNE_POUCH_L, DIVINE_RUNE_POUCH, DIVINE_RUNE_POUCH_L
Members
Methods
- voidempty()
Empty the carried pouch through its inventory action; bank callers use emptyIntoBank.
- voidemptyIntoBank()
Empty into bank.
- ItemExgetItem()
The item.
- intgetPouchId()
The pouch id.
- intgetQuantityOfRune(Rune)
The quantity of rune.
- RunePouchgetRunePouch()
The rune pouch.
- Map<Integer, Integer>getRunes()
Immutable snapshot of actual rune IDs and their positive quantities.
- List<Integer>getStoredRuneIds()
Assigned rune types in pouch-slot order, including assigned slots with zero runes.
- booleanisDivine()
Whether divine.
- voidopen()
Open.
- voidstoreAllInPouch(Rune)
Store all in pouch.
- voidstoreAllInPouch(int)
Store all in pouch.
- voidstoreFiveInPouch(Rune)
Store five in pouch.
- voidstoreFiveInPouch(int)
Store five in pouch.
- voidstoreOneInPouch(Rune)
Store one in pouch.
- voidstoreOneInPouch(int)
Store one in pouch.
- voidstoreXInPouch(Rune, int)
Store xin pouch.
- voidstoreXInPouch(int, int)
Store xin pouch.
- voidtakeAllFromPouch(Rune)
Take all from pouch.
- voidtakeAllFromPouch(int)
Take all from pouch.
- voidtakeFiveFromPouch(Rune)
Take five from pouch.
- voidtakeFiveFromPouch(int)
Take five from pouch.
- voidtakeOneFromPouch(Rune)
Take one from pouch.
- voidtakeOneFromPouch(int)
Take one from pouch.
- voidtakeXFromPouch(Rune, int)
Take xfrom pouch.
- voidtakeXFromPouch(int, int)
Take xfrom pouch.
- voidwithdrawAllFromBank(Rune)
Withdraw all from bank.
- voidwithdrawAllFromBank(int)
Withdraw all from bank.
- voidwithdrawFiveFromBank(Rune)
Withdraw five from bank.
- voidwithdrawFiveFromBank(int)
Withdraw five from bank.
- voidwithdrawOneFromBank(Rune)
Withdraw one from bank.
- voidwithdrawOneFromBank(int)
Withdraw one from bank.
- voidwithdrawTenFromBank(Rune)
Withdraw ten from bank.
- voidwithdrawTenFromBank(int)
Withdraw ten from bank.
- voidwithdrawXFromBank(Rune, int)
Withdraw xfrom bank.
- voidwithdrawXFromBank(int, int)
Withdraw xfrom bank.
empty()
public void empty()Empty the carried pouch through its inventory action; bank callers use emptyIntoBank.
emptyIntoBank()
public void emptyIntoBank()Empty into bank.
getItem()
public ItemEx getItem()The item.
getPouchId()
public int getPouchId()The pouch id.
getQuantityOfRune(Rune)
public int getQuantityOfRune(Rune rune)The quantity of rune.
Parameters
rune- Rune.
getRunePouch()static
public static RunePouch getRunePouch()The rune pouch.
getRunes()
public Map<Integer, Integer> getRunes()Immutable snapshot of actual rune IDs and their positive quantities.
getStoredRuneIds()
public List<Integer> getStoredRuneIds()Assigned rune types in pouch-slot order, including assigned slots with zero runes.
isDivine()
public boolean isDivine()Whether divine.
open()
public void open()Open.
storeAllInPouch(Rune)
public void storeAllInPouch(Rune rune)Store all in pouch.
Parameters
rune- Rune.
storeAllInPouch(int)
public void storeAllInPouch(int runeItemId)Store all in pouch.
Parameters
runeItemId- Rune item id.
storeFiveInPouch(Rune)
public void storeFiveInPouch(Rune rune)Store five in pouch.
Parameters
rune- Rune.
storeFiveInPouch(int)
public void storeFiveInPouch(int runeItemId)Store five in pouch.
Parameters
runeItemId- Rune item id.
storeOneInPouch(Rune)
public void storeOneInPouch(Rune rune)Store one in pouch.
Parameters
rune- Rune.
storeOneInPouch(int)
public void storeOneInPouch(int runeItemId)Store one in pouch.
Parameters
runeItemId- Rune item id.
storeXInPouch(Rune, int)
public void storeXInPouch(Rune rune, int amount)Store xin pouch.
Parameters
rune- Rune.
amount- Amount.
storeXInPouch(int, int)
public void storeXInPouch(int runeItemId, int amount)Store xin pouch.
Parameters
runeItemId- Rune item id.
amount- Amount.
takeAllFromPouch(Rune)
public void takeAllFromPouch(Rune rune)Take all from pouch.
Parameters
rune- Rune.
takeAllFromPouch(int)
public void takeAllFromPouch(int runeItemId)Take all from pouch.
Parameters
runeItemId- Rune item id.
takeFiveFromPouch(Rune)
public void takeFiveFromPouch(Rune rune)Take five from pouch.
Parameters
rune- Rune.
takeFiveFromPouch(int)
public void takeFiveFromPouch(int runeItemId)Take five from pouch.
Parameters
runeItemId- Rune item id.
takeOneFromPouch(Rune)
public void takeOneFromPouch(Rune rune)Take one from pouch.
Parameters
rune- Rune.
takeOneFromPouch(int)
public void takeOneFromPouch(int runeItemId)Take one from pouch.
Parameters
runeItemId- Rune item id.
takeXFromPouch(Rune, int)
public void takeXFromPouch(Rune rune, int amount)Take xfrom pouch.
Parameters
rune- Rune.
amount- Amount.
takeXFromPouch(int, int)
public void takeXFromPouch(int runeItemId, int amount)Take xfrom pouch.
Parameters
runeItemId- Rune item id.
amount- Amount.
withdrawAllFromBank(Rune)
public void withdrawAllFromBank(Rune rune)Withdraw all from bank.
Parameters
rune- Rune.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawAllFromBank(int)
public void withdrawAllFromBank(int runeItemId)Withdraw all from bank.
Parameters
runeItemId- Rune item id.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawFiveFromBank(Rune)
public void withdrawFiveFromBank(Rune rune)Withdraw five from bank.
Parameters
rune- Rune.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawFiveFromBank(int)
public void withdrawFiveFromBank(int runeItemId)Withdraw five from bank.
Parameters
runeItemId- Rune item id.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawOneFromBank(Rune)
public void withdrawOneFromBank(Rune rune)Withdraw one from bank.
Parameters
rune- Rune.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawOneFromBank(int)
public void withdrawOneFromBank(int runeItemId)Withdraw one from bank.
Parameters
runeItemId- Rune item id.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawTenFromBank(Rune)
public void withdrawTenFromBank(Rune rune)Withdraw ten from bank.
Parameters
rune- Rune.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawTenFromBank(int)
public void withdrawTenFromBank(int runeItemId)Withdraw ten from bank.
Parameters
runeItemId- Rune item id.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawXFromBank(Rune, int)
public void withdrawXFromBank(Rune rune, int amount)Withdraw xfrom bank.
Parameters
rune- Rune.
amount- Amount.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
withdrawXFromBank(int, int)
public void withdrawXFromBank(int runeItemId, int amount)Withdraw xfrom bank.
Parameters
runeItemId- Rune item id.
amount- Amount.
- Can wait for the game. Call it only from
VitaPlugin.loop(); in a@Subscribemethod it freezes the game.
Also allowed
Every enum has these, as in plain Java.
compareTo, equals, hashCode, name, ordinal, toString, valueOf, values