-
Content Count
2 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Eridani
-
Rank
Tree Puncher
-
You've demystified this a little bit for me and pointed out a good note - if I want to duplicate existing items, since I have the source code I can technically copy and paste it into my own class to clone the complete logic. I'll see how that goes. Thank you!
-
Eridani started following Best way to create a new dye.
-
Howdy! I have a simple objective, to make a new dye and fully incorporate it into the game give it its own wool, terractotta, banner, etc. Creating the dye item is easy - register dye item, make json recipe, done. But, I want to create super classes of the dyeable items in the game and set them to this maroon tint. And I don't know how to approach this. I see that many of these classes take the dyecolor as an argument, so allegedly if I simply add a color to the class I can then create many of the things I want with the new dyeColor. But since .class files are not modifiable (because they need to maintain where they come from), I cannot just add the dye . I also see the materialColor class, which I can create an new material color, but I don't know when that is used. There is also a colorhandlerevent where one can set the color of a textures layer of an object - this is what I think is the needed section. As of writing this I haven't read deeply to see how sepcifically each uniuqe block is colored, but this might be the right things to use where I can get the color of each object and set it during its construction by calling the colorhandler event. At any rate, there are probably also exceptions as well (such as glazed terracotta.) Just help understanding how objects are given color in general is probably all I need. Thank you in advance!