BlockPotionContainerComponent
¶
文档版本:1.21.0.24
BlockPotionContainerComponent
类,扩展自BlockLiquidContainerComponent
。script_api.minecraft/server.blockpotioncontainercomponent.description
常量¶
componentId
方法¶
setPotionType
script_api.minecraft/server.blockpotioncontainercomponent.setpotiontype.description
itemStack
:ItemStack
- script_api.minecraft/server.blockpotioncontainercomponent.setpotiontype.itemstack.description
- 返回值:
void
- script_api.minecraft/server.blockpotioncontainercomponent.setpotiontype.return