BlockPistonComponent
¶
文档版本:1.21.60.21
BlockPistonComponent
类,扩展自BlockComponent
。script_api.minecraft/server.blockpistoncomponent.description
常量¶
componentId
属性¶
isMoving
isMoving
:boolean
- script_api.minecraft/server.blockpistoncomponent.ismoving.description
state
state
:BlockPistonState
- script_api.minecraft/server.blockpistoncomponent.state.description
方法¶
getAttachedBlocks
script_api.minecraft/server.blockpistoncomponent.getattachedblocks.description
- 返回值:
Block[]
- script_api.minecraft/server.blockpistoncomponent.getattachedblocks.return
getAttachedBlocksLocations
script_api.minecraft/server.blockpistoncomponent.getattachedblockslocations.description