The Problem:
When using a typical /fill or /setblock clock with commands like /clear or /replaceitem the inventory doesn't update visually.
How to reproduce:
Open any world with minecraft 1.8
set up a /fill or /setblock clock (bug doesn't occur with slower clocks)
add a commandblock to the clock with /clear @p
at first it seems to work, the items out of your inventory disappear, but now pick any items and put it in your inventory. The commandblock output says it cleared your inventory (the output in chat, hard to see ofcourse because of the fill / setblock commands executing so fast) but the items still appears in your inventory: http://i.imgur.com/2T4fmMq.png
Inventory updates as soon as you try to do something with the items or upon relog
Same works for /replaceitem, but only when you take out the items of the slot it's placing items in ~2 times fast after eachother.
Linked issues
is duplicated by 1
Comments 4
My framerate is fine though and all my drivers are up to date (literally installed them this week). I also have the latest version of java installed (java 8).
Same bug with the new /item command 1.17 snapshots.
Replacing items in the player inventory succesfully update the player Inventory tag (as can be seen with /data get entity @s Inventory) but most times doesn't do so with the GUI.
If the new item is a block, it can be placed but the icon, name, lore, etc. displayed in the GUI are still those of the prevoius item.
If the item replacing the previous one is a consumable, like a splash potions, ender pearls, etc. it can't be used.
MC-45458?