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

Detecting read-only blockstates always returns false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.11
    • None
    • Unconfirmed

      When detecting any blockstate that is read-only, meaning it depends on the environment around it to be determined, the value returns always false even if the debug menu shows it as true.

      To test:

      1. Create the conditions for the block types below
      2. /testforblock x y z (insert following values)
      3. Notice the error message returns that the state is false despite debug menu saying true

      • grass snowy=true
      • fence north=true
      • fence_gate in_wall=true
      • oak_stairs shape=outer_right
      • powered_repeater locked=true

      ...and many others

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: