getFluid

abstract fun getFluid(x: Int, y: Int, z: Int): FluidState

Gets the fluid at the given x, y, and z coordinates.

Return

the fluid at the given coordinates

Parameters

x

the X coordinate

y

the Y coordinate

z

the Z coordinate


abstract fun getFluid(position: Vec3i): FluidState

Gets the fluid at the given position.

Return

the fluid at the given position

Parameters

position

the position