Class ItemsBeta

Represents a collection of all of the available item types in Minecraft.

Hierarchy

  • Items

Constructors

Methods

Constructors

  • Returns Items

Methods

  • Parameters

    • itemId: string

      Type of the item to return.

    Returns ItemType

    Remarks

    Returns an item type given an item type identifier.

    This function can't be called in read-only mode.