Need help with getting grass on a block to render tint  [Solved]

Get help and support for using Cubik Studio.
Post Reply

Need help with getting grass on a block to render tint

Post by mrbysco » 13 Nov 2016, 17:42

I am the author of the mod "Random Decorative Things" and am currently working on adding all regular village structures to Minecraft as miniature blocks.
I just made the butcher's structure and can't seem to figure out how to do the tint on the grass.

https://sketchfab.com/models/fb955ca51 ... 96a4c3623 (currently don't have time to do the sketchfab bbcode


Following is link to the Json code
https://github.com/Mrbysco/Random-Deco ... cher.json

if anyone could help me that would be great.

-Mrbysco
x
User avatar
mrbysco
Early Adopter
Posts: 10
Joined: 27 Dec 2012, 19:58

Re: Need help with getting grass on a block to render tint

Post by HanFox » 13 Nov 2016, 18:12

Tint is hard-coded in Minecraft for certain blocks/items.

You would either need to somehow get your mod to fetch the tint for the object (which would be a question better asked on the Forge forum/IRC) or provide a specific texture that is already tinted that you can use.
x
Create your own thread for purchase/activation/key issues.

Please don't Private Message admins without prior permission. Your message may be missed.

Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
HanFox
Web Admin
Posts: 1156
Joined: 16 Apr 2012, 00:46

Re: Need help with getting grass on a block to render tint  [Solved]

Post by Sphax » 13 Nov 2016, 18:32

You'll probably need to set faces of your model with grey texture with tint index to 0 and then in your mod set the tint index 0 to a green for your block.

That's how grass and leaves are working in vanilla Minecraft.
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Post Reply

Return to “Help Centre”