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

Attachments

Comments 10

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