1
0

BiomeProperties.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace MineCase.World.Biomes
  5. {
  6. public class BiomeProperties
  7. {
  8. public string BiomeName { get; set; } = "InvalidBiome";
  9. public BiomeId BiomeId { get; set; } = BiomeId.Ocean;
  10. /** The base height of this biome. Default 0.1. */
  11. public float BaseHeight { get; set; } = 0.1F;
  12. /** The variation from the base height of the biome. Default 0.2. */
  13. public float HeightVariation { get; set; } = 0.2F;
  14. /** The temperature of this biome. */
  15. public float Temperature { get; set; } = 0.5F;
  16. /** The rainfall in this biome. */
  17. public float Rainfall { get; set; } = 0.5F;
  18. /** Color tint applied to water depending on biome */
  19. public int WaterColor { get; set; } = 16777215;
  20. /** Set to true if snow is enabled for this biome. */
  21. public bool EnableSnow { get; set; } = false;
  22. /** Is true (default) if the biome support rain (desert and nether can't have rain) */
  23. public bool EnableRain { get; set; } = true;
  24. }
  25. }