Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Biome colors on blocks?

Recommended Posts

I'm relatively new to making mods, I've figured out the basic stuff about making blocks and items...

But there's this one thing i can't seem to figure out for some reason, and there's 0 tutorials on youtube on how to do it.

Foliage on blocks has me stumped, like how leaves and grass do.

I've made quite a few blocks, that rotate, have different bounding boxes, collision boxes, models n stuff,

but i would like a little more walk through with this to understand it more. (and maybe it'll help others understand too)

Link to post
Share on other sites

Minecraft does that by registering IBlockColors in net.minecraft.client.renderer.color.BlockColors. But that alone isn't enough - your block model must have a "tintindex" for relevant faces, for example look at assets/minecraft/models/block/leaves.json.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.