Returns the set of item types registered within Minecraft.
export class ItemTypes { private constructor(); static get(itemId: string): ItemType | undefined; static getAll(): ItemType[];} Copy
export class ItemTypes { private constructor(); static get(itemId: string): ItemType | undefined; static getAll(): ItemType[];}
Private
Static
Returns a specific item type, if available within Minecraft.
This function can't be called in early-execution mode.
Retrieves all available item types registered within Minecraft.
Returns the set of item types registered within Minecraft.
Source