Minecraft
  1. Minecraft
  2. MC-105898

Mushrooms and crops cause bed to drop; leaves "head" of bed behind

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a
    • Fix Version/s: Minecraft 16w41a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Environment:

      OS: Windows 10
      Java: Java 1.8.0_25 64bit

    • Confirmation Status:
      Confirmed

      Description

      Night was beginning on my hardcore survival world while exploring; I wanted to sleep through the night to prevent mobs from spawning, and so placed my bed at a nearby location to prepare for the night. (Which was under the shade of a tree, where a red mushroom was growing)

      What I expected to happen was:
      The bed to be placed down, possibly 'popping' the mushroom if the nearby light level was too high, due to a block update.

      What actually happened was:
      The mushroom updated and 'popped' out of the ground; and 'broke' the bed - 'causing the bed to drop as an item, but it left behind the "head" portion of the bed.

      Steps to Reproduce:
      1. Create/find a dark room (e.g: through the fill command - "/fill ~5 ~3 ~5 ~-5 ~-1 ~-5 minecraft:dirt 0 hollow")
      2. Grab a Mushroom (red or brown), a Bed, and a light-generating block (Redstone Lamp, Sea Lantern, Jack o' Lantern, Glowstone, Lava... anything that creates a light level of 15)
      3. Place the mushroom, place the light-block 2 blocks away from the mushroom, so that the light level on the mushroom is 13.
      4. Cause the mushroom a block update by placing the bed next to the mushroom.
      5. Observe:
      The mushroom updates, sees that the light level is too high, so drops - expected.
      The bed drops as an item, but leaves the "head" of the bed behind - unexpected.

      Additional Notes:

      • This occurs in both (+/-) X and Z directions
      • This only occurs when placing the bed directly adjacent to the mushroom - if you place the bed diagonally, where the "head" of the bed updates the mushroom - the bed will not "drop", and will remain entirely.
      • Used 'Night Vision' effect for the screenshots for visibility purposes.
      • Happens with crops when they have no light
      • Placing a double plant instead of a bed makes the bottom disappear, but the top remains.
      • Regardless of the type of double-plant placed (in creative or survival game mode) the remaining 'top' will be the sunflower.
      • The "head" of double plants does not appear to update upon placement/destruction of adjacent blocks; however, targeting the "head" and hitting the "use" key will update and remove it.
      • The "head" of the bed does update and remove when placing/destroying adjacent blocks - except when placing another bed where the foot of the original bed would be (in any other direction), even if the new 'foot' of the original bed is the "head" of a new bed. The bed, is then considered "complete" and will be exempt from further block placement/destruction until the bed that 'completes' it is removed.
      • Destroying any part of the bed while in Creative mode will remove the bed and any 'attached' components. However, destroying the original "head" of the bed while in Survival mode will only remove the 'incomplete' portion of the bed.
      • Water/Lava flowing next to the "head" of double plants will not update/remove them.
      • Unloading and then reloading the chunks will remove the leftover "head" of double plants, but not of beds. (e.g: By teleporting away then back, or by disconnecting from then reconnecting to the single-player world); Reloading the chunks through the "Reload chunks" debug option ("F3 + A") does not remove the leftover "head" of double-plants.
      • Placing the double plant adjacent to the mushroom (at y-1) where the "head" of the double plant updates the mushroom does not cause the mushroom to drop, nor does it affect the double plant.
      • The incomplete bed can be used to sleep through the night.
      1. 2016-08-07_12.34.39.png
        225 kB
      2. 2016-08-07_12.35.21.png
        354 kB
      3. 2016-08-07_12.35.47.png
        338 kB
      4. 2016-08-07_12.36.15.png
        381 kB
      5. 2016-08-07_14.55.18.png
        50 kB
      6. 2016-08-07_14.55.27.png
        45 kB

        Issue Links

          Activity

          Hide
          ThothofMythos added a comment - - edited

          [Mod] Neko;
          Would it be better to reorganize this ticket along the lines of: "Block Updates cause bed and double plants to drop"?
          Not to be confused with redstone updates, of course, as a redstone "BUD" switch doesn't appear to affect the bed/double plant at all.
          This could, perhaps, help collapse this and the "relates to" tickets under one ticket.


          Using a too-well-lit mushroom and a rose bush, for example:
          Placing the rose bush causes an update to the surrounding blocks.
          When the mushroom receives the update from the bush, it realizes that it is in an invalid position and drops.
          When the mushroom drops, it causes an update to the surrounding blocks - including the base of the rose bush.
          When the base of the rose bush receives the update from the mushroom, it realizes that it is in an invalid position as well (Because the top of the rose bush hasn't been generated yet) and drops.
          Then, the top of the rose bush generates from the initial rose-bush placement.

          If the Cactus block from MC-59303 is being updated, and updating, just like the mushroom from the above example, this could explain the behavior.

          If the "Observer" block from MC-107600 is updating on game ticks, instead of redstone ticks, this could explain the behavior - and explain why redstone piston-based BUD switches don't cause the same issue, as redstone ticks, if I understand correctly, occur once every 2 game ticks.

          Possible explanation for Observer BUD/Piston BUD differences:

          • Observer BUD:
            • Placing the foot of the bed updates the Observer block.
            • The Observer block updates the foot of the bed, which realizes it is in an invalid position (as the head of the bed is missing) and drops.
            • The head of the bed is placed.
          • Piston BUD:
            • Placing the foot of the bed updates the piston and schedules a "redstone tick".
            • The head of the bed is placed.
            • The piston extends - which, since the bed is already complete when it updates the bed, doesn't affect the bed.
          Show
          ThothofMythos added a comment - - edited [Mod] Neko ; Would it be better to reorganize this ticket along the lines of: "Block Updates cause bed and double plants to drop"? Not to be confused with redstone updates, of course, as a redstone "BUD" switch doesn't appear to affect the bed/double plant at all. This could, perhaps, help collapse this and the "relates to" tickets under one ticket. Using a too-well-lit mushroom and a rose bush, for example: Placing the rose bush causes an update to the surrounding blocks. When the mushroom receives the update from the bush, it realizes that it is in an invalid position and drops. When the mushroom drops, it causes an update to the surrounding blocks - including the base of the rose bush. When the base of the rose bush receives the update from the mushroom, it realizes that it is in an invalid position as well (Because the top of the rose bush hasn't been generated yet) and drops. Then, the top of the rose bush generates from the initial rose-bush placement. If the Cactus block from MC-59303 is being updated, and updating, just like the mushroom from the above example, this could explain the behavior. If the "Observer" block from MC-107600 is updating on game ticks, instead of redstone ticks, this could explain the behavior - and explain why redstone piston-based BUD switches don't cause the same issue, as redstone ticks, if I understand correctly, occur once every 2 game ticks. Possible explanation for Observer BUD/Piston BUD differences: Observer BUD: Placing the foot of the bed updates the Observer block. The Observer block updates the foot of the bed, which realizes it is in an invalid position (as the head of the bed is missing) and drops. The head of the bed is placed. Piston BUD: Placing the foot of the bed updates the piston and schedules a "redstone tick". The head of the bed is placed. The piston extends - which, since the bed is already complete when it updates the bed, doesn't affect the bed.
          Hide
          ThothofMythos added a comment - - edited

          This appears to be only Partially Resolved.
          The bed definitely seems to be fixed - but I am still seeing this issue with double plants.

          I created a new Super Flat world in the 16w41a snapshot to test this, as well as the world I had been checking each version in.
          In both cases, double plants still 'pop' and leave the 'head' behind when placed next to an 'invalid' block (e.g: a mushroom/farmland crop in improper lighting conditions).

          Show
          ThothofMythos added a comment - - edited This appears to be only Partially Resolved. The bed definitely seems to be fixed - but I am still seeing this issue with double plants. I created a new Super Flat world in the 16w41a snapshot to test this, as well as the world I had been checking each version in. In both cases, double plants still 'pop' and leave the 'head' behind when placed next to an 'invalid' block (e.g: a mushroom/farmland crop in improper lighting conditions).
          Hide
          [Mod] Neko added a comment -

          Please provide steps to reproduce with double plants.

          Show
          [Mod] Neko added a comment - Please provide steps to reproduce with double plants.
          Hide
          ThothofMythos added a comment -

          Steps to Reproduce:

          1. Create/find a dark room (e.g: through the fill command - "/fill ~5 ~3 ~5 ~-5 ~-1 ~-5 minecraft:dirt 0 hollow")
          2. Grab a Mushroom (red or brown), a double-plant, and a light-generating block (Redstone Lamp, Sea Lantern, Jack o' Lantern, Glowstone, Lava... anything that creates a light level of 15)
          3. Place the mushroom, place the light-block 2 blocks away from the mushroom, so that the light level on the mushroom is 13.
          4. Cause the mushroom a block update by placing the double-plant next to the mushroom.
          5. Observe:
            • The mushroom updates, sees that the light level is too high, so drops - expected.
            • The double-plant drops as an item, but leaves the "head" of the plant behind - unexpected.
              • The double-plant will only drop as an item if it is of a type that normally drops when broken, as opposed to only drops with shears. i.e: Rose Bush or sunflower, instead of double tall grass or a tall fern.
          Show
          ThothofMythos added a comment - Steps to Reproduce: Create/find a dark room (e.g: through the fill command - "/fill ~5 ~3 ~5 ~-5 ~-1 ~-5 minecraft:dirt 0 hollow") Grab a Mushroom (red or brown), a double-plant, and a light-generating block (Redstone Lamp, Sea Lantern, Jack o' Lantern, Glowstone, Lava... anything that creates a light level of 15) Place the mushroom, place the light-block 2 blocks away from the mushroom, so that the light level on the mushroom is 13. Cause the mushroom a block update by placing the double-plant next to the mushroom. Observe: The mushroom updates, sees that the light level is too high, so drops - expected. The double-plant drops as an item, but leaves the "head" of the plant behind - unexpected. The double-plant will only drop as an item if it is of a type that normally drops when broken, as opposed to only drops with shears. i.e: Rose Bush or sunflower, instead of double tall grass or a tall fern.
          Hide
          [Mod] Neko added a comment -

          Can confirm. Please create a new ticket.

          Show
          [Mod] Neko added a comment - Can confirm. Please create a new ticket.

            People

            • Assignee:
              [Mojang] Maria Lemón
              Reporter:
              ThothofMythos
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: