nicer sand dunes!
This commit is contained in:
parent
0fa887ebe1
commit
9ff82c5d53
6 changed files with 1710 additions and 1525 deletions
16
kubejs/data/tfg/worldgen/density_function/mars/dune.json
Normal file
16
kubejs/data/tfg/worldgen/density_function/mars/dune.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "minecraft:cache_2d",
|
||||
"argument": {
|
||||
"type": "minecraft:mul",
|
||||
"argument1": -1,
|
||||
"argument2": {
|
||||
"type": "minecraft:abs",
|
||||
"argument": {
|
||||
"type": "minecraft:noise",
|
||||
"noise": "tfg:mars_dunes_size",
|
||||
"xz_scale": 1,
|
||||
"y_scale": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"type": "minecraft:cache_2d",
|
||||
"argument": {
|
||||
"type": "minecraft:spline",
|
||||
"spline": {
|
||||
"coordinate": {
|
||||
"type": "minecraft:noise",
|
||||
"noise": "tfg:mars_dunes_offset",
|
||||
"xz_scale": 1,
|
||||
"y_scale": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"location": -1,
|
||||
"derivative": 5.196152422706632,
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"location": 1,
|
||||
"derivative": 5.196152422706632,
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"type": "minecraft:cache_2d",
|
||||
"argument": {
|
||||
"type": "minecraft:spline",
|
||||
"spline": {
|
||||
"coordinate": {
|
||||
"type": "minecraft:noise",
|
||||
"noise": "tfg:mars_dunes_offset",
|
||||
"xz_scale": 1,
|
||||
"y_scale": 0
|
||||
},
|
||||
"points": [
|
||||
{
|
||||
"location": -1,
|
||||
"derivative": 0,
|
||||
"value": -1
|
||||
},
|
||||
{
|
||||
"location": 0,
|
||||
"derivative": 0,
|
||||
"value": 1
|
||||
},
|
||||
{
|
||||
"location": 1,
|
||||
"derivative": 0,
|
||||
"value": -1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,9 +1,16 @@
|
|||
{
|
||||
"type": "minecraft:flat_cache",
|
||||
"type": "minecraft:cache_2d",
|
||||
"argument": {
|
||||
"type": "minecraft:noise",
|
||||
"noise": "tfg:mars_dunes_size",
|
||||
"xz_scale": 1.0,
|
||||
"y_scale": 1.0
|
||||
"type": "minecraft:mul",
|
||||
"argument1": -1,
|
||||
"argument2": {
|
||||
"type": "minecraft:abs",
|
||||
"argument": {
|
||||
"type": "minecraft:noise",
|
||||
"noise": "tfg:mars_dunes_size",
|
||||
"xz_scale": 1,
|
||||
"y_scale": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@
|
|||
"type": "minecraft:noise_threshold",
|
||||
"noise": "tfg:mars_dunes_color",
|
||||
"min_threshold": -2.0,
|
||||
"max_threshold": -0.25
|
||||
"max_threshold": -0.4
|
||||
},
|
||||
"then_run": {
|
||||
"type": "minecraft:block",
|
||||
|
|
@ -427,7 +427,7 @@
|
|||
"if_true": {
|
||||
"type": "minecraft:noise_threshold",
|
||||
"noise": "tfg:mars_dunes_color",
|
||||
"min_threshold": -0.25,
|
||||
"min_threshold": -0.4,
|
||||
"max_threshold": 0.05
|
||||
},
|
||||
"then_run": {
|
||||
|
|
@ -478,7 +478,7 @@
|
|||
"type": "minecraft:noise_threshold",
|
||||
"noise": "tfg:mars_dunes_color",
|
||||
"min_threshold": -2.0,
|
||||
"max_threshold": -0.25
|
||||
"max_threshold": -0.4
|
||||
},
|
||||
"then_run": {
|
||||
"type": "minecraft:block",
|
||||
|
|
@ -492,7 +492,7 @@
|
|||
"if_true": {
|
||||
"type": "minecraft:noise_threshold",
|
||||
"noise": "tfg:mars_dunes_color",
|
||||
"min_threshold": -0.25,
|
||||
"min_threshold": -0.4,
|
||||
"max_threshold": 0.05
|
||||
},
|
||||
"then_run": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue