Class representing noise conversion function. Used to define "density" of the landscape at a given height. Values between nodes are interpolated linearly.

Constructors

Methods

Constructors

Methods

  • Adds a new node to the noise conversion function.

    Parameters

    • x: number

      value from 0 to 1 representing the height of the block in the terrain layer

    • y: number

      landscape density at a given height, generally can be between -0.5 and 0.5. Values between nodes are interpolated linearly

    Returns NoiseConversion

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.