Button condition with wait timer?

Started by chewdog on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Button condition with wait timer?

 

 

 Is it possible to make the return = true use the wait block in the flow control or some other way to add a timer on the button condition. I thought about storing data with local var but I dont think you can ID the button through a procedure block. 

 

 Example = player use GUI button and button does not work for next 15 mins. 

 

Thanks

Chew

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured this out by adding…
Thu, 05/27/2021 - 17:56

I figured this out by adding random block procedure and the "and" block" with var + wait. Now I have a working thirst system on 1.16 complete with 3d canteen but its not as flexible as I wanted. I am looking at the code to figure out how to make it tick like hunger does when you move for example.

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey i'm trying to make…
Mon, 08/30/2021 - 09:39

Hey i'm trying to make something similar but i can't make it work. Can i take a look at the procedure?