mojira.dev
MC-181868

Gamerule randomTickSpeed doesn't affect fire spread anymore

The Bug

For some reason, when I set the random tick speed, fire behaves like nothing changed.

Steps to Reproduce

  • Summon a large number of leaves and ensure that the "randomTickSpeed" gamerule is set to its default value, (3).

    /fill ~3 ~ ~3 ~10 ~4 ~10 minecraft:oak_leaves[persistent=true]
    /gamerule randomTickSpeed 3
  • Ignite the leaves, wait around thirty seconds, and take note of how fast the fire spread.

  • Once again, summon a large number of leaves, but this time, change the "randomTickSpeed" gamerule to a high value in an attempt to increase the speed of the fire spreading.

    /fill ~-3 ~ ~-3 ~-10 ~4 ~-10 minecraft:oak_leaves[persistent=true]
    /gamerule randomTickSpeed 300
  • Wait around thirty seconds and take note of how fast the fire spread.

  • Take note as to whether or not the "randomTickSpeed" gamerule affects the speed at which fire spreads.

Observed Behavior

The "randomTickSpeed" gamerule no longer affects the speed at which fire spreads.

Expected Behavior

The "randomTickSpeed" gamerule would affect the speed at which fire spreads, just like how it did in past versions of the game (1.12.2).

Code Analysis

Code analysis by @unknown can be found in this comment.

Related issues

Attachments

Comments

migrated
[media]
MMK21

Can confirm in 20w21a

migrated
Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w17a.

migrated

I wonder why this hasn't been fixed yet.

migrated

..............

migrated

In 1.12.2 it affected fire spread. But I don't know when it was changed.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm this behavior in 21w42a. Here are some extra details regarding this problem.

The Bug:

The "randomTickSpeed" gamerule no longer affects the speed at which fire spreads.

Steps to Reproduce:

  • Summon a large number of leaves and ensure that the "randomTickSpeed" gamerule is set to its default value, (3).

/fill ~3 ~ ~3 ~10 ~4 ~10 minecraft:oak_leaves[persistent=true]
/gamerule randomTickSpeed 3
  • Ignite the leaves, wait around thirty seconds, and take note of how fast the fire spread.

  • Once again, summon a large number of leaves, but this time, change the "randomTickSpeed" gamerule to a high value in an attempt to increase the speed of the fire spreading.

/fill ~-3 ~ ~-3 ~-10 ~4 ~-10 minecraft:oak_leaves[persistent=true]
/gamerule randomTickSpeed 300
  • Wait around thirty seconds and take note of how fast the fire spread.

  • Take note as to whether or not the "randomTickSpeed" gamerule affects the speed at which fire spreads.

Observed Behavior:

The "randomTickSpeed" gamerule no longer affects the speed at which fire spreads.

Expected Behavior:

The "randomTickSpeed" gamerule would affect the speed at which fire spreads, just like how it did in past versions of the game (1.12.2).

Avoma

Can confirm in 1.18.1.

This is happening because the randomTick() method isn't present anywhere within the FireBlock.java class, therefore making fire spread unaffected by the randomTickSpeed gamerule.

Avoma

Can confirm in 1.18.2.

migrated

Affects 22w18a

Avoma

Can confirm in 1.19.

Avoma

Can confirm in 1.19.2.

Minecraft386882

Confirmed in 1.21.3

migrated

(Unassigned)

Confirmed

Platform

Normal

Block states

20w18a, 20w21a, 1.16.1, 1.16.4, 20w48a, ..., 23w16a, 23w51b, 1.21.1, 24w38a, 1.21.3

Retrieved