> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/world/level/material/fluidstate.md).

# FluidState

The fluid occupying a block position, if any.

### Properties

#### amount

> `readonly` **amount**: `number`

The fluid level from 0 (none) to 8 (a full source).

***

#### id

> `readonly` **id**: `string`

The fluid id, e.g. "minecraft:water", "minecraft:flowing\_lava" or "minecraft:empty".

***

#### isEmpty

> `readonly` **isEmpty**: `boolean`

Whether there is no fluid.

***

#### isSource

> `readonly` **isSource**: `boolean`

Whether this is a full source block rather than flowing fluid.

***

#### ownHeight

> `readonly` **ownHeight**: `number`

The height of the fluid surface in blocks, 0 to 1.

### Methods

#### getFlow()

> **getFlow**(`pos`): [`Vec3`](/newgen/api/net/minecraft/world/phys/vec3.md)

The direction the fluid pushes entities at a position, as a vector.

**Parameters**

**pos**

[`BlockPos`](/newgen/api/net/minecraft/core/blockpos.md)

The position of the fluid.

**Returns**

[`Vec3`](/newgen/api/net/minecraft/world/phys/vec3.md)
