Advertisement
Bizebis

Error

Jun 19th, 2022
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5.18 KB | None | 0 0
  1. Executing Gradle task: build
  2. Build info: MCreator 2022.1.20510, forge-1.18.2, 64-bit, 32581 MB, Windows 10, JVM 17.0.1, JAVA_HOME: D:\GABRIEL\Minecraft\MCreator2022.1\jdk, started on: 2022-06-19-15:12:24
  3.  
  4. > Configure project :
  5. 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.
  6. (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,
  7. but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.
  8. 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
  9. at https://account.mojang.com/documents/minecraft_eula.
  10.  
  11. > Task :compileJava FAILED
  12. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:44: error: cannot find symbol
  13. import net.minecraft.util.ResourceLocation;
  14.                          ^
  15.   symbol:   class ResourceLocation
  16.   location: package net.minecraft.util
  17. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:55: error: cannot find symbol
  18.     public ResourceLocation getPluginUid() {
  19.            ^
  20.   symbol:   class ResourceLocation
  21.   location: class JEI
  22. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:90: error: cannot find symbol
  23.         private static ResourceLocation Uid = new ResourceLocation("improve_for_battle", "forgeanvilcategory");
  24.                        ^
  25.   symbol:   class ResourceLocation
  26.   location: class ForgeAnvilJeiCategory
  27. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:104: error: cannot find symbol
  28.         public ResourceLocation getUid() {
  29.                ^
  30.   symbol:   class ResourceLocation
  31.   location: class ForgeAnvilJeiCategory
  32. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:54: error: method does not override or implement a method from a supertype
  33.     @Override
  34.     ^
  35. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:56: error: cannot find symbol
  36.         return new ResourceLocation("improve_for_battle", "default");
  37.                    ^
  38.   symbol:   class ResourceLocation
  39.   location: class JEI
  40. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:59: error: method does not override or implement a method from a supertype
  41.     @Override
  42.     ^
  43. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:65: error: method does not override or implement a method from a supertype
  44.     @Override
  45.     ^
  46. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:84: error: method does not override or implement a method from a supertype
  47.     @Override
  48.     ^
  49. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:86: error: cannot find symbol
  50.         registration.addRecipeCatalyst(new ItemStack(ForgeAnvilBlock.block), ForgeAnvilJeiCategory.Uid);
  51.                                                      ^
  52.   symbol:   variable ForgeAnvilBlock
  53.   location: class JEI
  54. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:90: error: cannot find symbol
  55.         private static ResourceLocation Uid = new ResourceLocation("improve_for_battle", "forgeanvilcategory");
  56.                                                   ^
  57.   symbol:   class ResourceLocation
  58.   location: class ForgeAnvilJeiCategory
  59. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:100: error: cannot find symbol
  60.             this.background = guiHelper.createDrawable(new ResourceLocation("improve_for_battle", "textures/anvil_forge_gui.png"), 0, 0, 178, 166);
  61.                                                            ^
  62.   symbol:   class ResourceLocation
  63.   location: class ForgeAnvilJeiCategory
  64. C:\Users\gabis\MCreatorWorkspaces\improve_for_battle\src\main\java\net\mcreator\improveforbattle\JEI.java:130: error: cannot access ItemStack
  65.             iIngredients.setInputs(VanillaTypes.ITEM, recipeWrapper.getInput());
  66.                         ^
  67.   class file for net.minecraft.item.ItemStack not found
  68. 13 errors
  69. FAILURE: Build failed with an exception.
  70. * What went wrong:
  71. Execution failed for task ':compileJava'.
  72. > Compilation failed; see the compiler error output for details.
  73. * Try:
  74. > Run with --stacktrace option to get the stack trace.
  75. > Run with --info or --debug option to get more log output.
  76. > Run with --scan to get full insights.
  77. * Get more help at https://help.gradle.org
  78. BUILD FAILED in 1s
  79. 1 actionable task: 1 executed
  80.  
  81. BUILD FAILED
  82. Task completed in 4 seconds
  83.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement