Can't Compile

Started by jason03272002 on Mon, 01/25/2016 - 20:06

Topic category: Bugs and solutions

Last seen on 02:14, 12. Mar 2016
Joined Apr 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Can't Compile
Mon, 01/25/2016 - 20:06

I can't get my mod to compile, and I've tried everything on the help pages. I tried sending an email too, but got no reply. Could anyone help me with this? Here's the console log:
BOOTING UP GRADLE...
Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 0 milliseconds]
RIGHT click once to copy log to the clipboard or twice to clear the log.
   
Executing gradle command: clean build
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator162>cd forge
C:\Pylo\MCreator162\forge>SET "JAVA_HOME=C:\Pylo\MCreator162\jdk64\"
C:\Pylo\MCreator162\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator162\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator162\forge>SET "JAVA_OPTS=-Xmx2704m -Xms1061m"
C:\Pylo\MCreator162\forge>gradlew clean build
This set of MCP mappings was designed for MC 1.8.8. Use at your own peril.
#################################################
         ForgeGradle 2.1-SNAPSHOT-8267717        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:clean
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\ClientProxyTestEnvironmentMod.java:81: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.LogManager;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\ClientProxyTestEnvironmentMod.java:82: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.Logger;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\CommonProxyTestEnvironmentMod.java:81: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.LogManager;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\CommonProxyTestEnvironmentMod.java:82: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.Logger;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:82: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.LogManager;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:83: error: package org.apache.logging.log4j does not exist
import org.apache.logging.log4j.Logger;
                               ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:85: error: package io.netty.buffer does not exist
import io.netty.buffer.ByteBuf;
                      ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:88: error: package io.netty.buffer does not exist
import io.netty.buffer.ByteBuf;
                      ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:89: error: package io.netty.channel does not exist
import io.netty.channel.ChannelHandlerContext;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_deepRock1.java:93: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_deepRock1.java:94: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL12;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_explosum.java:93: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_explosum.java:94: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL12;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_entriaOre.java:93: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_entriaOre.java:94: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL12;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_entria.java:92: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_heavyEntria.java:92: error: package org.lwjgl.opengl does not exist
import org.lwjgl.opengl.GL11;
                       ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_depths.java:241: error: package com.google.common.collect does not exist
    private final List destinationCoordinateKeys = com.google.common.collect.Lists.newArrayList();
                                                                            ^
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_depths.java:744: error: cannot access Predicate
public static final PropertyEnum AXIS = PropertyEnum.create("axis", EnumFacing.Axis.class, new EnumFacing.Axis[] {EnumFacing.Axis.X, EnumFacing.Axis.Z});
                                                    ^
  class file for com.google.common.base.Predicate not found
C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_depths.java:1706: error: no suitable constructor found for WorldGenMinable(IBlockState,int,BlockHelper)
        WorldGenMinable worldgenminable = new WorldGenMinable(mcreator_entriaOre.block.getDefaultState(), 13, BlockHelper.forBlock(mcreator_deepRock1.block));
                                          ^
    constructor WorldGenMinable.WorldGenMinable(IBlockState,int,Predicate) is not applicable       (actual argument BlockHelper cannot be converted to Predicate by method invocation conversion)     constructor WorldGenMinable.WorldGenMinable(IBlockState,int) is not applicable       (actual and formal argument lists differ in length) C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_explosum.java:161: error: cannot find symbol if (Block.getIdFromBlock(l) > 0 && l.canProvidePower() && world.isBlockIndirectlyGettingPowered(i, j, k)){                          ^   symbol:   variable l   location: class BlockExplosum C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_explosum.java:161: error: cannot find symbol if (Block.getIdFromBlock(l) > 0 && l.canProvidePower() && world.isBlockIndirectlyGettingPowered(i, j, k)){                                    ^   symbol:   variable l   location: class BlockExplosum C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_explosum.java:161: error: method isBlockIndirectlyGettingPowered in class World cannot be applied to given types; if (Block.getIdFromBlock(l) > 0 && l.canProvidePower() && world.isBlockIndirectlyGettingPowered(i, j, k)){                                                                ^   required: BlockPos   found: int,int,int   reason: actual and formal argument lists differ in length 23 errors :compileJava FAILED BUILD FAILED Total time: 14.938 secs 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. C:\Pylo\MCreator162\forge> Task completed with return code 0 in 16329 milliseconds

 

Last seen on 14:46, 21. Jul 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hi jason03272002
Mon, 01/25/2016 - 20:11

Hi jason03272002

What version of MCreator are you using?

Last seen on 02:14, 12. Mar 2016
Joined Apr 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am using the most recent
Mon, 01/25/2016 - 20:21

I am using the most recent (at least to my knowledge), the one for 1.8.9

 

 

Last seen on 02:14, 12. Mar 2016
Joined Apr 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yeah MCreator version 1.6.2
Mon, 01/25/2016 - 20:26

Yeah MCreator version 1.6.2 for Minecraft 1.8.9

Last seen on 14:46, 21. Jul 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Hi Jason03272002
Mon, 01/25/2016 - 20:27

Hi Jason03272002

It seems a lot of people are having trouble with the 1.8.9 version of MCreator

I was looking at SngLol's problem, and I noticed that the console doesnt throw out an error after creating an element, e.g. if I created a block with the smelting recipe only showing the output and not the input, the console would throw up an error, and therefore i would change the smelting recipe... My best advise is to check each element you have created, and make sure that every box is filled in, and the crafting recipes are filled in correctly :-)

Last seen on 02:14, 12. Mar 2016
Joined Apr 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I'll try it, thanks
Mon, 01/25/2016 - 20:29

I'll try it, thanks

Last seen on 14:46, 21. Jul 2019
Joined Nov 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
No problem, let me know how
Mon, 01/25/2016 - 20:35

No problem, let me know how it goes :-)

Last seen on 02:14, 12. Mar 2016
Joined Apr 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Not working so far... :o
Mon, 01/25/2016 - 20:56

Not working so far... :o