How do I set a leather armor's dye color?

How do I set a leather armor’s dye color? I’m guessing it’s

armor.offer(Keys.DYE_COLOR, dyeColor);

Not quite - DyeColor is for stuff that uses the limited 12 colors (such as sheep, glass, clay etc)

For Leather you should use Keys.COLOR

2 Likes