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

Started by EidolonExperience on

Topic category: Help with MCreator software

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an item that teleports the player to their bed?

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?

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.