can someone explain me how i in mcreator if i right click an item it teleoprts the player 5 blocks forward

Started by Carlo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can someone explain me how i in mcreator if i right click an item it teleoprts the player 5 blocks forward

can someone explain me how i in mcreator if i right click an item it teleoprts the player 5 blocks forward

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
go to the item's triggers…
Thu, 07/27/2023 - 03:50

go to the item's triggers section, go to trigger "when item is right clicked", make a procedure and attach it. in the procedure, put down "set location of event/target entity" and this is where it gets complex. you have to figure out how to count if the player is facing x, z, -x, or -z. You're on your own!