minicraft-plus-revived
minicraft-plus-revived copied to clipboard
Reducing update ticking frequency
Is your feature request related to a problem? Please describe. At the moment, update ticking frequency is 60Hz, in other words, 60 ticks per second (TPS). However, there could be potential issues if there is computations per tick, so I suggest reducing the frequency or TPS a little bit.
Describe the solution you'd like In some words to also avoid potential mechanism balancing calculation difficulties, a multiple of 3 (which is not a factor of 10) should be avoided. So, TPS could be 20 or 40. 10 TPS could be too low for some updates, like the situation of using a 30Hz monitor instead of a 60Hz monitor nowadays. If computation is too frequent, heavy lagging can be caused, this also includes the debugging function to tweak FPS, which may be issues to get intended results potentially in some circumferences. (Many mechanisms depend on update ticking, like texture animations and mob spawning.) Here, there are 2 considerations, reducing TPS and removing TPS altering ability. This would also affect bed sleeping mechanism (where there is already an example of #551). Of course the length of a day is also needed to be tweaked correspondingly.