[FIXED] saving structures using procedures

Started by Oreli on Mon, 02/15/2021 - 10:35

Topic category: Help with modding (Java Edition)

Last seen on 01:45, 22. Mar 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
Last seen on 09:45, 3. Jan 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 01:45, 22. Mar 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 01:45, 22. Mar 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 01:45, 22. Mar 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.