Put a value of time

Started by zefut on

Topic category: Help with MCreator software

Active 2 years ago
Joined Feb 2019
Points:
720

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 21
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

Active 1 week ago
Joined Aug 2016
Points:
3303

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2931
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

Active 2 years ago
Joined Feb 2019
Points:
720

User statistics:

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

 

Thank !

Active 4 years ago
Joined Mar 2020
Points:
617

User statistics:

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

 

Can you send a picture of the procedure?

Active 4 years ago
Joined Mar 2020
Points:
617

User statistics:

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

Please Ican not understand how to do it.