compileJava Error

Started by TheKralGame on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
compileJava Error
Thu, 01/07/2021 - 14:41 (edited)

This is error:

 

Executing Gradle task: build 
Build info: MCreator 2020.5.47520, forge-1.15.2, 64-bit, 8106 MB, Windows 10, JVM 1.8.0_265, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk 
> Configure project : 
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1 
> Task :compileJava FAILED 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:3: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLServerStartingEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:4: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:5: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:6: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:3: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLServerStartingEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:4: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:5: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:6: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:11: error: cannot find symbol 
   public void init(FMLInitializationEvent event) { 
                    ^ 
  symbol:   class FMLInitializationEvent 
  location: class ClientProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:15: error: cannot find symbol 
   public void preInit(FMLPreInitializationEvent event) { 
                       ^ 
  symbol:   class FMLPreInitializationEvent 
  location: class ClientProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:20: error: cannot find symbol 
   public void postInit(FMLPostInitializationEvent event) { 
                        ^ 
  symbol:   class FMLPostInitializationEvent 
  location: class ClientProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ClientProxyTurkishmealsMod.java:24: error: cannot find symbol 
   public void serverLoad(FMLServerStartingEvent event) { 
                          ^ 
  symbol:   class FMLServerStartingEvent 
  location: class ClientProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:9: error: cannot find symbol 
   void preInit(FMLPreInitializationEvent event); 
                ^ 
  symbol:   class FMLPreInitializationEvent 
  location: interface IProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:11: error: cannot find symbol 
   void init(FMLInitializationEvent event); 
             ^ 
  symbol:   class FMLInitializationEvent 
  location: interface IProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:13: error: cannot find symbol 
   void postInit(FMLPostInitializationEvent event); 
                 ^ 
  symbol:   class FMLPostInitializationEvent 
  location: interface IProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\IProxyTurkishmealsMod.java:15: error: cannot find symbol 
   void serverLoad(FMLServerStartingEvent event); 
                   ^ 
  symbol:   class FMLServerStartingEvent 
  location: interface IProxyTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\creativetab\TabTurkishMeals.java:7: error: package net.minecraftforge.fml.relauncher does not exist 
import net.minecraftforge.fml.relauncher.SideOnly; 
                                        ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\creativetab\TabTurkishMeals.java:8: error: package net.minecraftforge.fml.relauncher does not exist 
import net.minecraftforge.fml.relauncher.Side; 
                                        ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\creativetab\TabTurkishMeals.java:11: error: package net.minecraft.creativetab does not exist 
import net.minecraft.creativetab.CreativeTabs; 
                                ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:11: error: package net.minecraftforge.fml.relauncher does not exist 
import net.minecraftforge.fml.relauncher.Side; 
                                        ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:12: error: cannot find symbol 
import net.minecraftforge.fml.common.registry.EntityEntry; 
                                             ^ 
  symbol:   class EntityEntry 
  location: package net.minecraftforge.fml.common.registry 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:13: error: package net.minecraftforge.fml.common.network.simpleimpl does not exist 
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; 
                                                       ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:14: error: package net.minecraftforge.fml.common.network.simpleimpl does not exist 
import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 
                                                       ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:15: error: cannot find symbol 
import net.minecraftforge.fml.common.network.IGuiHandler; 
                                            ^ 
  symbol:   class IGuiHandler 
  location: package net.minecraftforge.fml.common.network 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:16: error: package net.minecraftforge.fml.common.eventhandler does not exist 
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; 
                                                 ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:17: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLServerStartingEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:18: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:19: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:20: error: package net.minecraftforge.fml.common.discovery does not exist 
import net.minecraftforge.fml.common.discovery.ASMDataTable; 
                                              ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:21: error: cannot find symbol 
import net.minecraftforge.fml.common.IWorldGenerator; 
                                    ^ 
  symbol:   class IWorldGenerator 
  location: package net.minecraftforge.fml.common 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:22: error: cannot find symbol 
import net.minecraftforge.fml.common.IFuelHandler; 
                                    ^ 
  symbol:   class IFuelHandler 
  location: package net.minecraftforge.fml.common 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:27: error: cannot find symbol 
import net.minecraft.world.gen.IChunkGenerator; 
                              ^ 
  symbol:   class IChunkGenerator 
  location: package net.minecraft.world.gen 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:28: error: cannot find symbol 
import net.minecraft.world.chunk.IChunkProvider; 
                                ^ 
  symbol:   class IChunkProvider 
  location: package net.minecraft.world.chunk 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:35: error: cannot find symbol 
import net.minecraft.entity.player.EntityPlayerMP; 
                                  ^ 
  symbol:   class EntityPlayerMP 
  location: package net.minecraft.entity.player 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:36: error: cannot find symbol 
import net.minecraft.entity.player.EntityPlayer; 
                                  ^ 
  symbol:   class EntityPlayer 
  location: package net.minecraft.entity.player 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:50: error: cannot find symbol 
public class ElementsTurkishmealsMod implements IFuelHandler, IWorldGenerator { 
                                                ^ 
  symbol: class IFuelHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:50: error: cannot find symbol 
public class ElementsTurkishmealsMod implements IFuelHandler, IWorldGenerator { 
                                                              ^ 
  symbol: class IWorldGenerator 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\creativetab\TabTurkishMeals.java:34: error: cannot find symbol 
   public static CreativeTabs tab; 
                 ^ 
  symbol:   class CreativeTabs 
  location: class TabTurkishMeals 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:55: error: cannot find symbol 
   public final List<Supplier<EntityEntry>> entities = new ArrayList<>(); 
                              ^ 
  symbol:   class EntityEntry 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:61: error: cannot find symbol 
   public void preInit(FMLPreInitializationEvent event) { 
                       ^ 
  symbol:   class FMLPreInitializationEvent 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:83: error: cannot find symbol 
   public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator cg, IChunkProvider cp) { 
                                                                            ^ 
  symbol:   class IChunkGenerator 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:83: error: cannot find symbol 
   public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator cg, IChunkProvider cp) { 
                                                                                                ^ 
  symbol:   class IChunkProvider 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:98: error: package net.minecraftforge.fml.common.gameevent.PlayerEvent does not exist 
   public void onPlayerLoggedIn(net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerLoggedInEvent event) { 
                                                                                   ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:112: error: package net.minecraftforge.fml.common.gameevent.PlayerEvent does not exist 
   public void onPlayerChangedDimension(net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerChangedDimensionEvent event) { 
                                                                                           ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:121: error: cannot find symbol 
   public <T extends IMessage, V extends IMessage> void addNetworkMessage(Class<? extends IMessageHandler<T, V>> handler, Class<T> messageClass, 
                     ^ 
  symbol:   class IMessage 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:121: error: cannot find symbol 
   public <T extends IMessage, V extends IMessage> void addNetworkMessage(Class<? extends IMessageHandler<T, V>> handler, Class<T> messageClass, 
                                         ^ 
  symbol:   class IMessage 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:121: error: cannot find symbol 
   public <T extends IMessage, V extends IMessage> void addNetworkMessage(Class<? extends IMessageHandler<T, V>> handler, Class<T> messageClass, 
                                                                                          ^ 
  symbol:   class IMessageHandler 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:122: error: cannot find symbol 
         Side... sides) { 
         ^ 
  symbol:   class Side 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:158: error: cannot find symbol 
   public List<Supplier<EntityEntry>> getEntities() { 
                        ^ 
  symbol:   class EntityEntry 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:179: error: cannot find symbol 
      public void init(FMLInitializationEvent event) { 
                       ^ 
  symbol:   class FMLInitializationEvent 
  location: class ModElement 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:182: error: cannot find symbol 
      public void preInit(FMLPreInitializationEvent event) { 
                          ^ 
  symbol:   class FMLPreInitializationEvent 
  location: class ModElement 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:185: error: cannot find symbol 
      public void generateWorld(Random random, int posX, int posZ, World world, int dimID, IChunkGenerator cg, IChunkProvider cp) { 
                                                                                           ^ 
  symbol:   class IChunkGenerator 
  location: class ModElement 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:185: error: cannot find symbol 
      public void generateWorld(Random random, int posX, int posZ, World world, int dimID, IChunkGenerator cg, IChunkProvider cp) { 
                                                                                                               ^ 
  symbol:   class IChunkProvider 
  location: class ModElement 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:188: error: cannot find symbol 
      public void serverLoad(FMLServerStartingEvent event) { 
                             ^ 
  symbol:   class FMLServerStartingEvent 
  location: class ModElement 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:127: error: cannot find symbol 
   public static class GuiHandler implements IGuiHandler { 
                                             ^ 
  symbol:   class IGuiHandler 
  location: class ElementsTurkishmealsMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:129: error: cannot find symbol 
      public Object getServerGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) { 
                                                ^ 
  symbol:   class EntityPlayer 
  location: class GuiHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\ElementsTurkishmealsMod.java:136: error: cannot find symbol 
      public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) { 
                                                ^ 
  symbol:   class EntityPlayer 
  location: class GuiHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:10: error: package org.lwjgl.input does not exist 
import org.lwjgl.input.Keyboard; 
                      ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:12: error: package net.minecraftforge.fml.relauncher does not exist 
import net.minecraftforge.fml.relauncher.Side; 
                                        ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:13: error: package net.minecraftforge.fml.common.network.simpleimpl does not exist 
import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; 
                                                       ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:14: error: package net.minecraftforge.fml.common.network.simpleimpl does not exist 
import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; 
                                                       ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:15: error: package net.minecraftforge.fml.common.network.simpleimpl does not exist 
import net.minecraftforge.fml.common.network.simpleimpl.IMessage; 
                                                       ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:16: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:21: error: cannot find symbol 
import net.minecraft.inventory.Slot; 
                              ^ 
  symbol:   class Slot 
  location: package net.minecraft.inventory 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:22: error: cannot find symbol 
import net.minecraft.inventory.InventoryBasic; 
                              ^ 
  symbol:   class InventoryBasic 
  location: package net.minecraft.inventory 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:24: error: cannot find symbol 
import net.minecraft.inventory.Container; 
                              ^ 
  symbol:   class Container 
  location: package net.minecraft.inventory 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:25: error: cannot find symbol 
import net.minecraft.entity.player.EntityPlayerMP; 
                                  ^ 
  symbol:   class EntityPlayerMP 
  location: package net.minecraft.entity.player 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:26: error: cannot find symbol 
import net.minecraft.entity.player.EntityPlayer; 
                                  ^ 
  symbol:   class EntityPlayer 
  location: package net.minecraft.entity.player 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:27: error: package net.minecraft.client.gui.inventory does not exist 
import net.minecraft.client.gui.inventory.GuiContainer; 
                                         ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:28: error: cannot find symbol 
import net.minecraft.client.gui.GuiButton; 
                               ^ 
  symbol:   class GuiButton 
  location: package net.minecraft.client.gui 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:45: error: cannot find symbol 
   public void preInit(FMLPreInitializationEvent event) { 
                       ^ 
  symbol:   class FMLPreInitializationEvent 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:265: error: cannot find symbol 
   private static void handleButtonAction(EntityPlayer entity, int buttonID, int x, int y, int z) { 
                                          ^ 
  symbol:   class EntityPlayer 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:286: error: cannot find symbol 
   private static void handleSlotAction(EntityPlayer entity, int slotID, int changeType, int meta, int x, int y, int z) { 
                                        ^ 
  symbol:   class EntityPlayer 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:49: error: cannot find symbol 
   public static class GuiContainerMod extends Container implements Supplier<Map<Integer, Slot>> { 
                                               ^ 
  symbol:   class Container 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:49: error: cannot find symbol 
   public static class GuiContainerMod extends Container implements Supplier<Map<Integer, Slot>> { 
                                                                                          ^ 
  symbol:   class Slot 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:52: error: cannot find symbol 
      private EntityPlayer entity; 
              ^ 
  symbol:   class EntityPlayer 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:54: error: cannot find symbol 
      private Map<Integer, Slot> customSlots = new HashMap<>(); 
                           ^ 
  symbol:   class Slot 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:55: error: cannot find symbol 
      public GuiContainerMod(World world, int x, int y, int z, EntityPlayer player) { 
                                                               ^ 
  symbol:   class EntityPlayer 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:64: error: cannot find symbol 
      public Map<Integer, Slot> get() { 
                          ^ 
  symbol:   class Slot 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:69: error: cannot find symbol 
      public boolean canInteractWith(EntityPlayer player) { 
                                     ^ 
  symbol:   class EntityPlayer 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:74: error: cannot find symbol 
      public void onContainerClosed(EntityPlayer playerIn) { 
                                    ^ 
  symbol:   class EntityPlayer 
  location: class GuiContainerMod 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:89: error: cannot find symbol 
   public static class GuiWindow extends GuiContainer { 
                                         ^ 
  symbol:   class GuiContainer 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:92: error: cannot find symbol 
      private EntityPlayer entity; 
              ^ 
  symbol:   class EntityPlayer 
  location: class GuiWindow 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:93: error: cannot find symbol 
      public GuiWindow(World world, int x, int y, int z, EntityPlayer entity) { 
                                                         ^ 
  symbol:   class EntityPlayer 
  location: class GuiWindow 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:159: error: cannot find symbol 
      protected void actionPerformed(GuiButton button) { 
                                     ^ 
  symbol:   class GuiButton 
  location: class GuiWindow 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:170: error: cannot find symbol 
   public static class GUIButtonPressedMessageHandler implements IMessageHandler<GUIButtonPressedMessage, IMessage> { 
                                                                 ^ 
  symbol:   class IMessageHandler 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:202: error: cannot find symbol 
   public static class GUIButtonPressedMessage implements IMessage { 
                                                          ^ 
  symbol:   class IMessage 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:170: error: cannot find symbol 
   public static class GUIButtonPressedMessageHandler implements IMessageHandler<GUIButtonPressedMessage, IMessage> { 
                                                                                                          ^ 
  symbol:   class IMessage 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:172: error: cannot find symbol 
      public IMessage onMessage(GUIButtonPressedMessage message, MessageContext context) { 
                                                                 ^ 
  symbol:   class MessageContext 
  location: class GUIButtonPressedMessageHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:172: error: cannot find symbol 
      public IMessage onMessage(GUIButtonPressedMessage message, MessageContext context) { 
             ^ 
  symbol:   class IMessage 
  location: class GUIButtonPressedMessageHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:185: error: cannot find symbol 
   public static class GUISlotChangedMessageHandler implements IMessageHandler<GUISlotChangedMessage, IMessage> { 
                                                               ^ 
  symbol:   class IMessageHandler 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:231: error: cannot find symbol 
   public static class GUISlotChangedMessage implements IMessage { 
                                                        ^ 
  symbol:   class IMessage 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:185: error: cannot find symbol 
   public static class GUISlotChangedMessageHandler implements IMessageHandler<GUISlotChangedMessage, IMessage> { 
                                                                                                      ^ 
  symbol:   class IMessage 
  location: class GuiDoughToItem 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:187: error: cannot find symbol 
      public IMessage onMessage(GUISlotChangedMessage message, MessageContext context) { 
                                                               ^ 
  symbol:   class MessageContext 
  location: class GUISlotChangedMessageHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\gui\GuiDoughToItem.java:187: error: cannot find symbol 
      public IMessage onMessage(GUISlotChangedMessage message, MessageContext context) { 
             ^ 
  symbol:   class IMessage 
  location: class GUISlotChangedMessageHandler 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\item\crafting\RecipeKebabRecipe.java:9: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\item\crafting\RecipeKebabRecipe.java:20: error: cannot find symbol 
   public void init(FMLInitializationEvent event) { 
                    ^ 
  symbol:   class FMLInitializationEvent 
  location: class RecipeKebabRecipe 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\item\crafting\RecipeLahmacunRecipe.java:9: error: package net.minecraftforge.fml.common.event does not exist 
import net.minecraftforge.fml.common.event.FMLInitializationEvent; 
                                          ^ 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\item\crafting\RecipeLahmacunRecipe.java:20: error: cannot find symbol 
   public void init(FMLInitializationEvent event) { 
                    ^ 
  symbol:   class FMLInitializationEvent 
  location: class RecipeLahmacunRecipe 
C:\Users\TheKralGame\MCreatorWorkspaces\turkishmealsmod\turkishmeals1152\src\main\java\org\turkishmeals\mod\item\ItemAyran.java:7: error: package net.minecraftforge.fml.relauncher does not exist 
import net.minecraftforge.fml.relauncher.SideOnly; 
                                        ^ 
100 errors

 

Edited by TheKralGame on Thu, 01/07/2021 - 14:41
In some cases, Gradle caches…
Thu, 01/07/2021 - 17:39

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.