Inventory and /give bad syncing
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
execute as @p unless entity @s[nbt={Inventory:[{id:"minecraft:stone"}]}] run give @s minecraft:stone
- Cannot Reproduce
TheGabroAlexey
- 9
- 4
- Confirmed
- (Unassigned)
- commands inventory-desync
1.13.2 - 21w16a
1.13.2 19w11b 1.15.2 20w18a 20w19a 20w20a 20w21a 20w22a 1.16-pre1 1.16-pre2 1.16-pre3 1.16-pre5 1.16-pre6 1.16-pre7 1.16-pre8 1.16 1.16.1 20w27a 20w28a 20w29a 20w30a 1.16.2-pre1 1.16.2 1.16.3 1.16.4-pre2 1.16.4 20w45a 20w46a 20w48a 20w49a 20w51a 21w03a 1.16.5 21w05a 21w07a 21w08b 21w10a 21w11a 21w13a 21w15a 21w16a
Created Issue:
Inventory and /give bad syncing
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
{id:"minecraft:stone"}
execute as GuAlSe unless entity @s[nbt={Inventory:[]}] run give @s minecraft:stone
Environment
Manjaro Linux, Oracle Java 8.
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
{id:"minecraft:stone"}
execute as GuAlSe unless entity @s[nbt={Inventory:[]}] run give @s minecraft:stone
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
execute as @s unless entity @s[nbt=\{Inventory:[{id:"minecraft:stone"}]}] run give @s minecraft:stone
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
execute as @s unless entity @s[nbt=\{Inventory:[{id:"minecraft:stone"}]}] run give @s minecraft:stone
If you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
execute as @sunless entity @s[nbt={Inventory:[{id:"minecraft:stone"}]}] run give @s minecraft:stoneIf you constantly give yourself an item, it will sometimes not be displayed in the inventory.
Example command:
execute as @p unless entity @s[nbt={Inventory:[{id:"minecraft:stone"}]}] run give @s minecraft:stone
duplicates
relates to
duplicates
Manjaro Linux, Oracle Java 8.
relates to
If you use a comparator, it almost works. If you spam Q, it eventually doesn't give you one. I'm not sure if this is a bug or just cause comparators aren't fast enough.
When I mean use a comparator, I mean put,
'execute as @p unless entity @s[nbt={Inventory:[
{id:"minecraft:stone"}]}]' in one command block then 'give @p minecraft:stone' in a second.
Hey, so I'm pretty sure I'm experiencing this Bug with crafting in a datapack. It's happening with chuckchuks tables and chairs datapack, but I also have an example datapack here, where you can craft two sticks diagonal over each other to get a knowledge book. This triggers an advancement in which you get a function reward, and in that you get the knowledge book cleared and are given a wooden sword. That works no problem, and the item shows up, but if the hotbar of the player is full, the sword gets given as an invisible item and only shows up by clicking into the seemingly first empty slot. test_146043.zip
This happens in 1.14.2 and the latest 1.14.3-prerelease 1, but I'm 100% sure it's happening in every version that released after this Bugreport last got updated.
affects 20w17a
affects 20w18a
affects 20w19a
affects 20w20a
Cannot reproduce anymore in 1.17.1 (I was able to reproduce this bug in 1.17)
Cannot reproduce either.
Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit