Contains a catalog of Minecraft Block Types that are available in this world.

Hierarchy

  • BlockTypes

Constructors

Methods

Constructors

Methods

  • Parameters

    • typeName: string

      Identifier of the block type. Should follow a namespace:id pattern, such as minecraft:dirt.

    Returns BlockType

    BlockType object, or undefined if the block type is not available within this world.

    Remarks

    Returns a BlockType object for the specified identifier.

  • Returns BlockType[]

    Remarks

    Returns a collection of all available block types.