mojira.dev
MC-76117

World freezes if gamerule randomTickSpeed is set to a very high value

The world freezes if the gamerule randomTickSpeed is set to a very high value. Like 1000000000.

How to reproduce:
Type the following:

/gamerule randomTickSpeed 1000000000

in a world with cheats on. You'll see you aren't able to do anything other than move and place and destroy blocks. For instance, the "place block" sound will not play, but the "break block" sound will play. Music is unaffected. You can't send chat messages, and chunks stop loading. You cannot set the randomTickSpeed gamerule back to 3. Reloading the save fixes it.

Linked issues

MC-57838 When randomTickSpeed is on a high level, Furnaces stop working. MC-79302 RandomTickSpeed command is cr@#king up my world... MC-84724 randomTickSpeed 1000000 world freeze MC-108795 Freezer MC-118345 After crashing a game when fiddling with doRandomTickSpeed, the reloaded game is not affected by modifying the gamerule MC-119212 /gamerule randomTickSpeed MC-138128 Bamboo has a problem with growth. MC-138336 I set the random tick speed gamerule too high, and now I can't input any commands. MC-140903 /gamerule randomtickspeed issue MC-152587 Highish tick speed causes a memory leak and frame drops. MC-157249 When Changing RandomTickSpeed to maximum it breaks the game and makes you reset the computer MC-164183 mobs freezing and spawn eggs not working MC-164764 If you have RandomTickSpeed at max commands do not occur (19w44a) MC-166117 When you set the randomTickSpeed to a high number like 999999 the game visually runs, but auctually stops. MC-168316 Random Tick Speed: Very high values cause extreme TPS lags MC-171145 Item re-pick up time too long MC-171180 doing /gamerule randomtickspeed 100000 stops time MC-177140 When Tickspeed set to 999999999 The game does not work properly MC-177682 High tick speed stops game MC-185784 Frozen Game After Setting randomTickspeed To Maximum MC-189737 setting the tick speed to high number causes game to freeze MC-189996 randomTickSpeed gamerule does not function correctly MC-199527 new chunks not loading MC-203578 GAME BREAKING: Tick Speed Gamerule allows extreme values; entire game breaks when set too high. MC-203731 Unable to switch gamemode MC-203888 Entities Freeze when Tick Speed is set to 32bit integer limit MC-203997 Randomtickspeed freezes game MC-204289 Commands unresponsive at high tick speeds MC-204370 Blocks no longer uptade themseves MC-204440 Redstone behaves slowly with high randomtickspeed MC-205177 Gamerule commands start really lagging out the game in the new 1.17 snapshots MC-206571 If you quickly replace the block on top of a stalagtite and randomTickSpeed is set to a high value, a middle part of it changes its thickness to "frustum" MC-210823 I set randomtickspeed to the highest number, 999999... and here's what I got MC-213691 all my entities crashed after using a randomtickspeed command (which didn't work) MC-215786 After upgrading to 1.16.5 one specific world crashes 100% of the time MC-217820 Setting random tick speed to 10000000000 breaks block updates MC-218647 Cut Copper Roof deletes and moves blocks in my house MC-219309 changing RandomTickSpeed to anything starts breaking everything. MC-223854 Setting random tick speed to moderately high numbers causes massive lagspikes MC-224332 RandomTickSpeed issue MC-224362 the game saving world for a long time MC-225636 maximum randomtickspeed causes issues. MC-226811 entities other than the player unable to spawn or move MC-228259 Tnt glitch with high tickspeed MC-231049 Massive lag spikes depending on randomTickSpeed gamerule MC-263336 The command "set random tickspeed" sets tick to zero. MC-264202 If you set randomtickspeed too high it crashes whole game MC-297318 Random tick can't be high.

Attachments

Comments

Breadfish64

I've done the same. I think it's just a strange lag. The game lags but the graphics are unaffected.

Mustek

You're setting a value that's higher than your computer can handle.

Umbra

Someone claimed mine being a copy of this, I disagree...

Avoma

Can confirm in 1.17.1.

Fannic64

@Mustek No. I say that all computers can handle this because the framerate does not drop, therefore meaning it is most likely an issue in integrated server. 

ampolive

Can confirm in 21w37a.

ampolive

Can confirm in 21w42a.

Capiosus_

The server-side Minecraft crashes (yes Minecraft single-player worlds have a server-side), and the client still runs, resulting in a half crash, thats what I see here

muzikbike

Tested in 24w13a, confirmed with value 2147483647.

CDev

happens in 1.21.1, set it to 1000000000 or something and then water would not flow, and when i leavethe world, the game freezes and the only way to exit the game is to go into task manager and end task.

Lucas Ignacio Morrison Osorio

(Unassigned)

Confirmed

Platform

Low

Commands, Parity

Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, 1.17.1, 21w37a, ..., 24w07a, 24w09a, 24w11a, 1.21.1, 1.21.5

Retrieved