how to compare item durability & change image w/ procedure

Started by Icode2U on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to compare item durability & change image w/ procedure

How do i compare a items durability to change its image (which i also need help) with procedures

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If its an item use item…
Mon, 09/09/2024 - 23:33

If its an item use item states, if its a tool or an armour then i think you would need to create a second damaged version with the same durability and then add damage to the item to keep its same durability level. The first set would need to be removed and replaced from the inventory so you might want to check for which slots they're in and replace it with the second item set in the same slot to make it look as if its the same item. Use the get damage of item procedure to find the durability.

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks! I'm just using a…
Fri, 10/04/2024 - 00:32

thanks! I'm just using a item though.