Skip to content

WaterfallLanding

Defined in: sdk/src/water/waterfall.ts:106

What a fall lands on: the ground’s height at a place, and the water there (which body’s it is, and how far y is above its surface, negative under it), null where there is none. Either may be absent.

optional heightAt(x, z): number | null

Defined in: sdk/src/water/waterfall.ts:107

number

number

number | null


optional waterAt(x, z, y): { above: number; body: number; } | null

Defined in: sdk/src/water/waterfall.ts:108

number

number

number

{ above: number; body: number; } | null