A Datapack for people who make Structure Datapacks

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 107

  • @lixun7390
    @lixun7390 3 місяці тому +120

    Brother at this point you should have at least 10k subscribers

    • @rane7784
      @rane7784 3 місяці тому +4

      cant just blame the algorithm tho. Datapack making in general is severely underrated and even though we're growing every time mojang gives us new datapack features, we also lose some because of how stressful and limited datapack making is.
      Stuff will definitely change if they finally gave us more data-driven features and people like Conure will gain more subs because we'll need more people like him

    • @bluestonecreepr
      @bluestonecreepr 3 місяці тому

      they have mine!

  • @enderspider5001
    @enderspider5001 3 місяці тому +95

    Omg you don’t know how much PAIN IVE ENDURED while trying to hollow out structures. This is a life saver. Subbed

    • @callisto9_2
      @callisto9_2 3 місяці тому +6

      slugcat pfp is wild

    • @enderspider5001
      @enderspider5001 3 місяці тому +3

      @@callisto9_2 I get so many of these comments lmao

    • @Xylosine
      @Xylosine 3 місяці тому +3

      Slugcar

  • @NeunEinser
    @NeunEinser 3 місяці тому +22

    Fyi, the proper name fir "dynamic fill" is "flood fill"
    Very useful though!

  • @MuffinTastic
    @MuffinTastic 3 місяці тому +54

    i have never touched structure blocks in minecraft but i recognize a useful thing when i see it, gonna leave a comment so more people have a chance of seeing this. nice work

    • @schbeinvalf5709
      @schbeinvalf5709 3 місяці тому

      fair enough, macros are always really useful!

  • @moldest
    @moldest 3 місяці тому +39

    This is magic, I cannot be convinced otherwise

    • @toreole5831
      @toreole5831 3 місяці тому

      Umm actually its […]🤓🤓🤓

  • @Benefard
    @Benefard 3 місяці тому +11

    i don't make custom structures but your videos are super entertaining to watch, really underrated

  • @GameJam230
    @GameJam230 3 місяці тому +1

    Another nice addition to this could be a command to give you a clickable item that performs the fill macros every time they're used, especially for dynamic fills. That way you could type the command once to get a clickable item that replaces all air blocks with a specified one, like voids or bedrock or something else, but you only need to run the command once and then just have the item available.
    Then again, really thinking about it, that would be a good idea for a datapack in general- a function macro item generator. You can just pass it the function to call and parameters to pass (if required) and get an item that runs it every time clicked. I might just do that myself, in fact...

  • @bobisnotaperson
    @bobisnotaperson 3 місяці тому +10

    oh this is HUGE, i wish i had this years ago...

  • @nugrevan_music
    @nugrevan_music 3 місяці тому +6

    I think you just saved me from going insane, I am working on a dungeon generator and I have BILLIONS of structure voids to place xD ❤👍

  • @bassbong160
    @bassbong160 3 місяці тому +13

    Bro just took hours of manually doing voids and turned it into minutes

  • @dabdotnet
    @dabdotnet 3 місяці тому +15

    3D paint bucket tool

  • @RamenLlama
    @RamenLlama 3 місяці тому +1

    This would be super super handy for me if I had kept learning how to make structures last year lol. Good tool! Seems really useful. Hopefully lots of people can give this a try.

  • @AndreSkipper
    @AndreSkipper 3 місяці тому +10

    Really really useful actually!
    This gave me ideas to further expand its functionality:
    For example, being able to change the box's volume and displacement/offset in-world.

    • @conure512
      @conure512  3 місяці тому +9

      Something I forgot to mention is that it auto-updates when you make these changes! You can move the box around from within the structure block UI, and if you do, your commands will automatically obey that without needing to re-select the structure block

    • @AndreSkipper
      @AndreSkipper 3 місяці тому +6

      @@conure512 That's some QoL right there :) Does it take the data every tick or periodically?

    • @conure512
      @conure512  3 місяці тому +5

      @@AndreSkipper Neither - it just re-calculates the bounding box every time you run one of those commands!

    • @AndreSkipper
      @AndreSkipper 3 місяці тому +7

      @@conure512 I somehow expected you'd have done something like that instead of brute forcing it, but woah it makes so much sense to re calc before every command. You're too smart 😔

  • @catharsis9789
    @catharsis9789 3 місяці тому +7

    lmao imagining a mojang dev using this, very clever

  • @vindi167
    @vindi167 3 місяці тому +1

    this is AMAZING. this will save so much time on everything.

  • @As1anCr4ck3r
    @As1anCr4ck3r 3 місяці тому

    genuinely an amazing datapack. I dont particularly use structure blocks, only used once or twice but this is world edit levels of useful

  • @NitroNovaMusic
    @NitroNovaMusic 3 місяці тому

    I feel like you've just opened the floodgates, man. We're gonna see a lot more structures, now! Nice work.

  • @arxligion
    @arxligion 3 місяці тому +1

    So like a bucket fill on a draw program. Sick

  • @holypython4418
    @holypython4418 3 місяці тому

    So its like the fill bucket in paint, nice

  • @nolan9431
    @nolan9431 3 місяці тому

    I would like to mention that "Structure Gel API" mod has similar (and expanded) functionality. I understand this is a good alternative for vanilla Minecraft though.

  • @baronbacku9984
    @baronbacku9984 3 місяці тому +1

    this looks perfect for a project i'm currently working on! tysm!

  • @nicknevco215
    @nicknevco215 2 місяці тому +1

    Well done

  • @BrackenStrike
    @BrackenStrike 3 місяці тому +4

    You're a wizard.

  • @GameJam230
    @GameJam230 3 місяці тому

    Another simple algorithm that could be used, at least for relatively basic structures that only consist of an "inside" and "outside" is just doing a collision line from a point to the edges of the space, or the first collision with the boundary of the shape (whichever comes first) in both directions. If that line intersects with an even number of points on the boundary of the shape in that space, it must be INSIDE the shape, but if it intersects at an odd number of points, it must be outside.
    Now, you don't actually need to perform a raycast at every block, as you would be iterating over the blocks and keeping track of the number of structure solid boundaries you've crossed as you do. It has a bit more to account for obviously, but I've got an idea in mind for how it could be done.
    Of course, that's not to say your spreading approach is bad at all, it only fails in situations where the structure features multiple outer sections entirely separated by walls, but then you can just run the command 2 or 3 times, but it's still a neat idea to me to do it all in one go.

  • @mingamerking
    @mingamerking 3 місяці тому

    This seems like it is really helpful

  • @ReefChong
    @ReefChong 3 місяці тому +1

    This is SOOOO underrated!

  • @zitronenwasser
    @zitronenwasser 3 місяці тому

    This is definetly going in my Playlist for stuff i will use in the future, thanks!
    Though i do not think as of right now i will use the structure blocks... yet

  • @thje
    @thje 3 місяці тому +1

    i dont even need this i just like watching it

  • @changelog0323
    @changelog0323 3 місяці тому +3

    MAN THIS IS SOO GOOD, thank you so much

  • @benenwren4110
    @benenwren4110 3 місяці тому +3

    this is awesome thank you dude

  • @georgplaz
    @georgplaz 3 місяці тому +1

    cool! I think flood fill would have been a better name. cheers

  • @FrozenFreez3r
    @FrozenFreez3r 3 місяці тому +6

    why did you wait till now to make this???
    my life just got 200x easier

  • @ratlinggull2223
    @ratlinggull2223 3 місяці тому

    I watched you for the custom enchantment content! Need more enchantment content!

  • @gecka91
    @gecka91 3 місяці тому

    Im always watching 😂 also fancy data pack I like it ❤

  • @Rikaisan
    @Rikaisan 3 місяці тому +2

    Really cool! Good work :)

  • @zperk13
    @zperk13 3 місяці тому +8

    surprised you didnt call it flood fill instead of dynamic fill

    • @conure512
      @conure512  3 місяці тому +1

      that does sound really cool. but then again i think dynamic fill does too lol

    • @zperk13
      @zperk13 3 місяці тому +1

      @@conure512 It's not because it sounds cool, it's because it's the literal name of the algorithm en.wikipedia.org/wiki/Flood_fill

    • @conure512
      @conure512  3 місяці тому +1

      @@zperk13 Huh. Didn't know it was already a thing. That's neat

  • @M_1024
    @M_1024 3 місяці тому +1

    I think what you call "dynamic fill" is actually called "flood fill"

  • @augustine6683
    @augustine6683 Місяць тому

    An undo command would probably be useful

  • @Shywizz
    @Shywizz 3 місяці тому

    This is really cool.

  • @Redditard
    @Redditard 3 місяці тому +1

    This is lit 🔥🔥

  • @RepeatSalt
    @RepeatSalt 3 місяці тому

    ARRRGHHHHHH FINALLY

  • @misterk7_-
    @misterk7_- 3 місяці тому +1

    Very cool. Also how am I not already subscribed to you lol... REMIND PEOPLE TO SUBSCRIBE!

    • @conure512
      @conure512  3 місяці тому +2

      Thank you, but no, I'm not gonna do that haha. When you don't ask, the people who DO subscribe tend to be much more likely to stick around rather than unsub or just stop watching your content
      Also it just kinda feels rude to ask for it lol

    • @misterk7_-
      @misterk7_- 3 місяці тому +1

      @@conure512 that's true!

  • @battlnerd2128
    @battlnerd2128 3 місяці тому

    bro made a library datapack

  • @mathgeniuszach
    @mathgeniuszach 3 місяці тому +1

    WAIT, MACROS ARE A THING NOW!?!?!? When were those added, out of curiosity? That's actually really awesome, and was one of the main things functions/commands were missing. I remember being unable to do a lot of things simply because I couldn't use scoreboard variables in the place of coordinates.

    • @prismatica_3758
      @prismatica_3758 3 місяці тому +1

      Almost a year ago now

    • @conure512
      @conure512  3 місяці тому +1

      Macros were added back in 1.20.2 and lots of people completely missed it because it was the SAME SNAPSHOT where they introduced the villager trade rebalance that everyone got so mad about

    • @mathgeniuszach
      @mathgeniuszach 3 місяці тому

      @@conure512 Crazy. Just goes to show you that Mojang isn't to be grouped all into one bad bag. While I think all the devs *believe* they're working in the community's best interest, only some of them know what the community really wants (though I will say villager trade rebalancing doesn't bother me as much, personally I think traveling to a biome is nicer than rerolling books for thirty minutes).

  • @mvrcv
    @mvrcv 3 місяці тому +1

    Must-have

  • @CSharpDCS
    @CSharpDCS 3 місяці тому +2

    nice

  • @Capiosus
    @Capiosus 3 місяці тому

    hey boy theres a cool server called legitimoose its pretty cool and lets you show off data packs (please help the server is dying and has such good mini-games just no audience retention.)

  • @le3lux
    @le3lux 3 місяці тому

    I love it ❤

  • @JaizYT
    @JaizYT 3 місяці тому +1

    fuckin brilliant

  • @aadenboy
    @aadenboy 3 місяці тому

    sick

  • @mjam_0673
    @mjam_0673 3 місяці тому

    Woah

  • @ssneakyandfriends1626
    @ssneakyandfriends1626 3 місяці тому

    Friendship ended with /fill.

  • @donutstudios6353
    @donutstudios6353 3 місяці тому +5

    yo. im using this. i love you you are so skibidi

    • @conure512
      @conure512  3 місяці тому +2

      im hoping thats a compliment

    • @donutstudios6353
      @donutstudios6353 3 місяці тому

      @@conure512 yes it is this is sick dude

    • @DankMemz69
      @DankMemz69 3 місяці тому +5

      this made me physically recoil

    • @donutstudios6353
      @donutstudios6353 3 місяці тому +3

      @@DankMemz69 ur not a sigma

  •  3 місяці тому

    You could have made the dynamic fill work in one tick… but then it would look less cool. :D It takes at most 7.2 seconds anyway.

    • @conure512
      @conure512  3 місяці тому +1

      I could, but I wanted to reduce lag a bit and also it ended up looking really cool. Even as it is now, the game starts running several ticks behind on larger structures

  • @tsaqifrizky5276
    @tsaqifrizky5276 3 місяці тому

    Chief we might need a macro tutorial next ngl, or maybe you've posted it?

    • @conure512
      @conure512  3 місяці тому

      No I haven't but that's a good idea!

    • @pixelsp33d77
      @pixelsp33d77 3 місяці тому

      Yess please, great Idea!

  • @gaminator5542
    @gaminator5542 3 місяці тому +1

    When you imported the structure again, it left the name in chat, which I think includes the project name. Isn't that supposed to be secret for now?

    • @conure512
      @conure512  3 місяці тому

      Eons is not a secret (lots of people have already made videos on the SMP) but what the structures for the next eon actually look like is a secret :)

  • @toreole5831
    @toreole5831 3 місяці тому

    Neat

  • @tomergngn
    @tomergngn 3 місяці тому

    in the "update_all_markers" you have a schedule for 1 tick.. why? I haven't tried this datapack yet, but I'm pretty sure it can work without the schedule, making the dynamic fill instant

    • @conure512
      @conure512  3 місяці тому

      It could work that way but it's MUCH more likely to crash the server. that function already causes lag for big structures as-is. And plus it looks cool :)

  • @UCXEO5L8xnaMJhtUsuNXhlmQ
    @UCXEO5L8xnaMJhtUsuNXhlmQ 3 місяці тому

    Have some video engagement

  • @Typocat
    @Typocat 3 місяці тому +1

    Cant believe i forgot to subscribe (solved)

  • @Inqiery
    @Inqiery 3 місяці тому

    Does this require commands introduced in 1.20.6 or is it possible to backport this to 1.19?

    • @conure512
      @conure512  3 місяці тому +1

      You could MAYBE try it and see if it works as far back as 1.20.2 (I haven't tested it) but the macros, which are a crucial part, were added in 1.20.2. So no, 1.19 isn't feasible unfortunately
      Edit: Turns out, you can use it in 1.20.4 (not 1.20.2), BUT in that version the blaze rod method for selecting a block doesn't work (you have to use the command).

  • @NotBigSurprise
    @NotBigSurprise 3 місяці тому

    i need to know I NEED TO KNOW how this works

    • @conure512
      @conure512  3 місяці тому +1

      Starting the algorithm places a marker, then every tick, each marker places more markers near it. If they're outside the box or not touching air, they die, and otherwise they just continue the chain and place voids.
      The ticking is done from a scheduled function that reschedules itself only if more markers still exist, so there's no ambient ticking commands running all the time.

    • @NotBigSurprise
      @NotBigSurprise 3 місяці тому

      @@conure512
      amazing
      i had no idea you could detect being outside the bounding box of a structure block

    • @conure512
      @conure512  3 місяці тому +1

      @@NotBigSurprise It takes some math, you have to save the corners as scoreboard values and then compare those to your current position

    • @NotBigSurprise
      @NotBigSurprise 3 місяці тому

      @@conure512
      ohhh
      and you get the values by getting the data from the structure block! right?

  • @laeclorentzen6111
    @laeclorentzen6111 3 місяці тому

    What mc version is this for?

  • @tonylovesmusic
    @tonylovesmusic 3 місяці тому +1

    w

  • @SadanMasterMode
    @SadanMasterMode 3 місяці тому +1

    damn

  • @RavenRavel
    @RavenRavel 3 місяці тому +1

    Oooooooooooooooo

  • @jayman1462
    @jayman1462 3 місяці тому +1

    :D

  • @donutstudios6353
    @donutstudios6353 3 місяці тому +1

    am i banned from commenting or something

    • @conure512
      @conure512  3 місяці тому +2

      No? I can see your comments just fine
      Sometimes I have noticed some comments showing up in my unread feed, and when i actually go to the video, theyre just gone. i think youtube sometimes just decides to have a stroke

    • @donutstudios6353
      @donutstudios6353 3 місяці тому

      @@conure512 oh bc i couldn't see my replies i sent to you

  • @fatalpoo9270
    @fatalpoo9270 3 місяці тому

    could you make a jigsaw tutorial for bedrock ed?

  • @malick4614
    @malick4614 3 місяці тому +1

    this is crazy useful thank you