Overlay shows up no matter the procedure output

Started by jonathanpecany100 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay shows up no matter the procedure output
Fri, 03/18/2022 - 13:31 (edited)

I am having a problem with only showing overlays under certain conditions. I know it shows if the procedure returns true and doesn't when it shows false. But for some odd reason it doesn't work.

https://imgur.com/mdRcSZc

Here is my procedure. In my procedure editor, it does have the block in the if statement, not here because of privacy.

I did make both Return statements False to see if anything changes, and it does as the overlay still shows.

https://imgur.com/a/NeNVNvg
Not true or false works here. Which as mentioned by some tutorials, true would make it show while false does not.

It also says it on the help of it in MCreator

This procedure specifies if the overlay should be shown.

When the procedure returns true, the overlay will be shown on the screen.

 

Edited by jonathanpecany100 on Fri, 03/18/2022 - 13:31
Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got another quick question…
Thu, 03/17/2022 - 19:03

I got another quick question, off-topic a bit. But how would I edit my posts and comments?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Of course your procedure is…
Thu, 03/17/2022 - 19:13

Of course your procedure is wrong, return condition on gui won't read entity

Change into   return: get block at x y+1 z = water

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why did you send that. I…
Thu, 03/17/2022 - 22:01

Why did you send that. I wanted to figure out the water thing myself. Of course it wouldn't work with my procedure. I was just saying what I was trying to do and that I already figured that part out. As I lied so no one answered it and spoils the answer. I just said it to help give better insights.

I just asked why the overlay still shows even if it is false as a test I made both return statements False to see what happens and the overlay still shows.

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I managed to fix it now. For…
Fri, 03/18/2022 - 13:51

I managed to fix it now. For some odd reason it didn't save properly.