Package net.runelite.client.game
Class ItemVariationMapping
- java.lang.Object
-
- net.runelite.client.game.ItemVariationMapping
-
public class ItemVariationMapping extends Object
Converts variation items to it's base item counterparts
-
-
Constructor Summary
Constructors Constructor Description ItemVariationMapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<Integer>
getVariations(int itemId)
Get item ids for provided variation item id.static int
map(int itemId)
Get base item id for provided variation item id.
-
-
-
Method Detail
-
map
public static int map(int itemId)
Get base item id for provided variation item id.- Parameters:
itemId
- the item id- Returns:
- the base item id
-
getVariations
public static Collection<Integer> getVariations(int itemId)
Get item ids for provided variation item id.- Parameters:
itemId
- the item id- Returns:
- the item ids
-
-