Help with returning Logic

Started by Cheese122 on Tue, 09/08/2020 - 05:56

Topic category: Help with modding (Java Edition)

Last seen on 23:42, 9. Sep 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Help with returning Logic
Tue, 09/08/2020 - 05:56

I was working on a Procedure that required it to return a boolean.
I cant figure out the issue. It looks fine to me

Thanks

 

dndmksdma

 

Last seen on 21:45, 26. Oct 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
First of all, your procedure…
Tue, 09/08/2020 - 11:37

First of all, your procedure will always return false because the armor slot for leggings is 1 and the one for chestplate is 2 (you changed the numbers)
Then, I don't know what you're trying to do... how's your procedure triggered? why are your returning a boolean? to do what? how do you know the value of the boolean?

Last seen on 23:42, 9. Sep 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Im trying to get it to…
Wed, 09/09/2020 - 01:26

Im trying to get it to toggle an overlay if they are wearing the Chestplate, Leggings and Boots