[FIXED] saving structures using procedures

Started by Oreli on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[FIXED] saving structures using procedures
Thu, 02/18/2021 - 10:00 (edited)

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
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think, arraylist plugin in…
Mon, 02/15/2021 - 16:13

I think, arraylist plugin in "Explore McCreator plugins" should be helpful in this situation

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i've already tried using it,…
Mon, 02/15/2021 - 21:04

i've already tried using it, but it's not supported by the generator.

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'd just like to add that it…
Tue, 02/16/2021 - 07:24

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.

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'd like to update this by…
Thu, 02/18/2021 - 10:00

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.