Put a value of time

Started by zefut on

Topic category: Help with MCreator software

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Put a value of time

 

Hi I create an oven but I would like there is a cooking time I would have liked to know add value of temp to my mods thanks in advance

zefut

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You cannot add a value time,…
Tue, 03/05/2019 - 13:50

You cannot add a value time, but you can create a local variable (Number), and you increase the value by one each tick. After, you say to MCreator if "name of your number variable" ≥ 200 (10 seconds) do Strike lightning to x y z else set "name of your variable" to get "your variable" + 1

A picture for example :

Example of procedure

Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  Thank !
Sat, 03/09/2019 - 16:45

 

Thank !

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  Can you send a picture of…
Wed, 05/06/2020 - 16:55

 

Can you send a picture of the procedure?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please Ican not understand…
Wed, 05/06/2020 - 16:57

Please Ican not understand how to do it.