Posted April 21, 20205 yr Hello, I want to create an item that has a color depending on the color of the dye you use in it's recipe(For example, like the colored cables in Applied Energistics 2, but it's only an item, not a block). Do I have to make a separate item for each color, or there is a better way of doing it?
April 21, 20205 yr Different items is generally preferred for this case. Vanilla does this (separate blocks and items for each thing that uses dye colors), and I believe it's better for general usability of the mod as well as performance. If you're dead-set on using a single item, you would have to use NBT data. That can be a bit messy and is really overkill if you're just using those 16 colors, so using separate items is advisable. If you were mixing colors then I'd recommend taking a look at how leather armor does that using NBT data. I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.
April 21, 20205 yr Author I'm only going ofr the 16 dye colors. So I will do separate items for each. Thank you for the help.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.