How to make an item that teleports the player to their bed?

Started by EidolonExperience on Sun, 11/08/2020 - 17:00

Topic category: Help with MCreator software

Last seen on 20:49, 19. Nov 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make an item that teleports the player to their bed?
Sun, 11/08/2020 - 17:00

I'm making a dimension that you can only stay in for a limited time at first, but when you switch dimensions it just takes the player to the worldspawn which isn't practical. I was curious if there was a way to make an item that just teleports a player to their spawn point?

Last seen on 02:56, 17. Jan 2021
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
At least you can get the…
Mon, 11/09/2020 - 11:50

At least you can get the player back to the world spawn, I could only get my player back to the surface world but under ground.. only way I can think of off the top of my head, if to make a procedure that checks for right clicking on bed and have it save those coordinates to player nbt tags or player variables, then after switching back to the surface, teleport the player to the saved coordinates.

Last seen on 11:13, 23. Dec 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Here's a forum topic talking…
Sat, 11/14/2020 - 15:23

Here's a forum topic talking about a similar thing in a different context.

https://mcreator.net/comment/156281

I think you'll be able to find your answer there.