Jump to content

Recommended Posts

Posted

Hey, It's me again and I have another question about storing things. Since my generated structure is spawned rarely, I want to make a command that will print out known locations of the structure. I figured out I have to save the coordinates when generating the structure. I think the MapStorage would be best to use, but I can't figure out how it works. These are my classes:

Data I'm Saving

 

  Reveal hidden contents

 

Part of the code where I edit the data and the save it:

 

  Reveal hidden contents

 

My processCommand method:

 

  Reveal hidden contents

 

 

And This is the error I get (It crashes always when the structure should be generated):

 

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.