Fusion (Connected Textures)

Fusion (Connected Textures)

40M Downloads

[Bug] Fusion overrides not loaded from dynamically loaded texturepacks

JaisDK opened this issue ยท 5 comments

commented

Version Info

  • Minecraft, 1.21.1
  • Fusion, Fusion 1.2.7b for NeoForge 1.21

What mod loader are you using?: NeoForge

Are you using OptiFine: Fuck no

Description of the Bug

Adding a resourcepack with the AddPackFindersEvent does not read and load the fusion overrides from the pack.meta file.

Steps to Reproduce

https://github.com/JDKDigital/dyenamicsandfriends/blob/dev-1.21.1/src/main/java/cy/jdkdigital/dyenamicsandfriends/DyenamicsAndFriends.java#L82

https://github.com/JDKDigital/dyenamicsandfriends/tree/dev-1.21.1/src/main/resources/compat_packs/productivemetalworks

commented

In the file on CurseForge I have the override in the main mcmeta file so it actually works. I'll attach a build here where I've moved it to the dynamically loaded resourcepack.

Image

dyenamicsandfriends-1.21.1-2.1.4.zip

commented

As far as I can tell the compat_packs/productivemetalworks pack just gets ordered below the resource pack from Productive Metal Works itself. If I copy the resources from compat_packs/productivemetalworks/fusion-overrides/assets/productivemetalworks to compat_packs/productivemetalworks/assets/productivemetalworks, the resources from the the compat pack still get overwritten by Productive Metal Works' own resources.

commented

If I set a breakpoint in the AddPackFindersEvent#addPackFinders method to change the pack position of the compat pack from BOTTOM to TOP, the foundry glass seems to use the correct models from the compat pack and all the glass types connect.

commented

that does indeed work, I was sure I had tested that but maybe the resources weren't working for other reasons at that time
I'll close this then, thanks for looking into it.

commented

Debugging a bit, it does seems to be picking up the overrides folder from the pack.mcmeta file. As far as I can tell, it is working as intended.
With Dyenamics and Friends and Productive Metalworks installed, I can see that the mint foundry window block added by Dyenamics and Friends connects to the purple foundry window block as specified in the purple foundry window model from the compat pack in the overrides folder.

Image