[512x - 32x] Better Grass & Leaves / Foliage [MC1.6 - 1.12 & 1.16]

Post a new thread here if you've made a BDcraft styled complete patch to fully support a Minecraft mod.
Post Reply 
User avatar
Lifetime Supporter
247 Posts
 x 14

Post 07 Nov 2017, 05:11

I'm using this with the Forestry mod in 1.7.10, and the "better leaves" look wrong for conifers like Red Spruce as seen in this screenshot:
Image
Mundane Larch is similarly affected, but that's not visible in the screenshot.
Is there anything I can do to make it use the "conifer" leaf texture instead for those diagonal parts?
If you like our work please consider becoming a Supporter and get an ad-free experience.
User avatar
BDcraft Web Admin
6619 Posts
 x 438

Post 07 Nov 2017, 10:22

You would at least need to provide a new large (rounded) texture from what I can recall.

You would need to place that new texture in /assets/betterfoliage/textures/forestry/forestry_conifer.png (possibly assets/betterfoliage/textures/forestry/leaves/forestry_conifer.png -- I can't recall how the relations work).

Then open /assets/betterfoliage/textures/leafTextureMappings.cfg

Then add something similar to:

Code: Select all

forestry/leaves:conifers=forestry_conifer
The above means "look inside /assets/minecraft/forestry/leaves for textures that partially match conifers and use =[texture] as the rounded leaves for whichever block uses the [texture]=".

Hopefully that's not too confusing...

I haven't tested this. Pretty sure it'll work after deciphering what I wrote in the .cfg file...

Note: I believe this has changed to qualified block IDs in later versions of the mod (or it always was and I was super dumb before, but then I don't know why I would have left that note in the file).
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
Lifetime Supporter
247 Posts
 x 14

Post 07 Nov 2017, 16:10

Actually, I just searched the MCF thread for Better Foliage, and according to this post, that config file is for the falling leaves, not the leaf blocks. However, I found a different post that gave me a hint for how to fix this. It looks like I just need to make copies of the leaf block variants under /assets/betterfoliage/textures/blocks/forestry/leaves/.

Edit: didn't work. Maybe I can try the config as well, and if that doesn't work, I'll ask OctarineNoise for help.
User avatar
BDcraft Web Admin
6619 Posts
 x 438

Post 07 Nov 2017, 16:21

Ah you need to put them in that folder and call the png better_leaves[texturename].png

But yes the mapping cfg seems to be for falling leaves. My bad.
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
Lifetime Supporter
247 Posts
 x 14

Post 07 Nov 2017, 17:26

I tried several variants of that - with and without the "better_" prefix, and with and without an underscore between "leaves" and "conifers" in the filename. None of them worked. :cry: I applied that to the "changed", "fancy", and "plain" files just in case it was using one of the others despite my having graphics set to "Fancy" rather than "Fast", but only for the conifers for now (I would have applied it to the others if I'd gotten it to work for conifers).
User avatar
BDcraft Web Admin
6619 Posts
 x 438

Post 07 Nov 2017, 20:10

After getting home and checking properly I realise I've been talking a lot of hot cack.

What you posted on MCF should be correct. I guess it's bugged. Maybe confused by periods in the filenames. We'll see if OctarineNoise replies, I guess.
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
109 Posts
 x 4

Post 12 Nov 2017, 20:44

Will this work for mc 1.12+? I heard some can and some don't (example MC1.12 PCraft work fine with MC1.12.2). Yes, I know Better Grass & Leaves hasn't updated to 1.12 as yet so its not 'rush' type thing but still as question.
User avatar
BDcraft Web Admin
6619 Posts
 x 438

Post 12 Nov 2017, 20:48

Better Foliage has updated to MC1.12 (which is what the mod is now called) and this patch doesn't work properly as you can see from the last few posts on the previous page.

If I ever get a chance I'll fix it, but I have more important things to do.
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
109 Posts
 x 4

Post 14 Dec 2017, 15:24

I know its been awhile on this forum but in the posts above I understand there been conflict between BetterFolige and Optifine. Its mentioned here CurseForge in the comment section as even I questioned about it. So above issue might not be on texture end of things. Just a heads up to help.
User avatar
BDcraft Web Admin
6619 Posts
 x 438

Post 14 Dec 2017, 15:41

Not sure what you mean. It works fine with Optifine.
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
Post Reply