How to make player teleport from block 1 to block 2?

Started by CatsAreCool1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make player teleport from block 1 to block 2?

I wanted to make player teleport from block 1 to block 2.

This means that if player clicked on block, he will be teleported to another biome or location (not to other dimension...) where the other block is.

I tried to make a NBT for block 2, and then when clicked on block 1 it will find block 2 and go there But I don't know how to do that...

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try : [SET LOCATION OF …
Mon, 02/07/2022 - 20:49

Try : [SET LOCATION OF (EVENT/TARGET ENTITY) AT X Y Z]

I hope you will find a way out of your problem ! ^^

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use variables that store the…
Tue, 02/08/2022 - 01:04

Use variables that store the players location

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also I think cursedwarrior…
Tue, 02/08/2022 - 01:05

Also I think cursedwarrior and northwesttrees did a tutorial on this

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, for one, you'll have…
Wed, 06/08/2022 - 04:01

Well, for one, you'll have to have a chunkloader in operation at the second block if its very far from your position when clicking the first one.