How do I add a custom attribute to an item?

Started by Coolstorm on

Topic category: Help with MCreator software

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a custom attribute to an item?

How do I add a custom attribute (or any attribute for that matter) to an item? I've tried searching but had no luck so far.

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I forgot to mention I'm…
Mon, 06/30/2025 - 16:14

I forgot to mention I'm using 2024.4

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think you can…
Mon, 06/30/2025 - 16:41

I don't think you can directly do this in MCreator without custom coding or weird procedures (yet. It may be added in a future update). However, you can directly interact with attributes from vanilla Minecraft or from your own mod by using potion effects, and you could create a simple procedure to give the player the potion effect while they hold or wear the item.