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

Left click with debug stick while shifting does not show property for blocks with only one property

XMLWordPrintable

    • Confirmed

      The bug

      Left clicking a block which has only one state property with a debug stick while shifting does not show this state property, however

      • if the block has multiple state properties it shows them.
      • if the block has no state properties it shows a message.

      Additionally the following error is logged

      Clicking anvil in 17w47b
      [18:52:00] [Server thread/FATAL]: Error executing task
      java.util.concurrent.ExecutionException: java.util.NoSuchElementException
      	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_151]
      	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_151]
      	at h.a(SourceFile:124) [17w47b.jar:?]
      	at net.minecraft.server.MinecraftServer.w(SourceFile:628) [17w47b.jar:?]
      	at net.minecraft.server.MinecraftServer.v(SourceFile:584) [17w47b.jar:?]
      	at ckv.v(SourceFile:152) [17w47b.jar:?]
      	at net.minecraft.server.MinecraftServer.run(SourceFile:489) [17w47b.jar:?]
      	at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
      Caused by: java.util.NoSuchElementException
      	at com.google.common.collect.Iterators$11.next(Iterators.java:1037) ~[guava-21.0.jar:?]
      	at com.google.common.collect.Iterators.getLast(Iterators.java:829) ~[guava-21.0.jar:?]
      	at h.b(SourceFile:167) ~[17w47b.jar:?]
      	at aky.a(SourceFile:87) ~[17w47b.jar:?]
      	at aky.a(SourceFile:74) ~[17w47b.jar:?]
      	at aky.a(SourceFile:31) ~[17w47b.jar:?]
      	at qo.b(SourceFile:200) ~[17w47b.jar:?]
      	at qo.a(SourceFile:118) ~[17w47b.jar:?]
      	at qx.a(SourceFile:644) ~[17w47b.jar:?]
      	at ky.a(SourceFile:40) ~[17w47b.jar:?]
      	at ky.a(SourceFile:10) ~[17w47b.jar:?]
      	at hc$1.run(SourceFile:13) ~[17w47b.jar:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_151]
      	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_151]
      	at h.a(SourceFile:123) ~[17w47b.jar:?]
      	... 5 more
      

      How to reproduce

      1. Place a block which has only one state property, for example an anvil or a skull
      2. Give yourself a debug stick
        /give @s debug_stick
        
      3. Left click the block while sneaking
        → No information is shown
      4. Place a block with multiple state properties or no properties like a stair block or stone
      5. Left click the block while sneaking
        → Information is shown

            grum [Mojang] Grum (Erik Broes)
            marcono1234 Marcono1234
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: