Executing Gradle task: build Build info: MCreator 2022.2.34517, forge-1.18.2, 64-bit, 7893 MB, Windows 11, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-03-23-20:46:48 BUILD FAILED Task completed in 13 seconds > Configure project : The code of this workspace uses official obfuscation mappings provided by Mojang. These mappings fall under their associated license you should be fully aware of. (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula. > Task :compileJava FAILED C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:24: error: cannot find symbol private CustomPainting selectedPainting; ^ symbol: class CustomPainting location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:70: error: cannot find symbol public CustomPainting getSelectedPainting() { ^ symbol: class CustomPainting location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:19: error: PaintingPickerScreen is not abstract and does not override abstract method renderBg(PoseStack,float,int,int) in AbstractContainerScreen public class PaintingPickerScreen extends AbstractContainerScreen { ^ C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:27: error: cannot find symbol super(new StringTextComponent("pokemonpainting:textures/gui/Charmander.png")); ^ symbol: class StringTextComponent location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:37: error: cannot find symbol for (int i = 0; i < CustomPainting.values().length; i++) { ^ symbol: variable CustomPainting location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:38: error: cannot find symbol CustomPainting painting = CustomPainting.values()[i]; ^ symbol: class CustomPainting location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:38: error: cannot find symbol CustomPainting painting = CustomPainting.values()[i]; ^ symbol: variable CustomPainting location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:39: error: cannot find symbol Button button = new Button(startX + ((buttonWidth + 5) * (i % 4)), startY + ((buttonHeight + 5) * (i / 4)), buttonWidth, buttonHeight, painting.getName(), (press) -> { ^ symbol: class Button location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:39: error: cannot find symbol Button button = new Button(startX + ((buttonWidth + 5) * (i % 4)), startY + ((buttonHeight + 5) * (i / 4)), buttonWidth, buttonHeight, painting.getName(), (press) -> { ^ symbol: class Button location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:45: error: cannot find symbol this.addButton(new Button((this.width / 2) - (buttonWidth / 2), startY + GUI_HEIGHT - buttonHeight - 5, buttonWidth, buttonHeight, I18n.format("gui.done"), (press) -> { ^ symbol: class Button location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:45: error: cannot find symbol this.addButton(new Button((this.width / 2) - (buttonWidth / 2), startY + GUI_HEIGHT - buttonHeight - 5, buttonWidth, buttonHeight, I18n.format("gui.done"), (press) -> { ^ symbol: variable I18n location: class PaintingPickerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:46: error: cannot find symbol Minecraft.getInstance().displayGuiScreen(null); ^ symbol: method displayGuiScreen() location: class Minecraft C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:50: error: method does not override or implement a method from a supertype @Override ^ C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:53: error: cannot find symbol this.minecraft.getTextureManager().bindTexture(GUI_TEXTURE); ^ symbol: method bindTexture(ResourceLocation) location: class TextureManager C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:56: error: no suitable method found for blit(int,int,int,int,int,int) this.blit(x, y, 0, 0, GUI_WIDTH, GUI_HEIGHT); ^ method GuiComponent.blit(PoseStack,int,int,int,int,int,TextureAtlasSprite) is not applicable (actual and formal argument lists differ in length) method GuiComponent.blit(PoseStack,int,int,int,int,int,int) is not applicable (actual and formal argument lists differ in length) method GuiComponent.blit(PoseStack,int,int,int,float,float,int,int,int,int) is not applicable (actual and formal argument lists differ in length) method GuiComponent.blit(PoseStack,int,int,int,int,float,float,int,int,int,int) is not applicable (actual and formal argument lists differ in length) method GuiComponent.blit(PoseStack,int,int,float,float,int,int,int,int) is not applicable (actual and formal argument lists differ in length) C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\client\gui\PaintingPickerScreen.java:62: error: method render in class AbstractContainerScreen cannot be applied to given types; super.render(mouseX, mouseY, partialTicks); ^ required: PoseStack,int,int,float found: int,int,float reason: actual and formal argument lists differ in length where T is a type-variable: T extends AbstractContainerMenu declared in class AbstractContainerScreen C:\Users\matti\MCreatorWorkspaces\pokemonpainting\src\main\java\net\mcreator\pokemonpainting\init\PokemonpaintingModScreens.java:21: error: incompatible types: invalid constructor reference MenuScreens.register(PokemonpaintingModMenus.PAINTING_PICKER, PaintingPickerScreen::new); ^ constructor PaintingPickerScreen in class PaintingPickerScreen cannot be applied to given types required: no arguments found: M,Inventory,Component reason: actual and formal argument lists differ in length where M,U are type-variables: M extends AbstractContainerMenu declared in method register(MenuType,ScreenConstructor) U extends Screen,MenuAccess declared in method register(MenuType,ScreenConstructor) Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 17 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 2 seconds