VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Mixin Error: PRIVATE overwrite method bindTexture cannot reduce visibility of PUBLIC target method

Open 19136644525lxy opened this issue 9 months ago • 3 comments

Describe the bug

Environment Information

  • Minecraft Version: 1.20.1
  • VulkanMod Version: 0.5.2
  • Fabric Loader Version: 0.18.4
  • Java Version: 17.0.17
  • Operating System: Windows 11

Issue Description

The game crashes on startup with an error message indicating that VulkanMod's mixin is trying to overwrite a public method with a private method, causing a visibility error.

Error Message

Caused by: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: PRIVATE overwrite method bindTexture in vulkanmod.mixins.json:texture.MAbstractTexture from mod vulkanmod cannot reduce visibiliy of PUBLIC target method
    at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.conformVisibility(MixinPreProcessorStandard.java:479)
    at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachMethod(MixinPreProcessorStandard.java:590)
    at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachMethods(MixinPreProcessorStandard.java:356)
    at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:299)
    at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:277)
    at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1291)
    at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:203)
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:437)
    at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:418)
    at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:352)

Steps to reproduce

  1. Install Minecraft 1.20.1
  2. Install Fabric Loader 0.18.4
  3. Install VulkanMod 0.5.2
  4. Launch the game
  5. The game crashes with the error message mentioned above

Log files

crash-2026-03-02_15.31.46-client.txt

19136644525lxy avatar Mar 02 '26 07:03 19136644525lxy

1.20.1 is not supported anymore. Use the newest version.

Versatile-One avatar Mar 02 '26 08:03 Versatile-One

Is Fabric 1.21.1 still being maintained?

    @.***

19136644525lxy avatar Mar 02 '26 08:03 19136644525lxy

You can try 1.21.1 but I recommend using 1.21.11 which is currently the latest.

Versatile-One avatar Mar 03 '26 02:03 Versatile-One