AbstractCauldronBlock
Link to abstractcauldronblock
导入类
Link to 导入类
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.block.type.cauldron.AbstractCauldronBlock;
Extending Block
Link to extending-block
AbstractCauldronBlock extends Block. That means all methods available in Block are also available in AbstractCauldronBlock
使用方式
Link to 使用方式
Name: isFull
Checks if this cauldron is full.
Returns: True if full, false otherwise.
Return Type: boolean
ZenScript Copy// AbstractCauldronBlock.isFull(blockState as BlockState) as boolean
myAbstractCauldronBlock.isFull(<blockstate:minecraft:cauldron:level=3>);
参数 | 类型 | 描述 |
---|---|---|
参数 blockState | 类型 BlockState | 描述 The current block state of the cauldron. |