0

How do I make items give you attributes when they are in the inventory? It only works when the player holds the item or wears it, but not when the item is in the inventory.

  • Lets see... there´s "when on (armour slot)", "when in main hand", "when in off hand", idk about in inventory – Alexander Day Sep 24 '18 at 18:09
0

It's impossible.

Attributes are only applied when the item is "active", meaning it is in any of the following slots:

  • helmet slot
  • chestplate slot
  • leggings slot
  • boots slot
  • offhand slot
  • selected hotbar slot

And even there they have to be the item itself, not its content (for example an item which gives attributes doesn't work if you hold a shulker box containing it).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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