Add dye_color to ItemMeta
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem?
Since minecraft has added the "dye_color" attribute(?) in their give command you can give any item any color. I am making this by replacing the Model with the item_model attribute(?). That way Non colorable items can become colored models.
Describe the solution you'd like.
The Metadata should have a method to set that dye_color.
Describe alternatives you've considered.
Casting the normal meta into CollorableArmorMeta or LeatherArmorMeta is not possible as it creates an error.
Other
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ItemMeta API and compare the existing CollorableArmorMeta and LeatherArmorMeta paths, especially how metadata is represented for non-colorable items. Confirm the intended dye_color behavior against Minecraft's give command and verify that the resulting metadata can color an item model without requiring an armor-specific cast.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100