BlockWaterContainerComponent
¶
文档版本:1.21.0.24
BlockWaterContainerComponent
类,扩展自BlockLiquidContainerComponent
。script_api.minecraft/server.blockwatercontainercomponent.description
常量¶
componentId
方法¶
addDye
script_api.minecraft/server.blockwatercontainercomponent.adddye.description
itemType
:ItemType
- script_api.minecraft/server.blockwatercontainercomponent.adddye.itemtype.description
- 返回值:
void
- script_api.minecraft/server.blockwatercontainercomponent.adddye.return
getCustomColor
script_api.minecraft/server.blockwatercontainercomponent.getcustomcolor.description
setCustomColor
script_api.minecraft/server.blockwatercontainercomponent.setcustomcolor.description
color
:RGBA
- script_api.minecraft/server.blockwatercontainercomponent.setcustomcolor.color.description
- 返回值:
void
- script_api.minecraft/server.blockwatercontainercomponent.setcustomcolor.return