Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-250048

Lava calculates spreading fire state incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 22w14a, 1.19, 1.19.2, 1.19.3, 23w05a, 1.19.4, 1.20.4
    • Confirmed
    • Block states
    • Low
    • Platform

      The bug

      When lava spread fire, it can sometimes calculate the blockstate for the fire from the block beneath the fire. This bug can be replicated as so:

      Doing so can sometimes create results like such: (Increasing the random tick speed will make it happen faster)

      Code analysis

      Specifically, this bug occurs in the random tick method of the lava fluid, it will calculate the fire state for the block below where the fire will be placed, causing the above result.

      Code analysis by PR0CESS can be found in this comment.

            Unassigned Unassigned
            Dren215 Derek Thomson
            Votes:
            12 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              CHK: