Solved How do you regenerate a world with the entity's in the same spot after the game ends in a minigame?

Discussion in 'Spigot Plugin Development' started by BourneDev, May 17, 2016.

  1. How would you do this? I obviously know how to save the blocks but how would I save the entity's and their positions? It works on mineplex on sneaky assassins with the villagers, so how do they do this. Thanks!
  2. You need to have a HashMap with all of the Entities locations at the beginning of the game, and have the class called when the game ends to readd the entities in the same spot as they were in the beginning.
  3. Thanks very much. This makes sense!
    • Friendly Friendly x 1