From 9ad9da2fac137392c0102ce85f365447b4cc1162 Mon Sep 17 00:00:00 2001 From: catter1 Date: Mon, 7 Nov 2022 16:05:22 +0100 Subject: [PATCH] Init commit - v1.1.1 --- .../density_function/adjusted_continents.json | 36 ++++++++++++ .../centroid/ring1_offset.json | 22 ++++++++ .../density_function/centroid/ring1_sync.json | 55 +++++++++++++++++++ .../centroid/ring2_offset.json | 22 ++++++++ .../density_function/centroid/ring2_sync.json | 55 +++++++++++++++++++ .../centroid/ring3_offset.json | 22 ++++++++ .../density_function/centroid/ring3_sync.json | 55 +++++++++++++++++++ .../centroid/ring4_offset.json | 22 ++++++++ .../density_function/centroid/ring4_sync.json | 55 +++++++++++++++++++ .../centroid/spawn_island.json | 31 +++++++++++ .../density_function/continent_bias.json | 14 +++++ .../density_function/island_adjusted.json | 26 +++++++++ .../density_function/island_amount.json | 6 ++ .../density_function/island_impact.json | 35 ++++++++++++ .../density_function/island_squared.json | 35 ++++++++++++ .../worldgen/density_function/islands.json | 29 ++++++++++ .../large/adjusted_continents.json | 36 ++++++++++++ .../large/centroid/ring1_offset.json | 22 ++++++++ .../large/centroid/ring1_sync.json | 55 +++++++++++++++++++ .../large/centroid/ring2_offset.json | 22 ++++++++ .../large/centroid/ring2_sync.json | 55 +++++++++++++++++++ .../large/centroid/ring3_offset.json | 22 ++++++++ .../large/centroid/ring3_sync.json | 55 +++++++++++++++++++ .../large/centroid/ring4_offset.json | 22 ++++++++ .../large/centroid/ring4_sync.json | 55 +++++++++++++++++++ .../large/centroid/spawn_island.json | 31 +++++++++++ .../large/continent_bias.json | 14 +++++ .../large/island_adjusted.json | 26 +++++++++ .../density_function/large/island_amount.json | 6 ++ .../density_function/large/island_impact.json | 35 ++++++++++++ .../large/island_squared.json | 35 ++++++++++++ .../density_function/large/islands.json | 29 ++++++++++ .../worldgen/noise/continent_bias.json | 6 ++ .../worldgen/noise/island_amount.json | 8 +++ .../worldgen/noise/island_noise.json | 9 +++ .../worldgen/noise/large/continent_bias.json | 6 ++ .../worldgen/noise/large/island_amount.json | 8 +++ .../worldgen/noise/large/island_noise.json | 9 +++ .../worldgen/noise/large/spawn/ring1.json | 7 +++ .../worldgen/noise/large/spawn/ring2.json | 7 +++ .../worldgen/noise/large/spawn/ring3.json | 7 +++ .../worldgen/noise/large/spawn/ring4.json | 7 +++ .../worldgen/noise/spawn/ring1.json | 7 +++ .../worldgen/noise/spawn/ring2.json | 7 +++ .../worldgen/noise/spawn/ring3.json | 7 +++ .../worldgen/noise/spawn/ring4.json | 7 +++ .../overworld/base_continents.json | 16 ++++++ .../overworld/continents.json | 11 ++++ .../base_continents.json | 16 ++++++ .../overworld_large_biomes/continents.json | 11 ++++ license.txt | 50 +++++++++++++++++ pack.mcmeta | 6 ++ 52 files changed, 1252 insertions(+) create mode 100755 data/continents/worldgen/density_function/adjusted_continents.json create mode 100755 data/continents/worldgen/density_function/centroid/ring1_offset.json create mode 100755 data/continents/worldgen/density_function/centroid/ring1_sync.json create mode 100755 data/continents/worldgen/density_function/centroid/ring2_offset.json create mode 100755 data/continents/worldgen/density_function/centroid/ring2_sync.json create mode 100755 data/continents/worldgen/density_function/centroid/ring3_offset.json create mode 100755 data/continents/worldgen/density_function/centroid/ring3_sync.json create mode 100755 data/continents/worldgen/density_function/centroid/ring4_offset.json create mode 100755 data/continents/worldgen/density_function/centroid/ring4_sync.json create mode 100755 data/continents/worldgen/density_function/centroid/spawn_island.json create mode 100755 data/continents/worldgen/density_function/continent_bias.json create mode 100755 data/continents/worldgen/density_function/island_adjusted.json create mode 100755 data/continents/worldgen/density_function/island_amount.json create mode 100755 data/continents/worldgen/density_function/island_impact.json create mode 100755 data/continents/worldgen/density_function/island_squared.json create mode 100755 data/continents/worldgen/density_function/islands.json create mode 100755 data/continents/worldgen/density_function/large/adjusted_continents.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring1_offset.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring1_sync.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring2_offset.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring2_sync.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring3_offset.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring3_sync.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring4_offset.json create mode 100755 data/continents/worldgen/density_function/large/centroid/ring4_sync.json create mode 100755 data/continents/worldgen/density_function/large/centroid/spawn_island.json create mode 100755 data/continents/worldgen/density_function/large/continent_bias.json create mode 100755 data/continents/worldgen/density_function/large/island_adjusted.json create mode 100755 data/continents/worldgen/density_function/large/island_amount.json create mode 100755 data/continents/worldgen/density_function/large/island_impact.json create mode 100755 data/continents/worldgen/density_function/large/island_squared.json create mode 100755 data/continents/worldgen/density_function/large/islands.json create mode 100755 data/continents/worldgen/noise/continent_bias.json create mode 100755 data/continents/worldgen/noise/island_amount.json create mode 100755 data/continents/worldgen/noise/island_noise.json create mode 100755 data/continents/worldgen/noise/large/continent_bias.json create mode 100755 data/continents/worldgen/noise/large/island_amount.json create mode 100755 data/continents/worldgen/noise/large/island_noise.json create mode 100755 data/continents/worldgen/noise/large/spawn/ring1.json create mode 100755 data/continents/worldgen/noise/large/spawn/ring2.json create mode 100755 data/continents/worldgen/noise/large/spawn/ring3.json create mode 100755 data/continents/worldgen/noise/large/spawn/ring4.json create mode 100755 data/continents/worldgen/noise/spawn/ring1.json create mode 100755 data/continents/worldgen/noise/spawn/ring2.json create mode 100755 data/continents/worldgen/noise/spawn/ring3.json create mode 100755 data/continents/worldgen/noise/spawn/ring4.json create mode 100755 data/minecraft/worldgen/density_function/overworld/base_continents.json create mode 100755 data/minecraft/worldgen/density_function/overworld/continents.json create mode 100755 data/minecraft/worldgen/density_function/overworld_large_biomes/base_continents.json create mode 100755 data/minecraft/worldgen/density_function/overworld_large_biomes/continents.json create mode 100644 license.txt create mode 100755 pack.mcmeta diff --git a/data/continents/worldgen/density_function/adjusted_continents.json b/data/continents/worldgen/density_function/adjusted_continents.json new file mode 100755 index 0000000..335e374 --- /dev/null +++ b/data/continents/worldgen/density_function/adjusted_continents.json @@ -0,0 +1,36 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"cache_2d", + "argument": + {"type":"max", + "argument1":{ + "type": "spline", + "min_value": -1.75, + "max_value": 1.75, + "spline": { + "coordinate": "overworld/base_continents", + "points": [ + { + "location": 0.205, + "derivative": 0.7, + "value": -0.25 + }, + { + "location": 0.265, + "derivative": 1.785, + "value": -0.19 + }, + { + "location": 0.6325, + "derivative": 1.275, + "value": 0.6 + } +] +} +}, +"argument2":"continents:centroid/spawn_island" + +} +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/centroid/ring1_offset.json b/data/continents/worldgen/density_function/centroid/ring1_offset.json new file mode 100755 index 0000000..c96180f --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring1_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:spawn/ring1", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:spawn/ring1", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/centroid/ring1_sync.json b/data/continents/worldgen/density_function/centroid/ring1_sync.json new file mode 100755 index 0000000..6f8c601 --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring1_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:centroid/ring1_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/centroid/ring2_offset.json b/data/continents/worldgen/density_function/centroid/ring2_offset.json new file mode 100755 index 0000000..0f9e7a5 --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring2_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:spawn/ring2", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:spawn/ring2", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/centroid/ring2_sync.json b/data/continents/worldgen/density_function/centroid/ring2_sync.json new file mode 100755 index 0000000..8cb4ce9 --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring2_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:centroid/ring2_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/centroid/ring3_offset.json b/data/continents/worldgen/density_function/centroid/ring3_offset.json new file mode 100755 index 0000000..8c7f8db --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring3_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:spawn/ring3", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:spawn/ring3", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/centroid/ring3_sync.json b/data/continents/worldgen/density_function/centroid/ring3_sync.json new file mode 100755 index 0000000..3b2e33c --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring3_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:centroid/ring3_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/centroid/ring4_offset.json b/data/continents/worldgen/density_function/centroid/ring4_offset.json new file mode 100755 index 0000000..2d94d15 --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring4_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:spawn/ring4", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:spawn/ring4", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/centroid/ring4_sync.json b/data/continents/worldgen/density_function/centroid/ring4_sync.json new file mode 100755 index 0000000..bea84f3 --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/ring4_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:centroid/ring4_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/centroid/spawn_island.json b/data/continents/worldgen/density_function/centroid/spawn_island.json new file mode 100755 index 0000000..eae6baa --- /dev/null +++ b/data/continents/worldgen/density_function/centroid/spawn_island.json @@ -0,0 +1,31 @@ +{ + "type":"add", + "argument1":{ + "type": "minecraft:mul", + "argument1": 0.25, + "argument2": { + "type": "minecraft:add", + "argument1": { + "type": "minecraft:add", + "argument1": "continents:centroid/ring1_sync", + "argument2": "continents:centroid/ring2_sync" + }, + "argument2": { + "type": "minecraft:add", + "argument1": "continents:centroid/ring3_sync", + "argument2": "continents:centroid/ring4_sync" + } + } +}, +"argument2":{"type":"mul", +"argument1":0.06, +"argument2":{ + "argument":{ + "xz_scale":1, + "y_scale":0.0, + "noise":"continents:island_noise", + "type":"minecraft:noise" + }, + "type":"minecraft:flat_cache" + } +}} diff --git a/data/continents/worldgen/density_function/continent_bias.json b/data/continents/worldgen/density_function/continent_bias.json new file mode 100755 index 0000000..454f261 --- /dev/null +++ b/data/continents/worldgen/density_function/continent_bias.json @@ -0,0 +1,14 @@ +{ + "argument": + + { + + "type":"cache_2d","argument":{ + "xz_scale":0.1425, + "y_scale":0.0, + "noise":"continents:continent_bias", + "type":"minecraft:noise" + } + }, + "type":"minecraft:flat_cache" + } \ No newline at end of file diff --git a/data/continents/worldgen/density_function/island_adjusted.json b/data/continents/worldgen/density_function/island_adjusted.json new file mode 100755 index 0000000..746fd18 --- /dev/null +++ b/data/continents/worldgen/density_function/island_adjusted.json @@ -0,0 +1,26 @@ +{ + "type":"add", + "argument1":"continents:island_squared", + "argument2":{ + "type":"add", + "argument1":{ + "argument": + + { + "type":"min", + "argument1":0.6, + "argument2": + { + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:island_amount", + "type":"minecraft:noise" + } + }, + "type":"minecraft:flat_cache" + }, + "argument2":-0.675 + } +} + + diff --git a/data/continents/worldgen/density_function/island_amount.json b/data/continents/worldgen/density_function/island_amount.json new file mode 100755 index 0000000..b61a4d4 --- /dev/null +++ b/data/continents/worldgen/density_function/island_amount.json @@ -0,0 +1,6 @@ +{ + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:island_amount", + "type":"minecraft:noise" +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/island_impact.json b/data/continents/worldgen/density_function/island_impact.json new file mode 100755 index 0000000..833d404 --- /dev/null +++ b/data/continents/worldgen/density_function/island_impact.json @@ -0,0 +1,35 @@ +{ + "type": "spline", + "min_value": -4, + "max_value": 0, + "spline": { + "coordinate": "continents:adjusted_continents", + "points": [ + { + "location": -1.0, + "derivative": 0.0, + "value": -2.0 + }, + { + "location": -0.925, + "derivative": 0.0, + "value": 0 + }, + { + "location": -0.525, + "derivative": 0.0, + "value": 0 + }, + { + "location": -0.325, + "derivative": -5, + "value": -1 + }, + { + "location": -0.275, + "derivative": 0, + "value": -4.0 + } +] +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/island_squared.json b/data/continents/worldgen/density_function/island_squared.json new file mode 100755 index 0000000..4ba1ff9 --- /dev/null +++ b/data/continents/worldgen/density_function/island_squared.json @@ -0,0 +1,35 @@ +{"type":"mul", + "argument1":1.0, + "argument2": +{"type":"add", + "argument1":-0.19, + "argument2": +{ + "type":"square", + "argument": + { + "type":"add", + "argument1":0.19, + "argument2": + { + "type":"clamp", + "min":-0.19, + "max":1000000, + "input":{ + "type":"add", + "argument1":{ + "argument":{ + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:island_noise", + "type":"minecraft:noise" + }, + "type":"minecraft:flat_cache" + }, + "argument2":"continents:island_impact" + } + } + } +} + +}} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/islands.json b/data/continents/worldgen/density_function/islands.json new file mode 100755 index 0000000..6597283 --- /dev/null +++ b/data/continents/worldgen/density_function/islands.json @@ -0,0 +1,29 @@ +{ + "type":"add", + "argument1":{ + "type": "spline", + "min_value": -1.75, + "max_value": 1.75, + "spline": { + "coordinate": "continents:island_adjusted", + "points": [ + { + "location": -1.0, + "derivative": 2, + "value": -2 + }, + { + "location": -0.19, + "derivative": 0.5, + "value": -0.19 + }, + { + "location": 0.0, + "derivative": 0.335, + "value": -0.1 + } +] +} +}, + "argument2":0 +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/adjusted_continents.json b/data/continents/worldgen/density_function/large/adjusted_continents.json new file mode 100755 index 0000000..4bf58af --- /dev/null +++ b/data/continents/worldgen/density_function/large/adjusted_continents.json @@ -0,0 +1,36 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"cache_2d", + "argument": + {"type":"max", + "argument1":{ + "type": "spline", + "min_value": -1.75, + "max_value": 1.75, + "spline": { + "coordinate": "overworld_large_biomes/base_continents", + "points": [ + { + "location": 0.205, + "derivative": 0.7, + "value": -0.25 + }, + { + "location": 0.265, + "derivative": 1.785, + "value": -0.19 + }, + { + "location": 0.6325, + "derivative": 1.275, + "value": 0.6 + } +] +} +}, +"argument2":"continents:large/centroid/spawn_island" + +} +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/centroid/ring1_offset.json b/data/continents/worldgen/density_function/large/centroid/ring1_offset.json new file mode 100755 index 0000000..299c313 --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring1_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring1", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring1", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/centroid/ring1_sync.json b/data/continents/worldgen/density_function/large/centroid/ring1_sync.json new file mode 100755 index 0000000..65dbb2c --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring1_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:large/centroid/ring1_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/large/centroid/ring2_offset.json b/data/continents/worldgen/density_function/large/centroid/ring2_offset.json new file mode 100755 index 0000000..0737afc --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring2_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring2", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring2", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/centroid/ring2_sync.json b/data/continents/worldgen/density_function/large/centroid/ring2_sync.json new file mode 100755 index 0000000..a4cfc87 --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring2_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:large/centroid/ring2_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/large/centroid/ring3_offset.json b/data/continents/worldgen/density_function/large/centroid/ring3_offset.json new file mode 100755 index 0000000..0b5e48a --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring3_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring3", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring3", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/centroid/ring3_sync.json b/data/continents/worldgen/density_function/large/centroid/ring3_sync.json new file mode 100755 index 0000000..47e50af --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring3_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:large/centroid/ring3_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/large/centroid/ring4_offset.json b/data/continents/worldgen/density_function/large/centroid/ring4_offset.json new file mode 100755 index 0000000..bda1abd --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring4_offset.json @@ -0,0 +1,22 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"add", + "argument1": { + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring4", + "xz_scale": 0.75, + "y_scale": 0.0 + }, + "argument2":{ + "type":"mul", + "argument2":-1, + "argument1":{ + "type": "minecraft:noise", + "noise": "continents:large/spawn/ring4", + "xz_scale": 0.73, + "y_scale": 0.0 + } + } +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/centroid/ring4_sync.json b/data/continents/worldgen/density_function/large/centroid/ring4_sync.json new file mode 100755 index 0000000..d84e39d --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/ring4_sync.json @@ -0,0 +1,55 @@ +{ + "type": "minecraft:spline", + "min_value": -16, + "max_value": 16, + "spline": { + "coordinate": "continents:large/centroid/ring4_offset", + "points": [ + { + "location": -0.1, + "derivative": 0, + "value": -16 + }, + { + "location": -0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": -0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": -0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0, + "derivative": 0, + "value": 0.115 + }, + { + "location": 0.01, + "derivative": 0, + "value": -0.25 + }, + { + "location": 0.0175, + "derivative": 0, + "value": -1 + }, + { + "location": 0.025, + "derivative": 0, + "value": -1.75 + }, + { + "location": 0.1, + "derivative": 0, + "value": -16 + } + ] + } +} diff --git a/data/continents/worldgen/density_function/large/centroid/spawn_island.json b/data/continents/worldgen/density_function/large/centroid/spawn_island.json new file mode 100755 index 0000000..aaa7aff --- /dev/null +++ b/data/continents/worldgen/density_function/large/centroid/spawn_island.json @@ -0,0 +1,31 @@ +{ + "type":"add", + "argument1":{ + "type": "minecraft:mul", + "argument1": 0.25, + "argument2": { + "type": "minecraft:add", + "argument1": { + "type": "minecraft:add", + "argument1": "continents:large/centroid/ring1_sync", + "argument2": "continents:large/centroid/ring2_sync" + }, + "argument2": { + "type": "minecraft:add", + "argument1": "continents:large/centroid/ring3_sync", + "argument2": "continents:large/centroid/ring4_sync" + } + } +}, +"argument2":{"type":"mul", +"argument1":0.06, +"argument2":{ + "argument":{ + "xz_scale":1, + "y_scale":0.0, + "noise":"continents:large/island_noise", + "type":"minecraft:noise" + }, + "type":"minecraft:flat_cache" + } +}} diff --git a/data/continents/worldgen/density_function/large/continent_bias.json b/data/continents/worldgen/density_function/large/continent_bias.json new file mode 100755 index 0000000..35e12d5 --- /dev/null +++ b/data/continents/worldgen/density_function/large/continent_bias.json @@ -0,0 +1,14 @@ +{ + "argument": + + { + + "type":"cache_2d","argument":{ + "xz_scale":0.1425, + "y_scale":0.0, + "noise":"continents:large/continent_bias", + "type":"minecraft:noise" + } + }, + "type":"minecraft:flat_cache" + } \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/island_adjusted.json b/data/continents/worldgen/density_function/large/island_adjusted.json new file mode 100755 index 0000000..5d08189 --- /dev/null +++ b/data/continents/worldgen/density_function/large/island_adjusted.json @@ -0,0 +1,26 @@ +{ + "type":"add", + "argument1":"continents:large/island_squared", + "argument2":{ + "type":"add", + "argument1":{ + "argument": + + { + "type":"min", + "argument1":0.6, + "argument2": + { + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:large/island_amount", + "type":"minecraft:noise" + } + }, + "type":"minecraft:flat_cache" + }, + "argument2":-0.675 + } +} + + diff --git a/data/continents/worldgen/density_function/large/island_amount.json b/data/continents/worldgen/density_function/large/island_amount.json new file mode 100755 index 0000000..e1535f2 --- /dev/null +++ b/data/continents/worldgen/density_function/large/island_amount.json @@ -0,0 +1,6 @@ +{ + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:large/island_amount", + "type":"minecraft:noise" +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/island_impact.json b/data/continents/worldgen/density_function/large/island_impact.json new file mode 100755 index 0000000..02b0003 --- /dev/null +++ b/data/continents/worldgen/density_function/large/island_impact.json @@ -0,0 +1,35 @@ +{ + "type": "spline", + "min_value": -4, + "max_value": 0, + "spline": { + "coordinate": "continents:large/adjusted_continents", + "points": [ + { + "location": -1.0, + "derivative": 0.0, + "value": -2.0 + }, + { + "location": -0.925, + "derivative": 0.0, + "value": 0 + }, + { + "location": -0.525, + "derivative": 0.0, + "value": 0 + }, + { + "location": -0.325, + "derivative": -5, + "value": -1 + }, + { + "location": -0.275, + "derivative": 0, + "value": -4.0 + } +] +} +} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/island_squared.json b/data/continents/worldgen/density_function/large/island_squared.json new file mode 100755 index 0000000..2316818 --- /dev/null +++ b/data/continents/worldgen/density_function/large/island_squared.json @@ -0,0 +1,35 @@ +{"type":"mul", + "argument1":1.0, + "argument2": +{"type":"add", + "argument1":-0.19, + "argument2": +{ + "type":"square", + "argument": + { + "type":"add", + "argument1":0.19, + "argument2": + { + "type":"clamp", + "min":-0.19, + "max":1000000, + "input":{ + "type":"add", + "argument1":{ + "argument":{ + "xz_scale":0.25, + "y_scale":0.0, + "noise":"continents:large/island_noise", + "type":"minecraft:noise" + }, + "type":"minecraft:flat_cache" + }, + "argument2":"continents:large/island_impact" + } + } + } +} + +}} \ No newline at end of file diff --git a/data/continents/worldgen/density_function/large/islands.json b/data/continents/worldgen/density_function/large/islands.json new file mode 100755 index 0000000..a464272 --- /dev/null +++ b/data/continents/worldgen/density_function/large/islands.json @@ -0,0 +1,29 @@ +{ + "type":"add", + "argument1":{ + "type": "spline", + "min_value": -1.75, + "max_value": 1.75, + "spline": { + "coordinate": "continents:large/island_adjusted", + "points": [ + { + "location": -1.0, + "derivative": 2, + "value": -2 + }, + { + "location": -0.19, + "derivative": 0.5, + "value": -0.19 + }, + { + "location": 0.0, + "derivative": 0.335, + "value": -0.1 + } +] +} +}, + "argument2":0 +} \ No newline at end of file diff --git a/data/continents/worldgen/noise/continent_bias.json b/data/continents/worldgen/noise/continent_bias.json new file mode 100755 index 0000000..fbfe204 --- /dev/null +++ b/data/continents/worldgen/noise/continent_bias.json @@ -0,0 +1,6 @@ +{ + "firstOctave": -11, + "amplitudes": [ + 0.2 + ] +} diff --git a/data/continents/worldgen/noise/island_amount.json b/data/continents/worldgen/noise/island_amount.json new file mode 100755 index 0000000..4c7bdf4 --- /dev/null +++ b/data/continents/worldgen/noise/island_amount.json @@ -0,0 +1,8 @@ +{ + "firstOctave": -11, + "amplitudes": [ + 1.05, + 0.0, + 3 + ] +} diff --git a/data/continents/worldgen/noise/island_noise.json b/data/continents/worldgen/noise/island_noise.json new file mode 100755 index 0000000..6c0f202 --- /dev/null +++ b/data/continents/worldgen/noise/island_noise.json @@ -0,0 +1,9 @@ +{ + "firstOctave": -7, + "amplitudes": [ + 1.1, + 2.0, + 1.695, + 1.7 + ] +} diff --git a/data/continents/worldgen/noise/large/continent_bias.json b/data/continents/worldgen/noise/large/continent_bias.json new file mode 100755 index 0000000..a080dc7 --- /dev/null +++ b/data/continents/worldgen/noise/large/continent_bias.json @@ -0,0 +1,6 @@ +{ + "firstOctave": -13, + "amplitudes": [ + 0.2 + ] +} diff --git a/data/continents/worldgen/noise/large/island_amount.json b/data/continents/worldgen/noise/large/island_amount.json new file mode 100755 index 0000000..42069bc --- /dev/null +++ b/data/continents/worldgen/noise/large/island_amount.json @@ -0,0 +1,8 @@ +{ + "firstOctave": -12, + "amplitudes": [ + 1.05, + 0.0, + 3 + ] +} diff --git a/data/continents/worldgen/noise/large/island_noise.json b/data/continents/worldgen/noise/large/island_noise.json new file mode 100755 index 0000000..5d5c9c3 --- /dev/null +++ b/data/continents/worldgen/noise/large/island_noise.json @@ -0,0 +1,9 @@ +{ + "firstOctave": -8, + "amplitudes": [ + 1.1, + 2.0, + 1.695, + 1.7 + ] +} diff --git a/data/continents/worldgen/noise/large/spawn/ring1.json b/data/continents/worldgen/noise/large/spawn/ring1.json new file mode 100755 index 0000000..0441249 --- /dev/null +++ b/data/continents/worldgen/noise/large/spawn/ring1.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -12, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/large/spawn/ring2.json b/data/continents/worldgen/noise/large/spawn/ring2.json new file mode 100755 index 0000000..0441249 --- /dev/null +++ b/data/continents/worldgen/noise/large/spawn/ring2.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -12, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/large/spawn/ring3.json b/data/continents/worldgen/noise/large/spawn/ring3.json new file mode 100755 index 0000000..0441249 --- /dev/null +++ b/data/continents/worldgen/noise/large/spawn/ring3.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -12, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/large/spawn/ring4.json b/data/continents/worldgen/noise/large/spawn/ring4.json new file mode 100755 index 0000000..0441249 --- /dev/null +++ b/data/continents/worldgen/noise/large/spawn/ring4.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -12, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/spawn/ring1.json b/data/continents/worldgen/noise/spawn/ring1.json new file mode 100755 index 0000000..b0fb3b6 --- /dev/null +++ b/data/continents/worldgen/noise/spawn/ring1.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -10, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/spawn/ring2.json b/data/continents/worldgen/noise/spawn/ring2.json new file mode 100755 index 0000000..b0fb3b6 --- /dev/null +++ b/data/continents/worldgen/noise/spawn/ring2.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -10, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/spawn/ring3.json b/data/continents/worldgen/noise/spawn/ring3.json new file mode 100755 index 0000000..b0fb3b6 --- /dev/null +++ b/data/continents/worldgen/noise/spawn/ring3.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -10, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/continents/worldgen/noise/spawn/ring4.json b/data/continents/worldgen/noise/spawn/ring4.json new file mode 100755 index 0000000..b0fb3b6 --- /dev/null +++ b/data/continents/worldgen/noise/spawn/ring4.json @@ -0,0 +1,7 @@ +{ + "firstOctave": -10, + "amplitudes": [ + 1, + 0.25 + ] +} diff --git a/data/minecraft/worldgen/density_function/overworld/base_continents.json b/data/minecraft/worldgen/density_function/overworld/base_continents.json new file mode 100755 index 0000000..6ce4de4 --- /dev/null +++ b/data/minecraft/worldgen/density_function/overworld/base_continents.json @@ -0,0 +1,16 @@ +{ + "type":"add", + "argument1":{ + "argument": { + "xz_scale": 0.13, + "y_scale": 0.0, + "noise": "minecraft:continentalness", + "shift_x": "minecraft:shift_x", + "shift_y": 0.0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise" + }, + "type": "minecraft:flat_cache" +}, +"argument2":"continents:continent_bias" +} \ No newline at end of file diff --git a/data/minecraft/worldgen/density_function/overworld/continents.json b/data/minecraft/worldgen/density_function/overworld/continents.json new file mode 100755 index 0000000..4a8aed0 --- /dev/null +++ b/data/minecraft/worldgen/density_function/overworld/continents.json @@ -0,0 +1,11 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"cache_2d", + "argument":{ + "type": "max", + "argument1":"continents:adjusted_continents", + "argument2":"continents:islands" +} +} +} \ No newline at end of file diff --git a/data/minecraft/worldgen/density_function/overworld_large_biomes/base_continents.json b/data/minecraft/worldgen/density_function/overworld_large_biomes/base_continents.json new file mode 100755 index 0000000..7ffe5a5 --- /dev/null +++ b/data/minecraft/worldgen/density_function/overworld_large_biomes/base_continents.json @@ -0,0 +1,16 @@ +{ + "type":"add", + "argument1":{ + "argument": { + "xz_scale": 0.2, + "y_scale": 0.0, + "noise": "minecraft:continentalness_large", + "shift_x": "minecraft:shift_x", + "shift_y": 0.0, + "shift_z": "minecraft:shift_z", + "type": "minecraft:shifted_noise" + }, + "type": "minecraft:flat_cache" +}, +"argument2":"continents:large/continent_bias" +} \ No newline at end of file diff --git a/data/minecraft/worldgen/density_function/overworld_large_biomes/continents.json b/data/minecraft/worldgen/density_function/overworld_large_biomes/continents.json new file mode 100755 index 0000000..900ad63 --- /dev/null +++ b/data/minecraft/worldgen/density_function/overworld_large_biomes/continents.json @@ -0,0 +1,11 @@ +{ + "type":"flat_cache", + "argument":{ + "type":"cache_2d", + "argument":{ + "type": "max", + "argument1":"continents:large/adjusted_continents", + "argument2":"continents:large/islands" +} +} +} \ No newline at end of file diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..d5c1159 --- /dev/null +++ b/license.txt @@ -0,0 +1,50 @@ +This License describes how all Stardust Labs datapacks and mods and their code may (and, conversely, may not) be used. This License is subject to change by Starmute and Stardust Labs at their SOLE DISCRETION at any time. This License was last altered on June 23, 2022. + + +PERMITTED USES +=================== + + - You are UNCONDITIONALLY PERMITTED to use any Stardust Labs datapacks and/or mods for whatever personal purpose you desire. You can use it on a singleplayer world and modify it as much as you want, as long as you don't distribute modified versions of the datapacks and/or mods. + + - You are PERMITTED to use Stardust Labs datapacks or mods on any Minecraft server, public or private. It is recommended, but not required, that you give credit to Stardust Labs or note somewhere on your server that said datapack or mod is in use. Furthermore: + + * You are additionally permitted to use Stardust Labs datapacks and mods in any MODIFIED form on any Minecraft server, public or private, provided that you do not distribute any modified versions of said datapacks or mods. + + - You are PERMITTED to use Stardust Labs datapacks or mods in their UNMODIFIED form as part of a publicly distributed modpack. If you do so, you MUST give credit to Stardust Labs and include a link to the relevant datapack or mod. The datapack or mod must be used in its whole form (besides any compatibility addons for other datapacks.) + + - You are PERMITTED to use Stardust Labs datapacks or mods as part of for-profit endeavors such as servers and modpacks, as long as the other guidelines of this License have been followed, appropriate credit has been given, and as long as you have not been specifically prohibited from doing so. + + + +PROHIBITED USES +==================== + + - You are FORBIDDEN to reupload, republish, or redistribute any Stardust Labs datapack or mod in a standalone format. + + - You are FORBIDDEN to reupload, republish, or redistribute any modified version of any Stardust Labs datapack or mod on its own. + + - You are FORBIDDEN to use any Stardust Labs datapack in any publicly distributed "datapack-pack" without Starmute's express permission. A "datapack-pack" is a collection of datapacks offered for download in a bundled form, which is distinct from a modpack because it can be used on an unmodified client. + + - You are FORBIDDEN to use any modified version of any Stardust Labs datapack as part of any publicly distributed modpack or "datapack-pack" without permission. This includes cases where the datapack is required to be downloaded separately, with parts being overridden. There are three exceptions to this: + + i) Changing the world seed or adding any seed randomizing functionality is allowed. + + ii) Adding structures to the pack or altering structure generation (besides altering the datapack's own structures) is allowed. + + iii) Modifying loot tables is allowed unconditionally. + + - You are FORBIDDEN to use portions of any Stardust Labs datapack or mod's code as part of any other datapack, "datapack-pack", modpack or mod without express permission. You are free to read the code and use it as a resource to learn from, but copying parts of it into another project is not allowed. There is one exception for this: + + i) Making compatibility addons between Stardust Labs datapacks and other datapacks is allowed. + +EXEMPTIONS +============= + + - Anyone currently employed by Mojang Studios is granted UNCONDITIONAL PERMISSION to use any part of any Stardust Labs datapack or mod, or its code, for any purpose relating to Minecraft's development. + + - Stardust Labs reserves the right to prohibit certain individuals and groups from profiting off of these Projects at our SOLE DISCRETION. However, no individual or group will be prohibited from using these Projects for personal purposes, or any purpose that does not involve profit, as long as the other guidelines of this License have been followed. + +OFFICIAL PERMISSION +========================== + +It should be assumed that, given Stardust Labs holds full copyright over all parts of its datapacks, that any part of this License can be overriden on an individual basis with the permission of Stardust Labs. Stardust Labs reserves the right to create and distribute modified versions of these datapacks or mods at any time, for any reason, whether personal or commissioned. \ No newline at end of file diff --git a/pack.mcmeta b/pack.mcmeta new file mode 100755 index 0000000..db8357f --- /dev/null +++ b/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "pack_format": 10, + "description": "Continents" + } +}