(SOLVED) How to add attributes to items?

Started by StakuTheToaster on

Topic category: Help with modding (Java Edition)

Last seen on 21:18, 16. Jun 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) How to add attributes to items?
Tue, 04/09/2024 - 14:03 (edited)

Hi, when making items, MCreator allows you to edit the standard attributes often seen on those items (Swords have Attack Speed and Damage, Armor have Armor and Armor Toughness). But what if I want to set other attributes to those items, like Max Health? How can I do this with Custom Code or Procedure?

Edited by StakuTheToaster on Tue, 04/09/2024 - 14:03
Last seen on 21:18, 16. Jun 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes and No, problem here is…
Tue, 04/09/2024 - 00:08

Yes and No, problem here is it's only for 2023.3, and I'm using 2024.1 also it's getting added afterward and is not a default value, means you don't see the attributes in the creative tab only after you put it in your inventory or when its getting update.