Player teleporting

Started by Timofey on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player teleporting

I want to realize a procedure: when player hits entity, player teleporting behind entity's back, but i cant found block that can teleport a player.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use the procedure block in…
Wed, 03/12/2025 - 18:17

use the procedure block in the entity section "execute command / [your command] in the name of event/target entity" and put the command "teleport @s" and then then put the x, y, and z values you need to appear behind the entity. You can get the x, y, and z by using the block "x position of event/target entity" but switch the "event/target entity" with "source entity" and ajust the value by using math block until you get a result you are happy with.

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you
Wed, 03/12/2025 - 18:43

thank you