Package | Description |
---|---|
net.milkbowl.vault.item |
Modifier and Type | Method and Description |
---|---|
static ItemInfo |
Items.itemById(int typeId)
Deprecated.
|
static ItemInfo |
Items.itemById(int typeId,
short subType)
Deprecated.
|
static ItemInfo |
Items.itemByItem(ItemInfo item) |
static ItemInfo |
Items.itemByName(ArrayList<String> search) |
static ItemInfo |
Items.itemByName(String searchString)
Single item search function, for when we only ever want to return 1 result
|
static ItemInfo[] |
Items.itemByNames(ArrayList<String> search,
boolean multi) |
static ItemInfo |
Items.itemByStack(org.bukkit.inventory.ItemStack itemStack)
Searchs for an ItemInfo from the given ItemStack
|
static ItemInfo |
Items.itemByString(String string)
Search for an item from a given string, useful for user input.
|
static ItemInfo |
Items.itemByType(org.bukkit.Material type)
Gets a relevant ItemInfo by it's Material
|
static ItemInfo |
Items.itemByType(org.bukkit.Material type,
short subType)
Searches for an ItemInfo record by Material and SubTypeID
|
static ItemInfo[] |
Items.itemsByName(String searchString,
boolean multi)
Multi-Item return search for dumping all items with the search string to the player
|
Modifier and Type | Method and Description |
---|---|
static List<ItemInfo> |
Items.getItemList()
Returns the list of ItemInfo's registered in Vault as an UnmodifiableList.
|
Modifier and Type | Method and Description |
---|---|
static ItemInfo |
Items.itemByItem(ItemInfo item) |
Milkbowl, 2014