Jump to content

Recommended Posts

Posted

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)

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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