How do I make a "When on head" or "When in hand" item? Like max health or speed but in that vanilla style way.

Started by AlexTheAwesome on

Topic category: Help with MCreator software

Last seen on 05:39, 13. Aug 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a "When on head" or "When in hand" item? Like max health or speed but in that vanilla style way.

I know something like this is possible with commands, but how might I do this in MCreator? I'd like to make items that give boosts without potions, so they can stack properly. Like if I have a helmet that gives +5 health and a chestplate that also gives +5 health, if I do it via potions, wearing both would be the same as one, but it's supposed to give +10.. How do I make the NBT or whatever item data that does this?

Last seen on 17:59, 7. Jan 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Modify Generic Attributes by…
Mon, 06/21/2021 - 18:57

Modify Generic Attributes by making the helmet run /attribute when on head once (you can use item nbt to do this)

If you use this method then https://minecraft.fandom.com/wiki/Commands/attribute will be of help to you.

Last seen on 05:39, 13. Aug 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Interesting. Thank you!
Tue, 06/22/2021 - 04:07

Interesting. Thank you!