Need help for a procedure ("cooking time" like)

Started by JuanSolo317 on

Topic category: Advanced modding

Last seen on 23:09, 1. Sep 2018
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help for a procedure ("cooking time" like)

Hi

First,sorry for my bad english x)

I'm trying to make a machine block that "change a block" when we put the block above.

There is a 3x3 platform with custom blocks under the changing block.

The block is actually working like an XP Bush from Tinker construct,adding a random number between 0 and 1 to a variable since the variable is under 1.

The problem isn't in the making,but more like with the tick rate,the change is really too fast(for the rp and the server).

But when i rise the tickrate,trying to make the change more longer,my game become very laggy.

someone knows a solution?or i would like to know if it's possible to make a static time to change the block (a little like in the furnaces) someone knows if it's possible in the procedures? or if it isn't,someone can send me like,an exemple code of something similar?

Thank you :D

 

 

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Without complicating it I…
Thu, 09/06/2018 - 00:12

Without complicating it I have made a simply procedure that will change block of ice into water with only one rule
If you place block that uses this procedure In Tick Update Event it will check if block above this machine is Ice If yes than it will change it into water.

You can also modify it to check for other blocks so you can make Structural machine like Generator from Extreme Reactors
but don't make it too complicated 

visual example:

Example

Last seen on 03:03, 6. Feb 2024
Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also you can add More…
Thu, 09/06/2018 - 00:17

Also you can add More options for this machine by adding else if and duplicating code with different income and outcomes :)

Last seen on 18:58, 4. Jun 2021
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey do you know how I can do…
Sun, 01/13/2019 - 22:22

hey do you know how I can do a tick update but with time