crabmaster's Avatar
Member
Level 46 Master Procrastinator
40

Wall Posts

  • crabmaster's Avatar
    crabmaster
    May 31, 2021, 3:02 pm to Public
    Been experimenting with another part of this datapack I've been working on, left trees "growing" for 24 hours. Wish I could make them grow faster but they at least look very nice.


  • crabmaster's Avatar
    crabmaster
    May 25, 2021, 3:29 pm to Public
    Been at a loss for progress on my Structures datapack so I've been working on another, here's a little sneak peak at one of my recent tests of part of the pack. Maybe you can guess what the pack will be doing.
  • crabmaster's Avatar
    crabmaster
    April 11, 2021, 12:47 pm to Public
    Well, I got the pack working in 1.17. But it will need some testing before I know none of the new blocks and such cause problems.
    Plus I might as well make some other changes so the update isn't just a hotfix for a version of the game that isn't even out yet.
  • crabmaster's Avatar
    crabmaster
    April 11, 2021, 1:19 am to Public
    Was attempting to make a quick hotfix for the structure pack to work in 1.17 although in its current form I don't intend to continue to update it for that version. Turns out the hotfix isn't entirely as easy as I was hoping and I'm trying to figure out what's preventing it from working properly in the overworld. It half works, but the "scanning" system doesn't permeate out very far.
  • crabmaster's Avatar
    crabmaster
    February 18, 2021, 6:28 pm to Public
    Crazy how busy a guy can be for half a year, still don't know when I can return to datapack stuff if basically ever... I hope I can take the time to learn the new world gen datapack features one day though as clearly 1.17 will completely break my pack.

    That new datapack stuff is super complicated though, my tiny brain just can't figure out where to dig into it first.
  • crabmaster's Avatar
    crabmaster
    December 7, 2020, 12:37 am to Public
    I haven't updated my structure generator datapack in a while, I think when I do come back to it I may label the existing post as "depreciated" and make a new post. While the structures will be mostly the same, the new ways of spawning them will likely be too different to consider it the same pack.
  • crabmaster's Avatar
    crabmaster
    July 1, 2020, 9:52 pm to Public
    Finally made more progress on the randomized fortress for the structures datapack. Most of the exterior is done now! Just need to add a door. Still need to complete the interior.



    crabmaster replied to Squidney Games's comment below 2020-07-05 14:37:27
    crabmaster's Avatar
    It is quite a multi-step process. The first scan leaves behind wool blocks in a grid with info about what kind of room that tile is (i.e. hallway, room, stairway. Each room tile is 9x9x9.), and the second scan then checks these wool blocks and leaves more behind as data for which tiles are connected and also which tiles are on the outside of the building. (You can actually see the last remaining wool blocks in the screenshots, these are where the door will spawn).
    The last scan goes from grid tile to tile and reads the wool like a physical form of data storage and uses that info to actually spawn the correct room details in.

    Here is an image of what the forts look like while still made of wool "data".

    As for the order I spawn these in to get the shape of the building, I start with hallways branching out from each other, then some of them have the chance to end with a staircase, then it works backwards adding in the rooms which are randomly sized. Once a floor is done, it checks for marker entities spawned at the staircase locations to then spawn another floor above. Halls and rooms on upper floors can only spawn tiles if there is a tile detected below, to avoid overhangs.

    For a datapack this is the best I know for storing large amounts of data like an array and then reading it back, if this were a modpack I'd be storing all that info with numbers instead of wool blocks. I don't believe I could spawn a fortress this complex with Jigsaw Blocks either, as the fortress's interior is quite complex including an increasing difficulty the further in you get.
    Squidney Games said 2020-07-05 13:09:14
    Squidney Games's Avatar
    How do you make the fortress randomized?
  • crabmaster's Avatar
    crabmaster
    May 14, 2020, 7:32 pm to Public
    Making progress towards generating big randomized dungeons! Here's some screenshots of some WIP ones I generated.



Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome