Jump to content

[1.14.4] custom / dynamic colormap


Megabaum

Recommended Posts

Check out how vanilla does it in GrassColors, FoliageColors, and BiomeColors. Then use BlockColors#register in the client setup event ColorHandlerEvent.Block* to replace the vanilla block colors.

Edited by imacatlolol
* Corrected thanks to @diesieben07

I'm eager to learn and am prone to mistakes. Don't hesitate to tell me how I can improve.

Link to comment
Share on other sites

  • 2 years later...

In the default Textures, there is a folder colormap with a png file called foliage.

I want to know how I can use that custom Foliage. But I don't know which class to look at

On 2/29/2020 at 6:11 PM, imacatlolol said:

Check out how vanilla does it in GrassColors, FoliageColors, and BiomeColors. Then use BlockColors#register in the client setup event ColorHandlerEvent.Block* to replace the vanilla block colors.

These classes do not directly access any png files. Any Idea which class possibly does that?

Link to comment
Share on other sites

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.