Skip to content

Interface: SectionFluidInput ​

Defined in: packages/minerender/src/world/SectionGeometry.ts:39

Fluid cells of the section plus a one-cell shell, 18×18×18, x fastest, then z, then y.

Properties ​

PropertyTypeDescriptionDefined in
cellsUint8ArrayBit 128 marks a surface rendered elsewhere; the cell still supplies neighbor fluid samples.packages/minerender/src/world/SectionGeometry.ts:41
lava?SectionFluidKind-packages/minerender/src/world/SectionGeometry.ts:45
water?SectionFluidKind-packages/minerender/src/world/SectionGeometry.ts:44
waterTints?Float32ArrayLinear RGB per section cell, indexed by (x + 16z + 256y) * 3. Omission uses the water kind's tint.packages/minerender/src/world/SectionGeometry.ts:43