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

Methods

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.

    Returns a BlockType object for the specified identifier.

  • Returns BlockType[]

    Returns a collection of all available block types.