Action for buttons in the mob interface

Started by Anessan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Action for buttons in the mob interface

I don't really understand how dependencies work when a button is clicked on mob's gui. When I added a procedure where, when a button is pressed, the mob must perform some action (let’s say start sneaking), but for some reason, instead of the mob, this action is performed by the player. How can I fix that?

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As I understand it,…
Mon, 03/25/2024 - 16:06

As I understand it, according to MCreator’s logic, the menu associated with the mob does not even belong to it and is in no way connected with it.  The menu is simply created without reference to the mob and exists on its own