Skip to content

Commit

Permalink
added datagen for Otherside dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
NewJumper committed Jul 17, 2024
1 parent 0b527e8 commit ff56aa9
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 109 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// 1.20.1 2024-07-17T13:51:02.0878107 Registries
// 1.20.1 2024-07-17T16:12:16.1213518 Registries
65c8c67a4ec7ef0ce6846fb2f4d921cc6ceb02e2 data/deeperdarker/damage_type/bite.json
0b65c61bd1e5086d0f3685566cc6cecf6e324516 data/deeperdarker/damage_type/ring.json
15881d75b17d8e2c97fd9a222b284aa19b999fe4 data/deeperdarker/dimension/otherside.json
67f8cd0621b1c3614da8c1910f6b7bcb61660293 data/deeperdarker/dimension_type/otherside.json
897e2034f77e7e2272cdb8d8e508e731ecfcfa16 data/deeperdarker/worldgen/biome/blooming_caverns.json
4491dd6887a8760b77f9a28406c3e4c0535b108d data/deeperdarker/worldgen/biome/deeplands.json
Expand Down Expand Up @@ -53,6 +54,7 @@ b8c3bd59a4e59f1077d06e8f598c08387b66a40b data/deeperdarker/worldgen/configured_f
8d9c10bf4c7aa2ff2fa6f7aa8c3b646ab05433b9 data/deeperdarker/worldgen/configured_feature/surface_sculk_stone.json
853f5d90238319461c608dc077bc999afe6b8bcb data/deeperdarker/worldgen/configured_feature/tree_echo.json
5df9b477f5858b1cf8e0d3d0db7bff27a7a07d97 data/deeperdarker/worldgen/configured_feature/water_edge_blooming.json
8c5ca4b878dc35e7594e4aea2e31c49276a63328 data/deeperdarker/worldgen/noise_settings/otherside.json
34fb9a5e22128132e9fb0b0a7700008873e4ac41 data/deeperdarker/worldgen/placed_feature/blooming_moss.json
86e9199652b2f2b45db99b8aba845e0c841ee88c data/deeperdarker/worldgen/placed_feature/blooming_plant.json
7a014f12c936a2ce55cd0df3b6e7d66934996c63 data/deeperdarker/worldgen/placed_feature/blooming_pool.json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,59 @@
"type": "deeperdarker:otherside",
"generator": {
"type": "minecraft:noise",
"settings": "deeperdarker:otherside",
"biome_source": {
"type": "minecraft:multi_noise",
"biomes": [
{
"biome": "deeperdarker:deeplands",
"parameters": {
"temperature": -0.5,
"continentalness": 0.0,
"depth": 0.0,
"erosion": 0.0,
"humidity": -0.5,
"continentalness": 0,
"erosion": 0,
"weirdness": 0,
"depth": 0,
"offset": 0
"offset": 0.0,
"temperature": -0.5,
"weirdness": 0.0
}
},
{
"biome": "deeperdarker:echoing_forest",
"parameters": {
"temperature": 0.3,
"humidity": 0.5,
"continentalness": 0,
"continentalness": 0.0,
"depth": 0.0,
"erosion": 0.4,
"weirdness": 0,
"depth": 0,
"offset": 0
"humidity": 0.5,
"offset": 0.0,
"temperature": 0.3,
"weirdness": 0.0
}
},
{
"biome": "deeperdarker:blooming_caverns",
"parameters": {
"temperature": -0.3,
"humidity": 0.2,
"continentalness": 0,
"continentalness": 0.0,
"depth": 0.0,
"erosion": 0.5,
"weirdness": 0,
"depth": 0,
"offset": 0
"humidity": 0.2,
"offset": 0.0,
"temperature": -0.3,
"weirdness": 0.0
}
},
{
"biome": "deeperdarker:overcast_columns",
"parameters": {
"temperature": 0.6,
"humidity": 0.2,
"continentalness": -0.4,
"depth": 0.0,
"erosion": 0.2,
"weirdness": 0,
"depth": 0,
"offset": 0
"humidity": 0.2,
"offset": 0.0,
"temperature": 0.6,
"weirdness": 0.0
}
}
]
}
},
"settings": "deeperdarker:otherside"
}
}
Original file line number Diff line number Diff line change
@@ -1,49 +1,24 @@
{
"sea_level": 17,
"disable_mob_generation": false,
"aquifers_enabled": false,
"ore_veins_enabled": true,
"legacy_random_source": false,
"default_block": {
"Name": "deeperdarker:sculk_stone"
},
"default_fluid": {
"Name": "deeperdarker:sculk_grime"
},
"disable_mob_generation": false,
"legacy_random_source": false,
"noise": {
"min_y": 0,
"height": 128,
"min_y": 0,
"size_horizontal": 1,
"size_vertical": 2
},
"noise_router": {
"barrier": 0,
"fluid_level_floodedness": 0,
"fluid_level_spread": 0,
"lava": 0,
"temperature": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:temperature",
"xz_scale": 2.5,
"y_scale": 0,
"shift_x": "minecraft:shift_x",
"shift_y": 0,
"shift_z": "minecraft:shift_z"
},
"vegetation": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:vegetation",
"xz_scale": 0.6,
"y_scale": 0,
"shift_x": "minecraft:shift_x",
"shift_y": 0,
"shift_z": "minecraft:shift_z"
},
"continents": 0,
"erosion": 0,
"depth": 0,
"ridges": 0,
"initial_density_without_jaggedness": 0,
"barrier": 0.0,
"continents": 0.0,
"depth": 0.0,
"erosion": 0.0,
"final_density": {
"type": "minecraft:squeeze",
"argument": {
Expand All @@ -60,10 +35,10 @@
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 0.0,
"from_y": -8,
"to_y": 15,
"from_value": 0,
"to_value": 1
"to_value": 1.0,
"to_y": 15
},
"argument2": {
"type": "minecraft:add",
Expand All @@ -75,10 +50,10 @@
"type": "minecraft:mul",
"argument1": {
"type": "minecraft:y_clamped_gradient",
"from_value": 1.0,
"from_y": 104,
"to_y": 128,
"from_value": 1,
"to_value": 0
"to_value": 0.0,
"to_y": 128
},
"argument2": {
"type": "minecraft:add",
Expand All @@ -94,27 +69,49 @@
}
}
},
"vein_toggle": 0,
"vein_ridged": 0,
"vein_gap": 0
"fluid_level_floodedness": 0.0,
"fluid_level_spread": 0.0,
"initial_density_without_jaggedness": 0.0,
"lava": 0.0,
"ridges": 0.0,
"temperature": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:temperature",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 2.5,
"y_scale": 0.0
},
"vegetation": {
"type": "minecraft:shifted_noise",
"noise": "minecraft:vegetation",
"shift_x": "minecraft:shift_x",
"shift_y": 0.0,
"shift_z": "minecraft:shift_z",
"xz_scale": 0.6,
"y_scale": 0.0
},
"vein_gap": 0.0,
"vein_ridged": 0.0,
"vein_toggle": 0.0
},
"ore_veins_enabled": true,
"sea_level": 17,
"spawn_target": [],
"surface_rule": {
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"random_name": "minecraft:bedrock_roof",
"true_at_and_below": {
"below_top": 5
},
"false_at_and_above": {
"below_top": 1
}
"type": "minecraft:vertical_gradient",
"false_at_and_above": {
"above_bottom": 5
},
"random_name": "minecraft:bedrock_floor",
"true_at_and_below": {
"above_bottom": 0
}
},
"then_run": {
Expand All @@ -127,13 +124,16 @@
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:vertical_gradient",
"random_name": "minecraft:bedrock_floor",
"true_at_and_below": {
"above_bottom": 1
},
"false_at_and_above": {
"above_bottom": 5
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"false_at_and_above": {
"below_top": 0
},
"random_name": "minecraft:bedrock_roof",
"true_at_and_below": {
"below_top": 5
}
}
},
"then_run": {
Expand All @@ -155,10 +155,10 @@
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": true,
"secondary_depth_range": 0
"offset": 0,
"secondary_depth_range": 0,
"surface_type": "floor"
},
"then_run": {
"type": "minecraft:block",
Expand All @@ -172,10 +172,10 @@
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:stone_depth",
"offset": 0,
"surface_type": "floor",
"add_surface_depth": false,
"secondary_depth_range": 0
"offset": 0,
"secondary_depth_range": 0,
"surface_type": "floor"
},
"then_run": {
"type": "minecraft:sequence",
Expand Down Expand Up @@ -222,16 +222,13 @@
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"random_name": "minecraft:deepslate_roof",
"true_at_and_below": {
"absolute": 116
},
"false_at_and_above": {
"absolute": 128
}
"type": "minecraft:vertical_gradient",
"false_at_and_above": {
"above_bottom": 12
},
"random_name": "minecraft:deepslate_floor",
"true_at_and_below": {
"above_bottom": 0
}
},
"then_run": {
Expand All @@ -247,13 +244,16 @@
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:vertical_gradient",
"random_name": "minecraft:deepslate_floor",
"true_at_and_below": {
"absolute": 0
},
"false_at_and_above": {
"absolute": 12
"type": "minecraft:not",
"invert": {
"type": "minecraft:vertical_gradient",
"false_at_and_above": {
"below_top": 0
},
"random_name": "minecraft:deepslate_roof",
"true_at_and_below": {
"below_top": 12
}
}
},
"then_run": {
Expand Down Expand Up @@ -283,4 +283,4 @@
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.kyanite.deeperdarker.world.DDPlacedFeatures;
import com.kyanite.deeperdarker.world.otherside.OthersideBiomes;
import com.kyanite.deeperdarker.world.otherside.OthersideDimension;
import com.kyanite.deeperdarker.world.otherside.gen.OthersideGeneration;
import com.kyanite.deeperdarker.world.structures.DDPools;
import com.kyanite.deeperdarker.world.structures.DDProcessorLists;
import com.kyanite.deeperdarker.world.structures.DDStructureSets;
Expand All @@ -25,6 +26,8 @@ public class DDRegistriesGenerator extends DatapackBuiltinEntriesProvider {
.add(Registries.CONFIGURED_FEATURE, DDConfiguredFeatures::bootstrap)
.add(Registries.DAMAGE_TYPE, DDDamageTypes::bootstrap)
.add(Registries.DIMENSION_TYPE, OthersideDimension::bootstrap)
.add(Registries.LEVEL_STEM, OthersideGeneration::levelBootstrap)
.add(Registries.NOISE_SETTINGS, OthersideGeneration::noiseBootstrap)
.add(Registries.PLACED_FEATURE, DDPlacedFeatures::bootstrap)
.add(Registries.PROCESSOR_LIST, DDProcessorLists::bootstrap)
.add(Registries.STRUCTURE, DDStructures::bootstrap)
Expand Down
Loading

0 comments on commit ff56aa9

Please sign in to comment.