Help with making Player Teleport

Started by Jagames12 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with making Player Teleport

(Working on a Minecraft Java Mod for Minecraft 1.20.1 with Forge)

 

So I wanna make the player teleport when they collide with an entity, I did what some tuturials said, but that only teleported the entity, not the player. But I want the entity to stay and the player to teleport. How do I do that?

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nevermind I figured it out
Sun, 07/27/2025 - 17:27

Nevermind I figured it out

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you mind sharing how you…
Sun, 07/27/2025 - 18:04

do you mind sharing how you figured it out for other people who may want to achieve this?