Get spawn coordinates

Status
Fixed
Issue description

Hi! I would suggest a player depencies , named: "Teleport Player to Spawn" Its used for things like magic mirros for my terraria mod etc.

Hope you can do that.

Issue comments

We can add get spawn coordinates procedure blocks. You could then use these coordinates to teleport entity to them.

uhhh, excuse me? "get current world spawn x/y/z coordinate procedures" exists for that reason.

i even made a sample setup for making something like a magic mirror from Terraria (for when an item is right-clicked) on 2021.1:

https://user-images.githubusercontent.com/71295972/123094381-67008100-d45f-11eb-91ad-233016e63fe2.png

 

 

@Sajevius You can get the world spawn, but you can't get the player's spawn.

oh, i see what you mean. but, the OP didn't specify if he wanted world spawn or player spawn, he just said "spawn". ​​​​​procedures for getting current player spawn don't exist yet, making that recall procedure limited to world spawn. but it should be doable through code, possibly by getting player's bed position, or perhaps by getting some data set to the player to determine their current spawn location? idk, i read something about it on the Forge forums but that topic was over 5 years old and a lotta code has changed since then.

well, i guess while getting world spawn has indeed been given attention coz it was added, getting player spawn location just drifted off outside the notice of MCreator devs like some other past requests, or perhaps wasn't even in mind... but we can't do much about it anymore... or maybe someone can just make a plugin, or PR on the GitHub for it

so yea, my mind just defaulted to what's already available, which is "get current world spawn coordinates", sorry :P