Sorry for bad english i'm french :/
an item who was gived by a sign with json format, click event and run command does not appear in inventory, exept if the target slot is selected
in french:
un item obtenu grâce à une pancarte et au format jspn, avec l'event "click event, run command, give @p item" n'apparaît pas dans l'inventaire, sauf s'il apparait dans le slot sélectionné
command:
give @p sign 1 0 {BlockEntityTag:{Text3:"{text:\"Cliquez moi\",color:red,clickEvent:{action:\"run_command\",value:\"/give @p iron_sword 1 0\"}}"}}
Note:
when you restart the world you have the item in your inventory
Linked issues
is duplicated by 2
relates to 1
Attachments
Comments 4
Actually it gives you always the items but like it is said here: MC-59012 the inventory wont update
By reopening the world you see all the items
You can sum up this as Sign with give / replaceitem doesn't update player inventory
Confirmed for 14w29b
Relates to: MC-62736
Please don't put down the affected version as a future version, as you don't have access to it yet.