Minecraft Data Packs / World Generation

[Template/WorldGen] Simplified WorldGen!

    • 5,138 views, 1 today
    • 151 downloads, 0 today
    • 20
    • 16
    • 8
    SirMephistoPheles666
    Level 67 : High Grandmaster Spelunker Botanist
    169

    Introduction:



    I've been playing Minecraft since the first release, but I only realized that there were, in fact, data packs. I immediately fell in love with world generation data packs and how one minor change in the game's code can make the game feel wholly different. A simple replacement of a block makes the world golden, or it makes it so that there are pigs in the place of every single leaf block in the game for every single tree that there is! I learned, studied, and made several world generation data packs for me, my friends, and the public while playing and toying around with the Minecraft world generation code that SlicedLime (the Minecraft developer of world generation) released. But everything has changed with the cave update. Mojang completely rewrote the world generation system, and it felt like all my previous studies went down the drain like nothing, and I had to start re-learning how world generation works with each new release of Minecraft. They changed so much that I could barely stand my ground with the new world generation settings. Back in 1.16, if I wanted jungle trees in a savanna biome, I just added as few as 5 lines of code into the savanna biome, and poof, there were now extra jungle trees in the savanna biome. If you wanted end cities to generate or mansions in the nether, you could do so just as easily as the previous method did. It was simple and easy, with very few limitations. Even someone like me, who has an absolutely terrible affinity for coding, could enjoy himself. With 1.18, they removed this. If you want to add blue orchids to a biome, forget it. The game will crash. You'd like nether biomes to exist in the overworld? Nope. Crash. You'd like to add some color to cold oceans, and you'd want some coral to generate it. Nah. As soon as you tell the game that there are corals in cold ocean biomes, it'll crash. I really despise this new, overcomplicated, highly limited world generation that Mojang has implemented with the 1.18 cave update. It made my work much less enjoyable and much more frustrating, with very little sense of achievement.



    What does the data pack do?


    Honestly? Not much. You won't notice pretty much anything if you're a layman. Well... except for the new underground biomes that now can generate above ground. Yeah, sorry about that. That wasn't intentional. For some reason they now do generate above ground just as any other biome does. That was an accident. But the main goal of this data pack was to bring back the old kind of world generation. Not in the sense of gameplay but mechanics. Before 1.18 the game used as few as a few hundred, maybe even fewer lines of code to tell the world how and what sort of biomes should it generate. However, all that changed with the cave update. Now the game generates the very same biomes with the few new ones with as much as 200.000 lines of code! That's absurd. Can't even get my head around that. I can't work with that! I cannot easily modify that or change any of that! That's way too much! This data pack tries to make the world generate pretty much the same way as before but with as few lines of code as possible so me and maybe a few other inexpert, clumsy ones can get a sense of what is exactly going on in the data pack, then modify it according to their imagination. Now the game generates mostly the same biomes, mostly the same way but with 1423 lines of code instead of the default 205030.
    CompatibilityMinecraft 1.19
    toMinecraft 1.21
    Tags

    1 Update Logs

    Update #1 : by SirMephistoPheles666 11/10/2024 9:45:47 amNovember 10, 2024 @ 2:45 pm UTC

    • Updated for 1.21.1.

    Create an account or sign in to comment.

    Saisho
    10/16/2023 9:18 am
    Level 43 : Master Magical Girl
    Hey, random question for you, but I am making a mod and was wondering if I could use your worldgen code in it? My mod is called Back in Classic and is dedicated to bringing back old features with a modern twist.
    1
    SirMephistoPheles666
    10/20/2023 5:45 am
    He/Him • Level 67 : High Grandmaster Spelunker Botanist
    Sure thing. It's a template after all. It was made for these purposes. Use it freely to your heart's content :)
    2
    Apollo404
    06/07/2023 6:39 pm
    She/Her • Level 69 : High Grandmaster Terraformer Fox
    I don't see how this pack fixes any of the issues with the 1.18 update you outlined. All this does is change multi noise to be oversimplified to the point that biome placement in many places is completely messed up. There's far too much empty space on the layout, which is why you're getting cave biomes all over the surface.

    Have you heard of Snowcapped? It makes editing the vanilla biome layout an order of magnitude easier and you don't have to resort to using a crappier multi noise recreation to have new biomes in the overworld.
    2
    SirMephistoPheles666
    06/08/2023 4:04 am
    He/Him • Level 67 : High Grandmaster Spelunker Botanist
    I never said it fixes any issues. However it indeed does oversimplify the world generation which is fine by me and that's exactly what I wanted. It'll come in handy for my future data packs. My main goal was to shorten the world generation code so it's much more transparent to the naked eye. I'm not even adept at coding or at data packs and I don't have the necessary time to learn the usage of another tool like Snowcapped that's why I've been using misode's data pack editor for years. As I said it is a template data pack. Feel free to modify it or use it as you want if you're unsatisfied with it's current state. I doubt I'd have the necessary time or knowledge, expertise to fix the world generation while still sticking to the bare minimum of lines of code.
    1
    HufflePop
    06/06/2023 7:04 pm
    Level 3 : Apprentice Mage
    Looks interesting, but, the download link doesn't work.
    3
    SirMephistoPheles666
    06/07/2023 5:50 am
    He/Him • Level 67 : High Grandmaster Spelunker Botanist
    history
    Not yet. Sorry. CurseForge still has to approve the file manually.
    I don't know exactly when will the CF mods allow it. Sometimes it take a few hours. Sometimes a few days.

    Edit.: They've approved it. Now you can download. I've also added a Modrinth download link as well.
    2
    Saisho
    06/07/2023 12:35 pm
    Level 43 : Master Magical Girl
    curseforge froze uploads because someone was pushing malware
    2
    SirMephistoPheles666
    06/07/2023 1:55 pm
    He/Him • Level 67 : High Grandmaster Spelunker Botanist
    Oh. Didn't know about it. Nevertheless now it seems like they're approved the file and is up and online so there shouldn't be any more problems downloading the data pack. But if there still would be some issues on CurseForge feel free to use the Modrinth link.
    2

    Welcome