Procedure not working

Started by david_ on

Topic category: Help with modding (Java Edition)

Last seen on 16:08, 5. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure not working

I tried to make a procedure but it is not working properly. What it should do is that when a pet is tamed it should open a gui

This is what I did:

idk, probably this is wrong

Is there any error?

Last seen on 16:08, 5. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bump
Fri, 04/26/2024 - 16:38

bump

Last seen on 13:51, 5. May 2024
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you need the local…
Fri, 04/26/2024 - 17:42

do you need the local variable? why not just open gui for get owner of event/target entity?

also check if the tamed animal is a different entity selector and not event/target entity

Last seen on 16:08, 5. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do you need the local…
Fri, 04/26/2024 - 17:59

do you need the local variable? why not just open gui for get owner of event/target entity?

I used a local variable to make the procedure tidier because I will need to use the variable multiple times.

also check if the tamed animal is a different entity selector and not event/target entity

I tried with booth Event/target entity and Source entity