Skip to content

Function: getBlockFluidState() ​

ts
function getBlockFluidState(key?, state?): Promise<BlockFluidState | undefined>;

Defined in: packages/minerender/src/model/fluid/FluidGeometry.ts:20

Finds water or lava from the block ID and properties, including waterlogged blocks and aquatic plants.

Parameters ​

ParameterType
key?AssetKey
state?BlockStateProperties

Returns ​

Promise<BlockFluidState | undefined>