mojira.dev
MC-193551

Ghost item when crafting and shift-inserting while repeating /clear

Bug:

When shift-clicking more than one item into your inventory after crafting it, whilst clearing items of that type, the item stays in the inventory until it is either closed and re-opened or picked up by the cursor.  Placing the fake item results in a normal decrement of the ghost item stack, although the block is never placed. Crafting and eating eg. a golden apple results in infinite eating.

 

Steps to reproduce:

  1. Place repeating command block (Always on)

    clear @a minecraft:crafting_table
  1. Craft more than one of the specified item.

  2. Shift-move the result into your inventory.

 

Comments 1

I was unable to reproduce in 1.17

Blooker20

(Unassigned)

Unconfirmed

(Unassigned)

command, crafting, inventory, shift-click

1.16.1, 20w27a

Retrieved