Jump to content

Recommended Posts

Posted

context:

 

It is posible to create new color instances in order to dye armor?

 

So im looking for creating new dyes (harder to achieve) which cannot be emulated by mixing vanilla dyes. Like exclusive ones. And give some effects for the armor.

 

This is the concept:

 

- u get a drop from a mob or elsewhere

- that item is a dye, that can dye armor (and whool?)

- that color applies a color code which isn't found here https://minecraft.gamepedia.com/File:DyeGraph2.png

- that dyed leather armor has several effects which apply when the wearer gets attacked (by checking if dyed color matches)

 

Posted
7 minutes ago, ciroreed said:

It is posible to create new color instances in order to dye armor?

Sure, you can create your own dye system that can enumerate through all 16 billion colors if you want. You just need to make the system and handle it accordingly.

Posted
31 minutes ago, ciroreed said:

I ask here expecting to receive some advice, like the name of the interfaces involved on this process. Thanks.

Well the question you asked was can you add new colors of dye. The answer to that question is yes, you can if you wanted to. You would just need to rework the entire color system since it was only made to handle the 16 colors.

 

There was no interfaces to mention or classes to reference, anything you reference will most likely need to be redone and rehandled from scratch.

 

Also, 1.12.2 is not supported on this forum. Please check the banner to see the currently supported versions and update accordingly.

Posted

Okay, thanks! im not asking about 1.12 specifically. My questions are mostly about forge concepts. I have both documentations opened and I can make my way. 1.16 answers will help me anyways

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.