Embeddium

Embeddium

37M Downloads

FRAPI item models are not detected by texture animation optimization

YuJianghan opened this issue ยท 6 comments

commented

Bug Description

In the game, I use Citresewn to support item texture animations in resource packs and Continuity to support emissive textures for blocks. When loading only resource packs that contain texture animations, the animations work fine without any modifications. However, if I load an additional resource pack containing emissive textures, regardless of the loading order and whether the emissive effect is applied to blocks that already have animated textures, the emissive textures work, but all texture animations freeze on a single frame and stop animating.

The issue can only be resolved by disabling the "Animate Only Visible Textures" option in Embeddium's video settings under Performance. When this option is disabled, both emissive textures and texture animations work simultaneously.

Is this a bug? Why does the "Animate Only Visible Textures" option's functionality get affected by the presence of resource packs with emissive textures?

Mod List:

  • fabric-api-0.97.0+1.20.4
  • embeddium-fabric-0.3.14+mc1.20.4
  • continuity-3.0.0-beta.5+1.20.2
  • citresewn-1.1.5+1.20.4

Resource Pack List:

  • emissive-ores-normal-v1.1.2
  • miles's Enchanted Weapons v2.7
  • Mcopper_Re2.4.6
video.mp4

Reproduction Steps

  1. Install the mods listed above.
  2. Load a resource pack that contains texture animations.
  3. Observe that the animations work correctly.
  4. Load an additional resource pack that contains emissive textures.
  5. Observe that all texture animations freeze on a single frame.
  6. Disable the "Animate Only Visible Textures" option in Embeddium's video settings under Performance.
  7. Observe that both emissive textures and texture animations work simultaneously.

Log File

latest.log

commented

I attempted to replace the Embeddium mod with the Sodium and Indium mods. I found that, regardless of whether the "Animate Only Visible Textures" option was enabled, both emissive textures and animations worked correctly. This suggests that the issue might be caused by changes specific to Embeddium.

commented

Please check if this behavior occurs in 1.20.6, or 1.20.1; the 1.20.4 version is no longer supported, and is a couple updates behind by now.

commented

Due to the Citresewn author waiting for an OptiFine update for 1.20.6, the latest supported version for Citresewn is 1.20.4. Therefore, I have conducted two tests on version 1.20.1.

Version: Minecraft_1.20.1_Fabric_0.15.11
Mod List:

  • fabric-api-0.92.2+1.20.1
  • embeddium-fabric-0.3.19+mc1.20.1
  • continuity-3.0.0-beta.5+1.20.1
  • citresewn-1.1.5+1.20.1

Test Result: The issue is the same as in version 1.20.4. Enabling emissive texture resource packs still causes texture animations to freeze.

Version: Minecraft_1.20.1_Forge_47.1.3_SinytraConnector
Mod List:

  • Connector-1.0.0-beta.43+1.20.1
  • [Connector]fabric-api-0.92.2+1.11.8+1.20.1
  • embeddium-0.3.19+mc1.20.1-all
  • [Connector]lazurite-1.0.4+mc1.20.1
  • [Connector]continuity-3.0.0-beta.5+1.20.1
  • citresewn-1.20.1-5

Test Result: I also tested the Forge version. Since the Forge version of the connected textures mod (Connectedness) was last updated for 1.19.2, the only way to use connected textures on 1.20.1 Forge is by using SinytraConnector to translate the Continuity mod. The result was that there were no issues; both emissive textures and texture animations worked correctly.

commented

Thanks for the detailed test results; I tracked down the issue, and pushed a fix, which will be included in the next release.

commented

Wow, that was impressively fast! Thanks for the quick fix. Just out of curiosity, will this fix also be applied to version 1.20.4? It would be great to have it there as well. Thanks again for your hard work!

commented

No, I don't support minor versions for very long because it's not worth the time investment for the small number of mods that use them. The fix has just been released in 0.3.20 for 1.20.1 & 1.20.6.