类 BlockStates实验性

枚举所有的 BlockStateType

Enumerates all BlockStateTypes.

方法

方法

  • 实验性

    参数

    • stateName: string

    返回 BlockStateType

    若找到则返回 Block 状态实例。若未找到该方块状态实例,则返回 undefined。

    Returns the Block state instance if it is found. If the block state instance is not found returns undefined.

    获取特定的方块状态实例。

    Retrieves a specific block state instance.

  • 实验性

    返回 BlockStateType[]

    获取所有可用的方块状态集合。

    Retrieves a set of all available block states.