Magic Mirror

Started by 2Cool4u on Thu, 10/22/2020 - 04:35

Topic category: Help with MCreator software

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Magic Mirror
Thu, 10/22/2020 - 04:35

How do I make an item that sends the player to their spawn point???

Last seen on 19:31, 25. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need one procedure on…
Thu, 10/22/2020 - 07:26

You need one procedure on right click to tp to spawnpoint.

I highly suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ive watched all of them and…
Thu, 10/22/2020 - 18:35

ive watched all of them and none don't help me in this area. You kinda just answered my question with my question. What procedures do I use?

Last seen on 11:10, 23. Nov 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Here's a procedure that…
Fri, 10/23/2020 - 20:20

Here's a procedure that should do what you want:

https://drive.google.com/file/d/1U2WZbfI9CQONhPylz40ukfxi48vtATVv/view?usp=sharing

I didn't know of a MCreator way of getting the spawn coordinates of a player, so I used some commands (the first three blocks of the procedure). They are in this form:

execute store result entity @s ForgeData.spawnX int 1 run data get entity @s SpawnX

where the X is either X, Y, or Z depending on which coordinate it's getting. Make sure you put X, Y, and Z into 3 separate commands so that you can get all three values you need. 

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much
Sun, 10/25/2020 - 04:53

Thank you so much

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Whats the override fall…
Sun, 10/25/2020 - 05:06

Whats the override fall distance for?

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It works, but only for the…
Sun, 10/25/2020 - 05:12

It works, but only for the second time i teleport, the first time sends me to 0 0 0, then i right click again and i got home

Last seen on 11:10, 23. Nov 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I put the override fall…
Sun, 10/25/2020 - 15:04

I put the override fall distance block there so that if the player was falling before they used the item they didn't splat into the ground and take damage when they respawned. Here is a new procedure that should work better:

https://drive.google.com/file/d/1IXZ_FC5fSl4OlubYX2raDwVI9Lnl8pc_/view?usp=sharing

This one also checks wether or not the player has set their spawn point yet, and if not, it sends them to the world spawnpoint. The new command that is in the first block is:

execute store success entity @s ForgeData.hasSpawn byte 1 run data get entity @s SpawnX

Last seen on 04:54, 26. Nov 2020
Joined Apr 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is honestly amazing and…
Sun, 10/25/2020 - 23:10

This is honestly amazing and I couldn't be more grateful!!! It works perfectly.