Started by Oreli on Mon, 02/15/2021 - 10:35
Topic category: Help with modding (Java Edition)
i'm trying to make a block that saves a 16x16x16 area around it when right clicked, and when right clicked again, will load that area back. i've already set up a way to detect if it's ready to load the structure or save a new one using nbt, but i don't know how to get it to save the area without requiring massive amounts of checks for blocks. is there any way i can do this with procedures, or will i need to use custom elements for this? if i do need to use custom elements, could someone explain to me how to go about doing that?
Edited by Oreli on Thu, 02/18/2021 - 10:00
I think, arraylist plugin in "Explore McCreator plugins" should be helpful in this situation
i've already tried using it, but it's not supported by the generator.
i'd just like to add that it doesn't necessarily have to be a 16x16x16 area, it could be smaller or larger. i'd just prefer to have it that size.
i'd like to update this by saying i figured out a way to do this and finished the block. i saved every block in a 9x9x9 radius to an inventory slot inside the block. of course it didn't store everything, because tile entities have a max inventory size of 256 slots, so i used two extra blocks placed beneath also with an inventory size of 256 to store the remaining blocks.