How do I make different spawn / home for each player?

Started by Altyrah on

Topic category: Help with modding (Java Edition)

Last seen on 19:22, 27. Apr 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make different spawn / home for each player?
Sat, 08/24/2019 - 09:26 (edited)

Hi everyone :)

Here is the goal of my mod:

- By clicking on a specific block,  the player open a GUI which allows him to set this coordinates to 1 among 5 places available. 

Set GUI

And here is my procedure:

Set procedure

Once the place 1 is defined, the player can right click a specific item which also open a GUI to choose where he wants to go. 

Get GUI

And once he clicks on the Place 1 button which has been defined, he should be teleported at the world and coordinates defined thanks to the block... but not :( Here is my procedure:

Get Procedure

Once I clicked to set the global variable (on block), I have this  message: [main/INFO] [STDERR]: [net.mcreator.simelya_retour.MCreatorSetPlace1:executeProcedure:17 Failed to load dependency entity for procedure MCreatorSetPlace1!

 

Have you some ID? Also I can give you my global variables, it can be useful:

Global variables

 

I hope you could help me, thanks you !

 

Edited by Altyrah on Sat, 08/24/2019 - 09:26
Last seen on 19:22, 27. Apr 2021
Joined Aug 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Finally got the solution in…
Sat, 08/24/2019 - 14:22

Finally got the solution in the GUI where I set the global variables :)

 

GUI Set