Class GeneratorConfiguration.NoiseGeneration

java.lang.Object
de.freesoccerhdx.advancedworldcreatorapi.GeneratorConfiguration.NoiseGeneration
Enclosing class:
GeneratorConfiguration

public static class GeneratorConfiguration.NoiseGeneration extends Object
Represents Methods to use for Configure the Generation of the World. This includes also where the lowest Block of the World will generate or how tall the World will generate.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a default Overworld-like Noise-Generation
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the setting about the lowest World-Location where Blocks will be created while generation e.g.
    int
    Gets the setting about the lowest World-Location where Blocks will be created while generation e.g.
    int
    Gets the setting about the horizontal Noise
    int
    Gets the setting about the vertical Noise
    boolean
    Gets the setting about if the World has larger Biomes
    void
    setHeight(int height)
    Sets the total height of the World The highest Block where Blocks can be set is -minY+height
    void
    setLargeBiomes(boolean largeBiomes)
    Sets if the World has larger Biomes
    void
    setMinY(int minY)
    Sets the lowest Y-Coordinate e.g. where the Bottom-Bedrock will be set
    void
    setNoiseSizeHorizontal(int noiseSizeHorizontal)
    Sets the Worlds horizontal noise
    void
    setNoiseSizeVertical(int noiseSizeVertical)
    Sets the Worlds vertical noise
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NoiseGeneration

      public NoiseGeneration()
      Creates a default Overworld-like Noise-Generation
      See Also:
  • Method Details

    • setMinY

      public void setMinY(int minY)
      Sets the lowest Y-Coordinate e.g. where the Bottom-Bedrock will be set
      Parameters:
      minY - The lowest Y-Coordinate
    • setHeight

      public void setHeight(int height)
      Sets the total height of the World The highest Block where Blocks can be set is -minY+height
      Parameters:
      height - The total height
    • setLargeBiomes

      public void setLargeBiomes(boolean largeBiomes)
      Sets if the World has larger Biomes
      Parameters:
      largeBiomes - If large Biomes is enabled
    • setNoiseSizeHorizontal

      public void setNoiseSizeHorizontal(int noiseSizeHorizontal)
      Sets the Worlds horizontal noise
      Parameters:
      noiseSizeHorizontal - Horizontal Noise
    • setNoiseSizeVertical

      public void setNoiseSizeVertical(int noiseSizeVertical)
      Sets the Worlds vertical noise
      Parameters:
      noiseSizeVertical - Vertical Noise
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isLargeBiomes

      public boolean isLargeBiomes()
      Gets the setting about if the World has larger Biomes
      Returns:
      If is large Biomes
    • getMinY

      public int getMinY()
      Gets the setting about the lowest World-Location where Blocks will be created while generation e.g. Where the bottom Bedrock will spawn
      Returns:
      The lowest Y-Coordinate
    • getHeight

      public int getHeight()
      Gets the setting about the lowest World-Location where Blocks will be created while generation e.g. Where the bottom Bedrock will spawn
      Returns:
      The height of the World
    • getNoiseSizeHorizontal

      public int getNoiseSizeHorizontal()
      Gets the setting about the horizontal Noise
      Returns:
      The horizontal Noise
    • getNoiseSizeVertical

      public int getNoiseSizeVertical()
      Gets the setting about the vertical Noise
      Returns:
      The horizontal Noise