From 444bc17746d8c44703eb6d6cb7834a78dab212c5 Mon Sep 17 00:00:00 2001 From: CosmoOrSth <79050675+CosmoOrSth@users.noreply.github.com> Date: Mon, 28 Jul 2025 22:46:19 +0530 Subject: [PATCH] Added World Type --- gradle.properties | 2 +- .../assets/scorched_earth/lang/en_us.json | 5 +++++ .../tags/worldgen/world_preset/normal.json | 3 +++ .../world_preset/scorched_earth_preset.json | 15 +++++++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/scorched_earth/lang/en_us.json create mode 100644 src/main/resources/data/minecraft/tags/worldgen/world_preset/normal.json create mode 100644 src/main/resources/data/scorched_earth/worldgen/world_preset/scorched_earth_preset.json diff --git a/gradle.properties b/gradle.properties index ad61ee4..e2beaa4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx6G org.gradle.parallel=true # Fabric Properties diff --git a/src/main/resources/assets/scorched_earth/lang/en_us.json b/src/main/resources/assets/scorched_earth/lang/en_us.json new file mode 100644 index 0000000..eaaf304 --- /dev/null +++ b/src/main/resources/assets/scorched_earth/lang/en_us.json @@ -0,0 +1,5 @@ +{ + +"generator.scorched_earth.scorched_earth_preset": "Scorched Earth" + +} \ No newline at end of file diff --git a/src/main/resources/data/minecraft/tags/worldgen/world_preset/normal.json b/src/main/resources/data/minecraft/tags/worldgen/world_preset/normal.json new file mode 100644 index 0000000..d1a272f --- /dev/null +++ b/src/main/resources/data/minecraft/tags/worldgen/world_preset/normal.json @@ -0,0 +1,3 @@ +{ + "values": ["scorched_earth:scorched_earth_preset"] +} \ No newline at end of file diff --git a/src/main/resources/data/scorched_earth/worldgen/world_preset/scorched_earth_preset.json b/src/main/resources/data/scorched_earth/worldgen/world_preset/scorched_earth_preset.json new file mode 100644 index 0000000..e9e2e15 --- /dev/null +++ b/src/main/resources/data/scorched_earth/worldgen/world_preset/scorched_earth_preset.json @@ -0,0 +1,15 @@ +{ + "dimensions": { + "minecraft:overworld": { + "type": "minecraft:overworld", + "generator": { + "type": "minecraft:noise", + "biome_source": { + "type": "minecraft:multi_noise", + "preset": "minecraft:overworld" + }, + "settings": "minecraft:overworld" + } + } + } +} \ No newline at end of file