Package com.epicbot.api.shared.model
Interface ItemDefinition
-
public interface ItemDefinition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.List<java.lang.String>
getActions()
java.util.List<java.lang.String>
getGroundActions()
default int
getHighAlchemyPrice()
The store price can be used to calculate high alchemy price by multiplying the price by0.6
.int
getId()
default int
getLowAlchemyPrice()
The store price can be used to calculate low alchemy price by multiplying the price by0.4
.java.lang.String
getName()
int
getNotedId()
int
getStorePrice()
Gets the store price of the item.int
getUnNotedId()
boolean
hasAction(java.lang.String... actions)
boolean
hasGroundAction(java.lang.String... actions)
boolean
isMembers()
boolean
isNoted()
boolean
isStackable()
-
-
-
Method Detail
-
getId
int getId()
-
getNotedId
int getNotedId()
-
getUnNotedId
int getUnNotedId()
-
getName
java.lang.String getName()
-
isNoted
boolean isNoted()
-
isStackable
boolean isStackable()
-
isMembers
boolean isMembers()
-
getActions
java.util.List<java.lang.String> getActions()
-
hasAction
boolean hasAction(java.lang.String... actions)
-
getGroundActions
java.util.List<java.lang.String> getGroundActions()
-
hasGroundAction
boolean hasGroundAction(java.lang.String... actions)
-
getStorePrice
int getStorePrice()
Gets the store price of the item. All items have a store price and the store price can be used to calculate high and low alchemy values.- Returns:
- the general store value of the item
-
getLowAlchemyPrice
default int getLowAlchemyPrice()
The store price can be used to calculate low alchemy price by multiplying the price by0.4
.- Returns:
- the low alchemy price (storePrice * 0.4)
-
getHighAlchemyPrice
default int getHighAlchemyPrice()
The store price can be used to calculate high alchemy price by multiplying the price by0.6
.- Returns:
- the low alchemy price (storePrice * 0.6)
-
-