Removed chunk generator settings

Changes to be committed:
	modified:   src/main/java/org/dimdev/dimdoors/world/ModDimensions.java
	modified:   src/main/resources/data/dimdoors/dimension/limbo.json
This commit is contained in:
SD 2020-09-09 18:01:59 +05:30
parent e8d86f7461
commit 08209a4965
No known key found for this signature in database
GPG key ID: E36B57EE08544BC5
2 changed files with 40 additions and 48 deletions

View file

@ -72,8 +72,45 @@ public final class ModDimensions {
} }
static { static {
StructuresConfig limboStructuresConfig = new StructuresConfig(Optional.of(StructuresConfig.DEFAULT_STRONGHOLD), ImmutableMap.of()); // TODO: Remove all settings from json dimensions
GenerationShapeConfig limboShapeConfig = new GenerationShapeConfig(128, new NoiseSamplingConfig(0.94213419649817745, 1.102539814507745, 80, 120), new SlideConfig(-1, 3, 0), new SlideConfig(60, 2, 2), 2, 4, 1, -0.16875, true, true, true, true); StructuresConfig limboStructuresConfig = new StructuresConfig(
LIMBO_CHUNK_GENERATOR_SETTINGS = ChunkGeneratorSettingsAccessor.invokeInit(limboStructuresConfig, limboShapeConfig, ModBlocks.UNRAVELLED_FABRIC.getDefaultState(), ModBlocks.ETERNAL_FLUID.getDefaultState(), 5, -1, 8, false); Optional.of(StructuresConfig.DEFAULT_STRONGHOLD),
ImmutableMap.of()
);
GenerationShapeConfig limboShapeConfig = new GenerationShapeConfig(
128,
new NoiseSamplingConfig(
0.94213419649817745,
1.102539814507745,
80, 120
),
new SlideConfig(
-1,
3,
0
),
new SlideConfig(
60,
2,
2
), 2,
4,
1,
-0.16875,
true,
true,
true,
true
);
LIMBO_CHUNK_GENERATOR_SETTINGS = ChunkGeneratorSettingsAccessor.invokeInit(
limboStructuresConfig,
limboShapeConfig,
ModBlocks.UNRAVELLED_FABRIC.getDefaultState(),
ModBlocks.ETERNAL_FLUID.getDefaultState(),
-1,
5,
8,
false
);
} }
} }

View file

@ -4,51 +4,6 @@
"type": "dimdoors:limbo_chunk_generator", "type": "dimdoors:limbo_chunk_generator",
"biome_source": { "biome_source": {
"type": "dimdoors:limbo_biome_source" "type": "dimdoors:limbo_biome_source"
},
"settings": {
"bedrock_floor_position": 0,
"bedrock_roof_position": -1,
"disable_mob_generation": false,
"sea_level": 8,
"structures": {
"structures": {}
},
"noise": {
"density_factor": 1,
"density_offset": -0.16875,
"simplex_surface_noise": true,
"random_density_offset": true,
"island_noise_override": false,
"amplified": true,
"size_horizontal": 2,
"size_vertical": 4,
"height": 128,
"sampling": {
"xz_scale": 0.94213419649817745,
"y_scale": 1.102539814507745,
"xz_factor": 80,
"y_factor": 120
},
"bottom_slide": {
"target": 60,
"size": 2,
"offset": 2
},
"top_slide": {
"target": -1,
"size": 3,
"offset": 0
}
},
"default_block": {
"Name": "dimdoors:unravelled_fabric"
},
"default_fluid": {
"Name": "dimdoors:eternal_fluid",
"Properties": {
"level": "0"
}
}
} }
} }
} }