Topic category: Advanced modding
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
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:
Also you can add More options for this machine by adding else if and duplicating code with different income and outcomes :)
hey do you know how I can do a tick update but with time