Entity teleports player to dimension on right click

Started by Euardo22214 on

Topic category: Help with modding (Java Edition)

Last seen on 16:56, 15. Jun 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity teleports player to dimension on right click
Fri, 05/26/2023 - 17:32 (edited)

I wanted to make an entity that can teleport the player to a custom dimension on right click, but I can't.

I've already tried making a procedure with "If: ID of dimension Event/Target Entity is in = Nether, Do: Change dimension of Event/Target Entity to Surface, Else: Change dimension of Event/Target Entity to Nether"

I used nether as a test, later I'll change to the actual custom dimension I'm working on. So, does anyone know how I do it?

 

I actually just solved the problem on my on... A MINUTE after I made this post. I just changed the "Event/Target Entity" to "Source Entity" and it worked! I dont know how to delete posts so I'll just leave this one here...

Edited by Euardo22214 on Fri, 05/26/2023 - 17:32