Class: ItemTypes
Returns the set of item types registered within Minecraft.
Constructors
new ItemTypes()
private
new ItemTypes():ItemTypes
Returns
Methods
get()
static
get(itemId
):ItemType
Parameters
Parameter | Type |
---|---|
itemId | string |
Returns
Remarks
Returns a specific item type, if available within Minecraft.
getAll()
static
getAll():ItemType
[]
Returns
ItemType
[]
Remarks
Retrieves all available item types registered within Minecraft.