sp614x / optifine

1.81k stars 418 forks source link

Problem with CIT #5052

Open tomnookperez opened 3 years ago

tomnookperez commented 3 years ago

Description of Issue

I am trying to make my own custom textures for potions but I keep getting missing textures. The missing textures appear on the potions I modified so I figured this issue was related to the file names/path being incorrect. Upon checking these more than a dozen times I didn't see anything wrong, so I checked the output log. Soon I noticed a bunch of warns and errors, these being about not being able to load the textures. When I checked them they said something along the lines of "Cannot find file optifine/cit/[whatever]/[something else].png", [something else].png haing the same name as the .properties file in this folder. Now my concern is that on the .properties file I specified it to use another texture in a different directory (still in optifine/cit) so, why is this the case? Am I doing something wrong?

OptiFine Version

1.16.4 OptiFine_HD_U_G5

Installation Method

Standalone installer.

Additional Information

Here's the bit of the logs I was talking about (using one texture as an example):

19:38:21.638 net.optifine.Config Worker-Main-6 [OptiFine] File not found: optifine/cit/items/potions/strength/strenght.png

19:38:30.538 ekb Worker-Main-4 Using missing texture, unable to load minecraft:optifine/cit/items/potions/strength/strenght.png : java.io.FileNotFoundException: minecraft:optifine/cit/items/potions/strength/strenght.png

And what's in the .properties file (its directory is the one shown on the logs above): type=item items=potion nbt.Potion=minecraft:strength texture.potion=optifine/cit/items/potions/potion.png texture.potion_overlay=optifine/cit/items/potions/potion_overlay.png

I'm still a newbie to this so it is likely I made an obvious mistake and didn't realize. Thank you very much.

Regnander commented 3 years ago

Can you upload your resource pack?

tomnookperez commented 3 years ago

Can you upload your resource pack?

I would rather not but I could make a small dummy version for you to test out.

Edit: here you go Edit 2: I should probably explain what this pack is. I removed everything from the pack except the example (Potion of Strength). It works nearly as intended but if fails to read the textures.