sp614x / optifine

1.77k stars 420 forks source link

[1.20.4 Bug] Arrow CEM is not working in 1.20.4 #7646

Closed SeaOfPixels closed 3 months ago

SeaOfPixels commented 3 months ago

Description of Issue

The new CEM support for arrows and spectral arrows in OptiFine 1.20.4_HD_U_I8_pre3 seems to not be working.

OptiFine Version

OptiFine 1.20.4_HD_U_I8_pre3

Test resource pack: NewDefault+OnlyCemArrows.zip

OptiFineCemArrowBug1 OptiFineCemArrowBug2

sp614x commented 3 months ago

The JEMs use the wrong bone name arrow, the correct one is body. https://github.com/sp614x/optifine/blob/master/OptiFineDoc/doc/cem_model.txt#L19

[OptiFine] CustomEntityModel: optifine/cem/arrow.jem
[OptiFine] Model part not found: arrow, model: net.optifine.entity.model.ArrowModel@2d628a7d
[OptiFine] CustomEntityModel: optifine/cem/spectral_arrow.jem
[OptiFine] Model part not found: arrow, model: net.optifine.entity.model.ArrowModel@2809e8ea