From ad6763780aee3c2eb6ffdb897618cd850d0d28db Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Wed, 22 Jul 2020 15:30:04 -0400 Subject: [PATCH] Tests --- dev.test/biomes/a.json | 27 +++++++++++++++++++++++++++ dev.test/biomes/b.json | 27 +++++++++++++++++++++++++++ dev.test/biomes/beach.json | 27 +++++++++++++++++++++++++++ dev.test/biomes/ocean.json | 27 +++++++++++++++++++++++++++ dev.test/dimensions/test.json | 25 +++++++++++++++++++++++++ dev.test/regions/test.json | 15 +++++++++++++++ 6 files changed, 148 insertions(+) create mode 100644 dev.test/biomes/a.json create mode 100644 dev.test/biomes/b.json create mode 100644 dev.test/biomes/beach.json create mode 100644 dev.test/biomes/ocean.json create mode 100644 dev.test/dimensions/test.json create mode 100644 dev.test/regions/test.json diff --git a/dev.test/biomes/a.json b/dev.test/biomes/a.json new file mode 100644 index 00000000..53a90f7d --- /dev/null +++ b/dev.test/biomes/a.json @@ -0,0 +1,27 @@ +{ + "name": "Land", + "layers": [ + { + "minHeight": 3, + "maxHeight": 6, + "palette": [ + "GRASS_BLOCK" + ] + }, + { + "minHeight": 1, + "maxHeight": 3, + "palette": [ + "DIRT" + ] + } + ], + "generators":[ + { + "generator": "plain", + "min": 12, + "max": 12 + } + ], + "derivative": "JUNGLE_EDGE" +} \ No newline at end of file diff --git a/dev.test/biomes/b.json b/dev.test/biomes/b.json new file mode 100644 index 00000000..1112574d --- /dev/null +++ b/dev.test/biomes/b.json @@ -0,0 +1,27 @@ +{ + "name": "Land", + "layers": [ + { + "minHeight": 3, + "maxHeight": 6, + "palette": [ + "STONE" + ] + }, + { + "minHeight": 1, + "maxHeight": 3, + "palette": [ + "DIRT" + ] + } + ], + "generators":[ + { + "generator": "plain", + "min": 12, + "max": 12 + } + ], + "derivative": "JUNGLE_EDGE" +} \ No newline at end of file diff --git a/dev.test/biomes/beach.json b/dev.test/biomes/beach.json new file mode 100644 index 00000000..1e236d12 --- /dev/null +++ b/dev.test/biomes/beach.json @@ -0,0 +1,27 @@ +{ + "name": "Beach", + "layers": [ + { + "minHeight": 3, + "maxHeight": 6, + "palette": [ + "SAND" + ] + }, + { + "minHeight": 1, + "maxHeight": 3, + "palette": [ + "DIRT" + ] + } + ], + "generators":[ + { + "generator": "plain", + "min": -1, + "max": -1 + } + ], + "derivative": "JUNGLE_EDGE" +} \ No newline at end of file diff --git a/dev.test/biomes/ocean.json b/dev.test/biomes/ocean.json new file mode 100644 index 00000000..155016bf --- /dev/null +++ b/dev.test/biomes/ocean.json @@ -0,0 +1,27 @@ +{ + "name": "Sea", + "layers": [ + { + "minHeight": 3, + "maxHeight": 6, + "palette": [ + "EMERALD_BLOCK" + ] + }, + { + "minHeight": 1, + "maxHeight": 3, + "palette": [ + "DIRT" + ] + } + ], + "generators":[ + { + "generator": "plain", + "min": -8, + "max": -8 + } + ], + "derivative": "OCEAN" +} \ No newline at end of file diff --git a/dev.test/dimensions/test.json b/dev.test/dimensions/test.json new file mode 100644 index 00000000..744b0b42 --- /dev/null +++ b/dev.test/dimensions/test.json @@ -0,0 +1,25 @@ +{ + "environment": "NORMAL", + "fluidHeight": 63, + "biomeZoom": 4, + "dimensionAngleDeg": 12, + "terrainZoom": 1, + "interpolationFunction": "BILINEAR", + "interpolationScale": 80, + "interpolationSurfaceFunction": "BILINEAR", + "interpolationSurfaceScale": 40, + "roughnessHeight": 1, + "coordFractureZoom": 2, + "coordFractureDistance": 222, + "hermiteTension": 1, + "landZoom": 4, + "debugFastPregen": true, + "seaZoom": 0.3, + "continentZoom": 0.2, + "hermiteBias": 0.5, + "placeObjects": true, + "roughnessZoom": 1, + "regions": [ + "test" + ] +} \ No newline at end of file diff --git a/dev.test/regions/test.json b/dev.test/regions/test.json new file mode 100644 index 00000000..67429dc2 --- /dev/null +++ b/dev.test/regions/test.json @@ -0,0 +1,15 @@ +{ + "name": "Brian", + "shoreRatio": 0.05, + "biomeImplosionRatio": 0.25, + "landBiomes": [ + "a", + "b" + ], + "seaBiomes": [ + "ocean" + ], + "shoreBiomes": [ + "beach" + ] +} \ No newline at end of file