Overlay not working

Started by TheMineCommander on

Topic category: Help with modding (Java Edition)

Last seen on 19:24, 22. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay not working

I am trying to make an overlay (target is ingame, priority is highest, and I have set a base texture) but it keeps giving me this error:

Executing Gradle task: runClient 
Build info: MCreator 2022.2.34517, fabric-1.19.2, 64-bit, 16252 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-10-16-16:29:26 
  
> Configure project : 
Fabric Loom: 0.12.56 
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix. 
> Task :compileJava FAILED 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                 ^ 
  symbol:   variable w 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                    ^ 
  symbol:   variable h 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                       ^ 
  symbol:   variable w 
  location: class OverlayOverlay 
C:\Users\MyUsername\MCreatorWorkspaces\shader_mod\src\main\java\net\mcreator\shadermod\client\gui\OverlayOverlay.java:48: error: cannot find symbol 
         GuiComponent.blit(matrices, 0, 0, 0, 0, w, h, w, h); 
                                                          ^ 
  symbol:   variable h 
  location: class OverlayOverlay 
4 errors 
FAILURE: Build failed with an exception. 
* What went wrong: 
Execution failed for task ':compileJava'. 
> Compilation failed; see the compiler error output for details. 
* Try: 
> Run with --stacktrace option to get the stack trace. 
> Run with --info or --debug option to get more log output. 
> Run with --scan to get full insights. 
* Get more help at https://help.gradle.org 
BUILD FAILED in 1s 
1 actionable task: 1 executed 
  
BUILD FAILED 
Task completed in 8 seconds 
  

I don't know why this is happening; can anyone help?

Last seen on 20:44, 17. May 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you edited manually your…
Sun, 10/16/2022 - 22:33

Did you edited manually your Overlay?

Last seen on 19:24, 22. Oct 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did not, but it worked…
Mon, 10/17/2022 - 01:21

I did not, but it worked only when I added an image instead of using a background

Last seen on 12:03, 8. Apr 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I join the topic, I also do…
Sat, 04/08/2023 - 11:53

I join the topic, I also do not work on the plugin fabric 1.19.2. Overlay not comp, even if you create it completely empty regardless of settings or procedures