sp614x / optifine

1.8k stars 418 forks source link

Cannot Remove Glints + Custom Potion Textures not working when thrown #1350

Open DiaTheAngel opened 6 years ago

DiaTheAngel commented 6 years ago

Hello everyone, as part of a Resource Pack I'm making, I'm changing splash potions that are named 'Molotov' to a texture of a Molotov. However, I cannot for the life of me seem to figure out how to remove the glint.

I created a cit.propertiesfile in my CIT folder, and put useGlint=false as stated in the cit.properties file. Nothing

I tried making a no_glint.properties file, and put this into it type=enchantment items=splash_potion damage=7 damageMask=16447 texture=no_glint

Still nothing

I also tried putting useGlint=false in the molotov.properties file type=item items=minecraft:splash_potion texture.potion_bottle_splash=molotov.png texture.potion_overlay=molotov_overlay.png nbt.display.Name=Molotov useGlint=false but still got nothing at all

And when thrown, it doesn't throw the custom potion texture, it just throws the standard potion texture

Am I doing something wrong or is it an Optifine issue?

xLastt commented 6 years ago

i don't understand how to change potions textures :c

aws404 commented 6 years ago

Try uploading your current pack so we have something to work off to help you

DiaTheAngel commented 6 years ago

molotov_overlay molotov_overlay

molotov molotov

`{ "animation": { "frametime": 3, "frames": [ 0, 1, 2, 3,

]

} }` molotov.png.mcmeta (animation)

type=item items=minecraft:splash_potion texture.potion_bottle_splash= molotov.png texture.potion_overlay= molotov_overlay.png nbt.display.Lore.*=Want to heat things up? molotov.properties

As a side note, I was eventually able to remove the enchantment glint, but this was only by making a cit.properties file and putting the `useGlint = false, but this gave me another problem: while I thought it was the overlay making the potion bottle purple, it is actually the colour of the potion liquid itself. The overlay didn't really have anything to do with it it seems..

sp614x commented 6 years ago

The thrown potions don't have a name so they can't use CIT by name.

DiaTheAngel commented 6 years ago

Oh, alright, well I guess that solves the thrown potions. However, what is causing my overlay to not work? :(