Deplacer une entite depuis un Gui

Started by ShaaDoW_73 on

Topic category: Mod design feedback

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Deplacer une entite depuis un Gui

Hello!

I’m using MCreator 2025.1 and I want to create a custom procedure where:

When I right-click on an entity, a GUI opens.

In that GUI, I have buttons to move the clicked entity (north, south, etc).

I tried to store the clicked entity using Event/target entity in a player variable and then use that in the button procedures, but I can’t seem to move it correctly.

In my GUI button procedures, I don't see "provided entity", only Source entity, Event/target entity, Entity iterator, etc.

How can I properly store and move the clicked entity with GUI buttons?

Any help would be greatly appreciated
Thanks!