BlockPermutation
¶
文档版本:1.21.60.21
BlockPermutation
类。script_api.mojang-minecraft.blockpermutation.description
属性¶
type
type
:BlockType
- script_api.mojang-minecraft.blockpermutation.type.description
方法¶
getAllProperties
script_api.mojang-minecraft.blockpermutation.getallproperties.description
- 返回值:
IBlockProperty[]
- script_api.mojang-minecraft.blockpermutation.getallproperties.return
getProperty
script_api.mojang-minecraft.blockpermutation.getproperty.description
propertyName
:string
- script_api.mojang-minecraft.blockpermutation.getproperty.propertyname.description
- 返回值:
IBlockProperty
|undefined
- script_api.mojang-minecraft.blockpermutation.getproperty.return
getTags
script_api.mojang-minecraft.blockpermutation.gettags.description
- 返回值:
string[]
- script_api.mojang-minecraft.blockpermutation.gettags.return
hasTag
script_api.mojang-minecraft.blockpermutation.hastag.description
tag
:string
- script_api.mojang-minecraft.blockpermutation.hastag.tag.description
- 返回值:
boolean
- script_api.mojang-minecraft.blockpermutation.hastag.return