-
Has anyone figured out a way to get the simulation to work without making each time you sleep having a 2-minute duration? Just curious if it is possible to make it simulate faster than the 5x |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, the simulation multiplier depends largely on the amount of ticking blocks/entities in the current level, but also on the host's hardware. The logic used to accelerate time ticks everything - including the world, block entities and players. How acceleration worksThe speed multiplier is adjusted according to the time it takes to run one accelerated tick, as configurated by the For example, when I run Somnia in a clean dev environment, I can reach up to 100x speed multiplier. However, that number will decrease with the amount of ticking entities and block entities in the world. Increasing the multiplierSo, what can you do to improve the multiplier?
|
Beta Was this translation helpful? Give feedback.
Hi, the simulation multiplier depends largely on the amount of ticking blocks/entities in the current level, but also on the host's hardware. The logic used to accelerate time ticks everything - including the world, block entities and players.
How acceleration works
The speed multiplier is adjusted according to the time it takes to run one accelerated tick, as configurated by the
delta
config option: if the elapsed time is lower than <delta> milliseconds the multiplier is increased and vice versa. By setting the default value ofdelta
to 50 (ms), which is the time span of a single tick, we ensure multiplied ticking will not lag the world.Unfortunately, due to Minecraft's single-threaded …