Skip to content

Commit

Permalink
Attempt on adding more Height Variation to Islands
Browse files Browse the repository at this point in the history
  • Loading branch information
Builderdog841 committed May 24, 2024
1 parent c65e212 commit 36f63da
Show file tree
Hide file tree
Showing 7 changed files with 1,322 additions and 1,219 deletions.
2,274 changes: 1,137 additions & 1,137 deletions runs/data/logs/debug.log

Large diffs are not rendered by default.

140 changes: 70 additions & 70 deletions runs/data/logs/latest.log

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.20.4 2024-05-23T17:02:51.2260344 Registries
// 1.20.4 2024-05-23T20:33:35.598686 Registries
b78469a73034027fe4093a9f38f8ddf25245cbf8 data/ancient_aether/aether/moa_type/burgundy.json
192dc5b429ccc1fd65fe571348b15cd968ad4828 data/ancient_aether/aether/moa_type/lavender.json
c70aa583fc8d45c16266b14c717fe53b58e90cce data/ancient_aether/aether/moa_type/sakura.json
Expand Down Expand Up @@ -115,6 +115,7 @@ f62e1503ccaebdd26bcb6ce62143eb7986ce5dd3 data/ancient_aether/worldgen/configured
02494c1f1168e7d1007d6bc2c0c68808cc4b6fcf data/ancient_aether/worldgen/noise/amplifier.json
0d54d9dd0a80d33fb877aba0aced71c402994add data/ancient_aether/worldgen/noise/amplifier_factor.json
20ddbabfded8546f8d71cb1689cd15c42bc77244 data/ancient_aether/worldgen/noise/erosion.json
03978329313b9c606618157db6ec26d31e05548c data/ancient_aether/worldgen/noise/height_factor.json
22f4b5f6690126b078167740af0939ccec9ca7b5 data/ancient_aether/worldgen/noise/jagged.json
6218074acb208edb079f875e1df0fce6c66599d0 data/ancient_aether/worldgen/noise/noise_caves.json
3e9a8abf6af4e034b6c608e860a7c2e3c2bcc1f5 data/ancient_aether/worldgen/noise/noise_cave_factor.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"amplitudes": [
1.0,
0.25,
0.0,
0.0
],
"firstOctave": -8
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class AncientAetherNoises {
public static final ResourceKey<NormalNoise.NoiseParameters> AMPLIFIER_FACTOR = createKey("amplifier_factor");
public static final ResourceKey<NormalNoise.NoiseParameters> SKYLANDS_AQUIFER = createKey("skylands_aquifer");
public static final ResourceKey<NormalNoise.NoiseParameters> SKYLANDS_AQUIFER_FACTOR = createKey("skylands_aquifer_factor");
public static final ResourceKey<NormalNoise.NoiseParameters> HEIGHT_FACTOR = createKey("height_factor");
public static final ResourceKey<NormalNoise.NoiseParameters> VALKYRIE_CLAY = createKey("valkyrie_clay");

private static ResourceKey<NormalNoise.NoiseParameters> createKey(String name) {
Expand All @@ -35,6 +36,7 @@ public static void bootstrap(BootstapContext<NormalNoise.NoiseParameters> contex
register(context, AMPLIFIER_FACTOR, -8, 0.8, 0.6, 0.25, 0.0, 0.0, 0.0, 0.0);
register(context, SKYLANDS_AQUIFER, -6, 1.5, 0.5, 0.0, 0.0, 0.0);
register(context, SKYLANDS_AQUIFER_FACTOR, -8, 1.25, 0.0, 0.25, 0.0);
register(context, HEIGHT_FACTOR, -8, 1.0, 0.25, 0.0, 0.0);
register(context, VALKYRIE_CLAY, -4, 1.0, 0.25, 0.0, 0.0);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "minecraft:abs",
"argument": {
"type": "minecraft:shifted_noise",
"noise": "ancient_aether:height_factor",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.4,
"y_scale": 0.0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,52 @@
},
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 0.0,
"from_y": -512,
"to_value": 1.0,
"to_y": 112
"argument1":
{
"type": "minecraft:spline",
"spline": {
"coordinate": "ancient_aether:height_factor",
"points": [
{
"derivative": 0.0,
"location": 0.0,
"value": {
"coordinate": "minecraft:y",
"points": [
{
"derivative": 0.0,
"location": -512,
"value": 0
},
{
"derivative": 0.0,
"location": 112,
"value": 1
}
]
}
},
{
"derivative": 0.0,
"location": 0.35,
"value": {
"coordinate": "minecraft:y",
"points": [
{
"derivative": 0.0,
"location": -480,
"value": 0
},
{
"derivative": 0.0,
"location": 144,
"value": 1
}
]
}
}
]
}
},
"argument2": {
"type": "minecraft:add",
Expand All @@ -42,11 +82,50 @@
"argument2": {
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 1.0,
"from_y": 112,
"to_value": 0.0,
"to_y": 180
"type": "minecraft:spline",
"spline": {
"coordinate": "ancient_aether:height_factor",
"points": [
{
"derivative": 0.0,
"location": 0.0,
"value": {
"coordinate": "minecraft:y",
"points": [
{
"derivative": 0.0,
"location": 112,
"value": 1
},
{
"derivative": 0.0,
"location": 180,
"value": 0
}
]
}
},
{
"derivative": 0.0,
"location": 0.35,
"value": {
"coordinate": "minecraft:y",
"points": [
{
"derivative": 0.0,
"location": 144,
"value": 1
},
{
"derivative": 0.0,
"location": 212,
"value": 0
}
]
}
}
]
}
},
"argument2": {
"type": "minecraft:add",
Expand Down

0 comments on commit 36f63da

Please sign in to comment.