This question already has an answer here:

I want to make it so when you right click an iron ingot it gives you a diamond and I don't know how to do that.

marked as duplicate by Fabian Röling, Virusbomb, arghtype, David Yell, Ivo Coumans Dec 19 '18 at 10:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Except when I go on there, the video in the comments does not work – ShadowX_6 Dec 16 '18 at 2:49
  • 2
    The video in the answer is indeed deleted, that's the reason why people shouldn't rely on external websites for their answers. But there are two more links in the comment. And the answer already has the necessary concept, the commands can be figured out using the wiki. Or, since right click detection is a common thing, just google "right click detection minecraft 1.13". – Fabian Röling Dec 16 '18 at 6:41
  • I do seach it up and everything I see doesnt work at all – ShadowX_6 Dec 16 '18 at 15:39
  • Then ask about those problems instead of your overall project. – Fabian Röling Dec 16 '18 at 17:27
  • I am............ – ShadowX_6 Dec 16 '18 at 18:49

i don't Think you can do it in vanilla minecraft you will need some plugins

if you are trying to do it on vanilla minecraft so i don't Think there is a way or if there is i don't know it but if you are using plugins you can use itemizer or ItemEdit to add a lore of /give @p minecraft:diamond 1

  • (not being mean) First, what plugins? and if you do a lore of /give it wouldnt work – ShadowX_6 Dec 18 '18 at 0:25
  • it depends on what plugin you're using some plugin support the / at start of lores to set is at a detection commands and some plugins needs Another own command to set a detection commands as CYOM support it where you can just add a lore of /give and it will do the command /give but with Essentials plugin you can just add a lore with / at the start to work if you was using CYOM you'll need to do the normal lore command /menu script add (lore you want or slash a start for a command) if youre using essentiaals you will need to do /pt (command) to add a command to the item you're holding – alzeinfouad Jan 21 at 10:21

Not the answer you're looking for? Browse other questions tagged or ask your own question.