[Plugin Request] get coordinates of player spawn

Started by bigmouthfan60 on

Topic category: Plugins and third-party tools

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Plugin Request] get coordinates of player spawn

If possible, could someone look into making a simple plugin that adds a procedure block that gets the coordinates and dimension id of a player's spawn?

Last seen on 15:29, 25. Jun 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You don't need a plugin to…
Sun, 06/14/2020 - 23:16

You don't need a plugin to do that.
For the dimension ID of the player's spawn, it is Overworld because the player can't respawn in the Nether (yet) or the End.
For the Coordinates of the player's spawn, as it is shown HERE, you just have to get the entity NBT number tag "SpawnX", "SpawnY" and "SpawnZ"

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dude, you are a lifesaver. …
Mon, 06/15/2020 - 02:51

Dude, you are a lifesaver.  I literally cannot thank you enough.  Thanks so much!

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait, that didn't work.  It…
Mon, 06/15/2020 - 03:03

Wait, that didn't work.  It just defaults to 0.  Is this a general issue with mcreator or am I doing something wrong?

Last seen on 15:29, 25. Jun 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well I don't know... What's…
Mon, 06/15/2020 - 09:34

Well I don't know... What's the procedure you're doing to get the player's spawn coordinates? And on what version of MC are you?

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1.15, I'm using the get nbt…
Mon, 06/15/2020 - 13:35

1.15, I'm using the get nbt data number block.

Last seen on 15:29, 25. Jun 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could u show me a picture of…
Mon, 06/15/2020 - 15:33

Could u show me a picture of your procedure?

Get entity NBT tag only has…
Mon, 06/15/2020 - 16:23

Get entity NBT tag only has access to custom tags in forge domain, not to all entity tags.

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a possibility of…
Tue, 06/16/2020 - 03:14

Is there a possibility of vanilla support being added?

Last seen on 14:50, 31. Jul 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Still in need of a plugin
Wed, 07/01/2020 - 02:27

Still in need of a plugin