Topic category: Help with Minecraft modding (Java Edition)
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.
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.
I got another quick question, off-topic a bit. But how would I edit my posts and comments?
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
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.
I managed to fix it now. For some odd reason it didn't save properly.