Class representing landscape generator used for the dimension.

Constructors

Methods

  • Specifies whether to use vanilla biome surface cover blocks (grass, sand, podzol, etc.).

    Parameters

    • value: boolean

      if true, vanilla surface will be generated

    Returns CustomGenerator

    Reference to itself to be used in sequential calls.

    false
    
  • Determines whether the generator should generate underground and/or underwater caves as part of its result. Wworks only with the "overworld"1" and "flat" base types.

    Parameters

    • caves: boolean

      generate caves

    • OptionalunderwaterCaves: boolean

      generate large caves and canyons

    Returns CustomDimension

    2.3.1b115

  • Specifies whether to use mod's generation callbacks.

    Parameters

    • value: boolean

      if true, mod generation will be used

    Returns CustomGenerator

    Reference to itself to be used in sequential calls.

    true
    
  • Specifies whether to generate minecraft vanilla structures.

    Parameters

    • value: boolean

      if true, vanilla structures will be generated

    Returns CustomGenerator

    Reference to itself to be used in sequential calls.

    false
    
  • Specifies which of the generation Callbacks to call, -1 to call no mods generation, 0 to call overworld generation callback, 1 for nether, 2 for end generation callbacks.

    Parameters

    • id: number

      generation callback to call

    Returns CustomGenerator

    Reference to itself to be used in sequential calls.

  • Sets terrain generator object used for the landscape generation.

    Parameters

    • generator: AbstractTerrainGenerator

      terrain generator to be used with current landscape generator or removes terrain generator, if the value is null

    Returns CustomGenerator

    Reference to itself to be used in sequential calls.

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