Started by
Icode2U
on
Topic category: Help with modding (Java Edition)
How do i compare a items durability to change its image (which i also need help) with procedures
Topic category: Help with modding (Java Edition)
How do i compare a items durability to change its image (which i also need help) with procedures
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.
thanks! I'm just using a item though.