diff --git a/lua_api.html b/lua_api.html index ef8ca8d..e9b16ed 100644 --- a/lua_api.html +++ b/lua_api.html @@ -246,26 +246,30 @@ layout: default
  • Methods
  • -
  • PerlinNoise
  • +
  • +

    minetest.serialize_schematic(schematic, format, options)

    + +
  • Misc.

    Please note that forceloaded areas are saved when the server restarts.

    +

    minetest.global_exists(name) +^ Checks if a global variable has been set, without triggering a warning.

    Global objects

    +

    PcgRandom

    +

    A 32-bit pseudorandom number generator. +Uses PCG32, an algorithm of the permuted congruential generator family, offering very strong randomness.

    +

    It can be created via PcgRandom(seed) or PcgRandom(seed, sequence).

    +

    Methods

    +

    PerlinNoise

    A perlin noise generator. It can be created via PerlinNoise(seed, octaves, persistence, scale) or PerlinNoise(noiseparams). Alternatively with minetest.get_perlin(seeddiff, octaves, persistence, scale) or minetest.get_perlin(noiseparams).

    -

    Methods

    +

    Methods