mojira.dev
MC-90931

Pressing 'Q' in inventory does not update testfor output

I appear to have found a bug with the item detection system for inventories, when pressing 'q' over an item in the inventory, testfor (and possibly scoreboard NBT matches) are not updated, as shown in the attached file.

Steps to reproduce:

Setup a repeating command block and enter this command with a comparator obtaining an output:

testfor @p {Inventory:[{id:minecraft:elytra}]}

Then give yourself some Elytra:

/give @p elytra

Now, with the comparator powered, throw the item by opening your inventory and pressing 'q' while hovering over the Elytra, you will notice that the comparator stays powered although it is unpowered if you throw the Elytra any other way.

Charlie

Related issues

Attachments

Comments

migrated
[media]
migrated

Looks like MC-5415, assuming creative mode. Cannot reproduce in survival.

migrated

(Unassigned)

Unconfirmed

Minecraft 15w42a

Retrieved