How to make special overlay display condition?

Started by NikG on

Topic category: Help with modding (Java Edition)

Last seen on 18:35, 22. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make special overlay display condition?

I used to use 2020.2 and in 2020.4 snapshots I couldn't found procedure block to overlay showing. How can I do it?

Use return block to return…
Wed, 07/08/2020 - 13:26

Use return block to return logic value in your procedure and then select this procedure as the condition from the condition selector dropdown.

Last seen on 05:06, 6. Jul 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My problem is when I use the…
Tue, 08/04/2020 - 05:48

My problem is when I use the If/do procedure block...

for some reason this does not work:

If - get global (my global variable) ≥ 5

do - return true

 

So I'm confused how I'm supposed to have conditions...

Last seen on 05:06, 6. Jul 2023
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay I figured it out! its…
Tue, 08/04/2020 - 06:04

Okay I figured it out!

its just simply

 

Return - (define the IF condition here)

 

No if then do block required XD

Last seen on 12:17, 30. Aug 2020
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to define if condition…
Sun, 08/30/2020 - 09:38

how to define if condition in return

Last seen on 03:06, 7. Nov 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Read what kingbugz said. And…
Thu, 07/08/2021 - 11:21

Read what kingbugz said.

And if you mean by what he meant, he said put whatever the if statement is, into the return block.