A Datapack for people who make Structure Datapacks

preview_player
Показать описание
This PMC page has full descriptions of all commands, what you can do with them, etc.
Thanks to @gecka91 for providing the build! Go check out her channel she's a really good builder

Рекомендации по теме
Комментарии
Автор

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

lixun
Автор

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

enderspider
Автор

Fyi, the proper name fir "dynamic fill" is "flood fill"

Very useful though!

NeunEinser
Автор

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

MuffinTastic
Автор

This is magic, I cannot be convinced otherwise

zerologic
Автор

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

Benefard
Автор

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 ❤👍

nugrevan_music
Автор

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

bassbong
Автор

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

bobisnotaperson
Автор

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.

RamenLlama
Автор

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.

AndreSkipper
Автор

lmao imagining a mojang dev using this, very clever

catharsis
Автор

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

AsanCrckr
Автор

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...

GameJam
Автор

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.

nolan
Автор

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

baronbacku
Автор

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

vindi
Автор

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

NitroNovaMusic
Автор

So like a bucket fill on a draw program. Sick

arxligion
Автор

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.

GameJam
join shbcf.ru