I can't make nothing in MCreator 1.7.9!

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I installed MCreator 1.7.9, and that was just awful! I started working, made some textures, but then I made the first mod element, and I got an error! That was a new tab and then I decided to make only a block! Error! I don't even can make a block karl! I did everything like ever with no special stuff... I don't know what is possible to do wrong here, but if I did tell me what, please! Here is the wow log:

   
Executing gradle command: clean build
Microsoft Windows [Version 10.0.16299.547]
(c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Pylo\MCreator179>cd forge
C:\Pylo\MCreator179\forge>SET "JAVA_HOME=C:\Pylo\MCreator179\jdk\"
C:\Pylo\MCreator179\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator179\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator179\forge>SET "GRADLE_USER_HOME=C:\Users\User\.mcreator\gradle"
C:\Pylo\MCreator179\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-ee3e3df        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
error: error reading C:\Users\User\.mcreator\gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar; error in opening zip file
error: error reading C:\Users\User\.mcreator\gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar; error in opening zip file
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:3: error: package net.minecraftforge.fml.relauncher does not exist
import net.minecraftforge.fml.relauncher.Side;
                                        ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:4: error: package net.minecraftforge.fml.common.registry does not exist
import net.minecraftforge.fml.common.registry.GameRegistry;
                                             ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:5: error: package net.minecraftforge.fml.common.network does not exist
import net.minecraftforge.fml.common.network.NetworkRegistry;
                                            ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:6: error: package net.minecraftforge.fml.common.network does not exist
import net.minecraftforge.fml.common.network.IGuiHandler;
                                            ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:7: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:8: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:9: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:10: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.SidedProxy;
                                    ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:11: error: package net.minecraftforge.fml.common.Mod does not exist
import net.minecraftforge.fml.common.Mod.Instance;
                                        ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:12: error: package net.minecraftforge.fml.common.Mod does not exist
import net.minecraftforge.fml.common.Mod.EventHandler;
                                        ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:13: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.Mod;
                                    ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:14: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.IWorldGenerator;
                                    ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:15: error: package net.minecraftforge.fml.common does not exist
import net.minecraftforge.fml.common.IFuelHandler;
                                    ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:16: error: cannot find symbol
import net.minecraftforge.client.model.obj.OBJLoader;
                                          ^
  symbol:   class OBJLoader
  location: package net.minecraftforge.client.model.obj
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:18: error: cannot find symbol
import net.minecraft.world.gen.IChunkGenerator;
                              ^
  symbol:   class IChunkGenerator
  location: package net.minecraft.world.gen
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:19: error: cannot find symbol
import net.minecraft.world.chunk.IChunkProvider;
                                ^
  symbol:   class IChunkProvider
  location: package net.minecraft.world.chunk
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:20: error: cannot find symbol
import net.minecraft.world.World;
                          ^
  symbol:   class World
  location: package net.minecraft.world
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:21: error: cannot find symbol
import net.minecraft.item.ItemStack;
                         ^
  symbol:   class ItemStack
  location: package net.minecraft.item
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:22: error: cannot find symbol
import net.minecraft.entity.player.EntityPlayer;
                                  ^
  symbol:   class EntityPlayer
  location: package net.minecraft.entity.player
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:27: error: cannot find symbol
public class TestEnvironmentMod implements IFuelHandler, IWorldGenerator {
                                           ^
  symbol: class IFuelHandler
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:27: error: cannot find symbol
public class TestEnvironmentMod implements IFuelHandler, IWorldGenerator {
                                                         ^
  symbol: class IWorldGenerator
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:26: error: cannot find symbol
@Mod(modid = TestEnvironmentMod.MODID, version = TestEnvironmentMod.VERSION)
 ^
  symbol: class Mod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:3: error: package net.minecraftforge.fml.relauncher does not exist
import net.minecraftforge.fml.relauncher.SideOnly;
                                        ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:4: error: package net.minecraftforge.fml.relauncher does not exist
import net.minecraftforge.fml.relauncher.Side;
                                        ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:5: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:6: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:7: error: package net.minecraftforge.fml.common.event does not exist
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
                                          ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:9: error: cannot find symbol
import net.minecraft.world.World;
                          ^
  symbol:   class World
  location: package net.minecraft.world
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:10: error: cannot find symbol
import net.minecraft.item.ItemStack;
                         ^
  symbol:   class ItemStack
  location: package net.minecraft.item
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:11: error: cannot find symbol
import net.minecraft.init.Items;
                         ^
  symbol:   class Items
  location: package net.minecraft.init
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:12: error: cannot find symbol
import net.minecraft.creativetab.CreativeTabs;
                                ^
  symbol:   class CreativeTabs
  location: package net.minecraft.creativetab
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:38: error: cannot find symbol
   public int getBurnTime(ItemStack fuel) {
                          ^
  symbol:   class ItemStack
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:45: error: cannot find symbol
   public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider) {
                                                               ^
  symbol:   class World
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:45: error: cannot find symbol
   public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider) {
                                                                            ^
  symbol:   class IChunkGenerator
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:45: error: cannot find symbol
   public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider) {
                                                                                                            ^
  symbol:   class IChunkProvider
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:55: error: cannot find symbol
   public void load(FMLInitializationEvent event) {
                    ^
  symbol:   class FMLInitializationEvent
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:64: error: cannot find symbol
   public void serverLoad(FMLServerStartingEvent event) {
                          ^
  symbol:   class FMLServerStartingEvent
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:69: error: cannot find symbol
   public void preInit(FMLPreInitializationEvent event) {
                       ^
  symbol:   class FMLPreInitializationEvent
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:19: error: cannot find symbol
   public static CreativeTabs tab = new CreativeTabs("tablolo") {
                 ^
  symbol:   class CreativeTabs
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:31: error: cannot find symbol
   public void load(FMLInitializationEvent event) {
                    ^
  symbol:   class FMLInitializationEvent
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:37: error: cannot find symbol
   public void generateNether(World world, Random random, int chunkX, int chunkZ) {
                              ^
  symbol:   class World
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:40: error: cannot find symbol
   public void generateSurface(World world, Random random, int chunkX, int chunkZ) {
                               ^
  symbol:   class World
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:43: error: cannot find symbol
   public int addFuel(ItemStack fuel) {
                      ^
  symbol:   class ItemStack
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:47: error: cannot find symbol
   public void serverLoad(FMLServerStartingEvent event) {
                          ^
  symbol:   class FMLServerStartingEvent
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_lolo.java:50: error: cannot find symbol
   public void preInit(FMLPreInitializationEvent event) {
                       ^
  symbol:   class FMLPreInitializationEvent
  location: class mcreator_lolo
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:77: error: cannot find symbol
   public static class GuiHandler implements IGuiHandler {
                                             ^
  symbol:   class IGuiHandler
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:80: 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:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:80: error: cannot find symbol
      public Object getServerGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
                                                                     ^
  symbol:   class World
  location: class GuiHandler
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:85: 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:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:85: error: cannot find symbol
      public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
                                                                     ^
  symbol:   class World
  location: class GuiHandler
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:31: error: cannot find symbol
   @SidedProxy(clientSide = "mod.mcreator.ClientProxyTestEnvironmentMod", serverSide = "mod.mcreator.CommonProxyTestEnvironmentMod")
    ^
  symbol:   class SidedProxy
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:33: error: cannot find symbol
   @Instance(MODID)
    ^
  symbol:   class Instance
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:54: error: cannot find symbol
   @EventHandler
    ^
  symbol:   class EventHandler
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:63: error: cannot find symbol
   @EventHandler
    ^
  symbol:   class EventHandler
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:68: error: cannot find symbol
   @EventHandler
    ^
  symbol:   class EventHandler
  location: class TestEnvironmentMod
55 errors
:compileJava FAILED
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.
BUILD FAILED
Total time: 25.938 secs
C:\Pylo\MCreator179\forge>
Task completed with return code 0 in 26844 milliseconds

 

Please fix that annoying bugs for the next versions of MCreator, that's so irritating! At the moment I use only MCreator 1.7.3 and 1.7.9, I don't use newer versions because of this errors and don't use older because of the abusing messages telling it's outdated version!

Issue comments

Go to folder  C:\Users\User\.mcreator\gradle\ and delete the caches directory. Recompile after you do this to fix this error. If you still get this error, try switching the workspace to another and back to the first one.

It's good! And also, can you make the procedure system easier to use? Because it is too messy sometimes... Also I saw some players talking about custom enchantments and potion effects, but if you want I can open a new forum topic which tell some ideas I think everybody will just love!



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.