2

I have a problem with potion overlays

FaithSawesome 3/30/22 3:37 pm history
355
4/1/2022 2:47 pm
So Im trying to make a 3d resource pack and i am changing the potions to something.

for some reason potion overlay wont change colors



and the other potions that i havent edited work


how can i fix this?
Posted by
FaithSawesome
Level 41 : Master uwu
16

  Have something to say?

JoinSign in

14

ImQuiting404
03/31/2022 3:58 pm
Level 23 : Expert Explorer
What is your help?
1
Karaoke
03/31/2022 11:38 am
She/Her • Level 70 : Legendary Aesthetic Witch
Think you need to use optifine. there's a color.properties you'll need to edit. Vanilla is hard color coded and cannot be changed.
1
oakar258
03/31/2022 3:09 pm
Level 69 : High Grandmaster Artist
The problem in question is not to customize the hardcoded colors, but to make them show up in the first place.
1
Karaoke
03/31/2022 6:01 pm
She/Her • Level 70 : Legendary Aesthetic Witch
You just edit the color file in optifine and it works. You don't have to do anything extra except put it in the right location.
1
oakar258
04/01/2022 10:42 am
Level 69 : High Grandmaster Artist
This specific case was about potions custom model, which is part of vanilla modification possiblities, no optifine required.

The problem was, that the potions fluid textures stayed grayscale because of wrong name for texture association and game couldn't recognise it as "tintable part".
2
Karaoke
04/01/2022 12:49 pm
She/Her • Level 70 : Legendary Aesthetic Witch
Considering there wasn't a thing about vanilla in the post problem, you can see my confusion. Most users just go to optifine since it's easier. Should have been clued in when they said 3d models I suppose. Good fix.
1
oakar258
04/01/2022 2:47 pm
Level 69 : High Grandmaster Artist
Well, once I first replied to you I started to think more about the sentence in the thread and came to conclusion it could be understanded differently. So yeah, I don't blame you.
1
oakar258
03/31/2022 11:27 am
Level 69 : High Grandmaster Artist
Default models uses "layer0" name for overlay texture assotiation. Maybe try that, if not - try adding tintindex:0 parameters to the overlay elements
1
FaithSawesome
03/31/2022 2:02 pm
Level 41 : Master uwu
can u uh explain a little more?
1
oakar258
03/31/2022 3:09 pm
Level 69 : High Grandmaster Artist
When you open your potion model in text editing program you will see section named "textures"

Change whatever you named texture for overlay on the left into layer0 (keep in mind you will also have to update the names in faces sections of overlay elements)


Let's try with that first. Let me know if it works
1
FaithSawesome
04/01/2022 8:30 am
Level 41 : Master uwu
oh my god it worked thank you so much



have my sub
2
qerzy
03/30/2022 3:51 pm
Level 43 : Master Wolf Whisperer
haha first comment
1
EchoTheGoof
03/30/2022 4:02 pm
Level 30 : Artisan Musician
But why
1
qerzy
03/30/2022 4:03 pm
Level 43 : Master Wolf Whisperer
Becuz Why
1

Welcome