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

Chorus Flower plant grows instantly when block below it is replaced with Endstone

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 1.12 Pre-Release 6, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b
    • Fix Version/s: Minecraft 18w06a
    • Confirmation Status:
      Confirmed

      Description

      The bug

      Any time the block underneath a Chorus Flower Plant is instantly replaced with Endstone, the Chorus Flower will grow.

      The expected behavior is that the plant should break as Cactus and Sugarcane do when the block underneath of those plants are moved and replaced.

      Video of this behavior can be found here: https://www.youtube.com/watch?v=Ar0Zve-AzeU

      How to reproduce

      1. Set the value for the gamerule randomTickSpeed to 0
        /gamerule randomTickSpeed 0
        
      2. Build a contraption like the one shown in Chorus flower update setup (17w06a).png and activate it

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      Both chorus flower and chorus plant schedule an update when their net.minecraft.block.Block.neighborChanged(IBlockState, World, BlockPos, Block, BlockPos) method is called. Instead they should instantly break if the block below them does not support them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cubfan135 Jeremy
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: