The list you return from your ModifyVariable handler (var8) is never actually copied, so the resource pack is never actually added to the final list stored in the resource manager (only to the namespaced resource managers).
I was using 1.18.2 for testing but I think this would occur on any version with the mixin.
I noticed this while working on compatibility with my own mod. Here is a decompilation of the actual injection.
The list you return from your
ModifyVariable
handler (var8
) is never actually copied, so the resource pack is never actually added to the final list stored in the resource manager (only to the namespaced resource managers).I was using 1.18.2 for testing but I think this would occur on any version with the mixin.