Giving entities items in main hand

Started by xXBeamCRASHXx on Sun, 03/07/2021 - 10:24

Topic category: Help with modding (Java Edition)

Last seen on 12:21, 13. Mar 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Giving entities items in main hand
Sun, 03/07/2021 - 10:32 (edited)

Hello,

I'm a bit new to MCreator and I need help. I want to make it so that when you right click an entity you equip it with the item you are currently holding in your hand. For example, if I right click an entity with a netherite helmet, it would appear on the head of the entity, and if you right click it with a sword, it appears in the hand of the entity. I tried the "When right clicked on entity" procedure but I can't seem to make it work. Any help will be appreciated.
Thank you!

Edited by xXBeamCRASHXx on Sun, 03/07/2021 - 10:32
Last seen on 18:32, 11. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
set whatever in armour slot…
Sun, 03/07/2021 - 12:18

set whatever in armour slot whatever of entity

Last seen on 12:21, 13. Mar 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks, I didnt look up…
Sun, 03/07/2021 - 13:01

Thanks, I didnt look up correctly in the procedure blocks. Appreciate the help!

Last seen on 12:21, 13. Mar 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I still cannot seem to make…
Sun, 03/07/2021 - 13:23

I still cannot seem to make it work..