Jump to content

mutzy12

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by mutzy12

  1. 16 minutes ago, Animefan8888 said:

    If you do not know much Java then I suggest you learn before continuing, and if you do this could be really easy. You have to save the contents of your List to the Drive of your computer. Whether this is in a text file or an NBT file. You will want to use the WorldSavedData along with some events to read and write the data.

    Thanks for replying so fast! I completely forgot about using a text file, so I'm going to try that first. I'll also check you the WorldSavedData and read up on the Capabilities too, Thanks!!

  2. Hey all, I'm new to modding and just ran across a problem with the mod I'm making. 

    I want to have a list of warp points that the player has created so that the player can go around the world faster (it's just tedious running out to my mob spawner 1000 blocks away from my base and running back again after I'm done). So I created a command called warp that allows the player to set warp points to places he has already visited so he can just quickly teleport back and forth whenever he wants. My problem is that whenever I enter my world, my list of warp points isn't saved from my previous session. I figured this is probably because my mod is being reinitialized every time I join the world again, but I don't know how to fix that. Any help is greatly appreciated, thanks!

     

     

    CommandWarp.java

×
×
  • Create New...

Important Information

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