Skip to content

Commit

Permalink
Init commit - v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
catter1 committed Nov 7, 2022
0 parents commit 9ad9da2
Show file tree
Hide file tree
Showing 52 changed files with 1,252 additions and 0 deletions.
36 changes: 36 additions & 0 deletions data/continents/worldgen/density_function/adjusted_continents.json
Original file line number Diff line number Diff line change
@@ -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"

}
}
}
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
55 changes: 55 additions & 0 deletions data/continents/worldgen/density_function/centroid/ring1_sync.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
55 changes: 55 additions & 0 deletions data/continents/worldgen/density_function/centroid/ring2_sync.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
55 changes: 55 additions & 0 deletions data/continents/worldgen/density_function/centroid/ring3_sync.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}
55 changes: 55 additions & 0 deletions data/continents/worldgen/density_function/centroid/ring4_sync.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
Original file line number Diff line number Diff line change
@@ -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"
}
}}
Loading

0 comments on commit 9ad9da2

Please sign in to comment.