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

    类型别名 BlockStateArg<T>

    BlockStateArg: T extends `${MinecraftBlockTypes}`
        ? T extends keyof BlockStateMapping ? BlockStateMapping[T] : never
        : Record<string, boolean | number | string>

    Type alias used by the BlockPermutation matches and resolve functions to narrow block state argument types to those mapped by @minecraft/vanilla-data.BlockStateMapping.

    类型参数

    • T