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

unable to setblock door with different open attribute if there is already a door in the position

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • 1.16.4
    • None
    • None
    • Unconfirmed
    • (Unassigned)

    Description

      What was expected to happen ?

      door get replaced with a door block with different open attribute

      What happened instead ?

      nothing happened 

       

      Here is my command i used to run the setblock command using exeute

      /execute if block 100000 2 100032 minecraft:dark_oak_door[open=true] run setblock 100000 2 100032 minecraft:dark_oak_door[open=false] replace

       

      actually , the execute command itself is unrelated to this issue , it is the setblock command itself that does not work if there is already a door in the position regardless open attribute

      /setblock 100000 2 100032 minecraft:dark_oak_door[open=false] replace

       

      Workaround to fix this issue :

      set the block to air first then place the door

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iamdiwang Fajar Merah Diwangkara
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: