Help with returning Logic

Started by Cheese122 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with returning Logic

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

 

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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