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

Moving blocks don't inherit behaviors of the block they hold


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w20b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 1.14, 1.14.4, 19w36a, 19w37a, 1.15 Pre-release 1, 1.15.1, 1.15.2 Pre-Release 1, 1.15.2, 20w08a, 1.16 Pre-release 2, 1.16, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 21w03a, 1.16.5, 21w05a, 21w05b, 21w07a, 21w13a, 21w15a, 1.17, 1.17.1, 21w37a, 21w39a, 21w40a, 21w41a, 21w42a, 1.18.1, 1.18.2, 22w15a, 1.19 Pre-release 2, 1.19.2, 1.19.4, 1.20.1, 1.20.4
    • Confirmed
    • Block states, Redstone
    • Normal
    • Platform

      When moving blocks with pistons they change their behaviors while being moved.
      In some - not all - cases it would make sense and remove some bugs if the moving block took some of the properties of the block inside it.

      Here is an incomplete list of the properties that could be considered.
      Please note that each of these should be well thought about and discussed, as there is also great potential to introduce new bugs.

      Behavior Related Issues Comment
      Light opacity   Can cause flickering and a waste of performance due to unnecessary light updates in flying machines
      Solid top MC-93631 Could fix Rails popping out on finishing moving, returning solid for the moving block seems odd though, because when it starts moving there is certainly no solid top on the target side
      Solid/Transparent block   Would break a well known and used redstone behavior
      Visual Transparency MC-158003  
      Slipperiness   Basically just matters for ice, but would make sense
      OnFallenUpon Behavior MC-89043 (not the same cause) e.g. slimeblocks should bounce players up while moving
      Blast resistance MC-123025 Sometimes used to easily break blocks, kind of a cool quirk
      Redstone power output   Frequently used redstone behaviour
      Emitted light MC-3667  
      3rd person camera behavior MC-233929  
      Sculk sensor vibration blocking MC-213587  
      Block material/note block instrument MC-250307  

      What else could be considered?

      Another option would be to start using the holding block's behaviors once the block moved half the way, but it seems odd and might not be supported by the underlying structure to have changing behaviors without changing the block state like that.

      These issues are generally not vitally important, however I think they are worth considering for potential systematic changes regarding moving blocks.

        1. 2023-04-05_14.51.01.png
          344 kB
        2. 2023-04-05_14.51.28.png
          399 kB
        3. 2023-04-05_14.53.20.png
          398 kB
        4. 2023-04-05_14.53.21.png
          390 kB

            Unassigned Unassigned
            panda4994 [Mojang] Panda
            67 Vote for this issue
            31 Start watching this issue