Client-Side Structure Saving (Across Servers/Worlds)

Started by Golden-Parrot-… on

Topic category: Advanced modding

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Client-Side Structure Saving (Across Servers/Worlds)

I'm looking for a certain piece of code (procedure or custom) that allows for a player to hit a certain key to open a menu that does the following:

 

- Asks for structure ID to save under or update

- Asks for point A in XYZ

- Asks for point B in XYZ

- Saves the box from point A to point B in client based on the written Structure ID

 

And another menu that opens when you hit a different key:

 

- Asks for Structure ID to load

- Asks for point in XYZ to load (From Point A in N-E-S-W orientation saved)

- Loads structure based on written Structure ID

 

You don't have to write the whole thing, but I just need a few snippets of code to go off of, thank you!