when item is right clicked, it will give armor.

Started by epicdeadgamer on Sat, 06/18/2022 - 09:28

Topic category: Help with modding (Java Edition)

Last seen on 20:59, 2. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
when item is right clicked, it will give armor.
Sat, 06/18/2022 - 09:28

I'm trying to make an item give player armor by right clicking but I'm not sure how to go about it. I've tried doing the (Execute command/["replaceitem entity @p slot.armor.head minecraft:diamond_helmet"] in the name of Event/target entity) Block but it's not working. Can someone send me a picture of the order of blocks pls.

 

Last seen on 18:52, 23. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Use this in execute command…
Sat, 06/18/2022 - 12:33

Use this in execute command block: /replaceitem entity @p slot.armor.head 1 minecraft:diamond_helmet

Last seen on 18:52, 23. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
sorry command is /item…
Sat, 06/18/2022 - 13:25

sorry command is /item replace etc. etc.

Last seen on 18:52, 23. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Look in minecraft how that…
Sat, 06/18/2022 - 13:26

Look in minecraft how that command works

Last seen on 20:59, 2. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well the command I put in is…
Sat, 06/18/2022 - 16:21

Well the command I put in is correct, but I don't know why it doesn't execute.