@minecraft
    正在准备搜索索引...

    类 BlockTypes

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

    索引

    方法

    方法

    • 参数

      • typeName: string

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

      返回 BlockType

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

      Returns a BlockType object for the specified identifier.