sp614x / optifine

1.8k stars 418 forks source link

[Random Entities] CIT EnderDragon textures not working 1.16.4-OptiFine_HD_U_G5 #5067

Open MelloJelloGames opened 3 years ago

MelloJelloGames commented 3 years ago

Description of Issue

There is a resource pack that changes the EnderDragon texture if it has a certain NBT name in 1.14 it works no issues but in 1.16 it doesn't work the textures do not load the dragons appear normal.

Steps to Reproduce

  1. Load a resource pack with a custom enderdragon texture in 1.16 Test Resourcepack
  2. summon a dragon with the custom name listed in the dragon.properties folder. Command for the test resourcepack: /summon minecraft:ender_dragon ~ ~ ~ {NoAI:1b,CustomName:""Red""} or /summon minecraft:ender_dragon ~ ~ ~ {NoAI:1b,CustomName:""Orange""} 3.Test in 1.14 with the same commands and it will load the texture in 1.14 but not in 1.16

OptiFine Version

1.16.4-OptiFine_HD_U_G5

Installation Method

Installation was from clicking the jar and opening the installer from the optifine.net website

F3 Debug Screenshot

1.14 https://user-images.githubusercontent.com/42978255/84312137-60f17800-ab5c-11ea-94a4-00820939e1bd.png 1.16 https://user-images.githubusercontent.com/42978255/84312148-63ec6880-ab5c-11ea-9382-e86f0981e753.png

Prior Testing

Additional Information

All files are correct for version 1.14 perhaps the file names just got changed and it wasn't documented?

rspforhp commented 3 years ago

actually optifine for 1.16.4 is not updated for working with random enity models sooo just wait

MelloJelloGames commented 3 years ago

actually optifine for 1.16.4 is not updated for working with random enity models sooo just wait

Actually yes, it does. As far as my testing it works for every mob besides the Ender Dragon. A good public example is Creature Variety by DraminOver which can be found on planetmc.

Rixic commented 3 years ago

Can confirm this issue still occurs on OptiFine_1.16.5_HD_U_G7

TenToTu commented 1 year ago

I had the same problem but couldn't find any solutions. Luckily, I managed to figure it out on my own. I'm doing this on 1.12.2, and it seem that the system has changed somewhere between 1.14 and 1.16. In 1.14 (and in my 1.12.2), you have to name the ".properties" file after the texture itself that you want to change. But in 1.16, you have to name it after the mob itself. So that would be "enderdragon,properties".

Let me know if it worked