Giving entities items in main hand

Started by xXBeamCRASHXx on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Mar 2021
Points:

User statistics:

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

set whatever in armour slot whatever of entity

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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!

Joined May 2020
Points:

User statistics:

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

I still cannot seem to make it work..