![]() I assume it is a global variable somewhere probably in an import file as well. class EntityItem is the symbol not foundĪlso the variable items is not found.class itemStack is the symbol not found.class livingDropsEvent is the symbol not found.It looks like you have several cases of a "symbol not found" which probably are due to a missing import file such as: This is the most probable cause for a "symbol not found" error that involves a type. ![]() The most usual case is a missing import directive for a file that contains the symbol or type or name. There are several reasons for this to happen. This is an error that means the symbol or type or name that is indicated is not found when the Java compiler searches for it. This means that when the Java compiler is processing the source code it is discovering a symbol or type or name of some kind that it doesn't know about. You also have a number of errors of the same type that are something like: C:\Users\USER\MCreatorWorkspaces\trevcorp_meat_paste\build\sources\main\java\net\mcreator\trevcorp_meat_paste\MCreatorBatMeat.java:18: error: cannot find symbol public void playerKilledBat(livingDropsEvent event) Both the Java source file name and the Java class name of the class in a file must match. Indicates that your Java source is in a file whose name does not match the Java class name in the source code. The first error message, class GUIRenderEventClass is public, should be declared in a file named GUIRenderEventClass.java public static class GUIRenderEventClass Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. > Compilation failed see the compiler error output for details. Note: Recompile with -Xlint:unchecked for details.Įxecution failed for task ':compileJava'. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Public void playerKilledBat(livingDropsEvent event)Ĭ:\Users\USER\MCreatorWorkspaces\trevcorp_meat_paste\build\sources\main\java\net\mcreator\trevcorp_meat_paste\MCreatorBatMeat.java:24: error: cannot find symbolĬ:\Users\USER\MCreatorWorkspaces\trevcorp_meat_paste\build\sources\main\java\net\mcreator\trevcorp_meat_paste\MCreatorBatMeat.java:25: error: cannot find symbol Minecraft does actually open but when it gets to the compileJava stage, it displays the following error messages in the console: C:\Users\USER\MCreatorWorkspaces\trevcorp_meat_paste\build\sources\main\java\net\mcreator\trevcorp_meat_paste\MCreatorBatMeat.java:16: error: class GUIRenderEventClass is public, should be declared in a file named GUIRenderEventClass.javaĬ:\Users\USER\MCreatorWorkspaces\trevcorp_meat_paste\build\sources\main\java\net\mcreator\trevcorp_meat_paste\MCreatorBatMeat.java:18: error: cannot find symbol ItemStack itemStackToDrop = new itemStack(items.chicken, 1) Į(new EntityItem(, ,Į,, itemStackToDrop)) If(event.entityLiving instanceof EntityBat) Public static class void playerKilledBat(livingDropsEvent event) I have asked some of my associates about the issue, but they didn't know either. My question is what do these error messages mean and how can I correct them? I have very little knowledge about Java, so I don't know how to summarize things about it. ![]() Minecraft does start and actually open, but when it gets to the compileJava stage there are errors displayed in the console. : Running with arguments: (forgeSrc-1.11.2-13.I'm trying to make a Minecraft mod which is supposed to make Bats drop raw chicken. Help? Heres the console:Įxecuting gradle command: clean runClient The launcher would show forge loading all the mods, but once it was done loading them, it closed out and MCreator said gradle task failed. So I tried to test my mod out through the client in MCreator, and everything would work fine.
0 Comments
Leave a Reply. |