Varible error with BlockPos to place an block

1 post / 0 new
Offline
Last seen: 2 months 3 weeks ago
Joined: 06/09/2015 - 22:29
Gems: 2
Varible error with BlockPos to place an block

Can you pleace fix this bugg?

 

BOOTING UP GRADLE...
Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 4 milliseconds]
RIGHT click once to copy log to the clipboard or twice to clear the log.
===================================================================================================================================
Executing gradle command: projects
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew projects
===================================================================================================================================
Executing gradle command: build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:projects
------------------------------------------------------------
Root project
------------------------------------------------------------
Root project 'forge'
No sub-projects
To see a list of the tasks of a project, run gradlew <project-path>:tasks
For example, try running gradlew :tasks
BUILD SUCCESSFUL
Total time: 11.094 secs
C:\Pylo\MCreator158\forge>
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\IPacketTestEnvironmentMod.java:8: error: cannot find symbol
    public void readBytes(ByteBuf bytes);
                          ^
  symbol:   class ByteBuf
  location: interface IPacketTestEnvironmentMod
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\IPacketTestEnvironmentMod.java:9: error: cannot find symbol
    public void writeBytes(ByteBuf bytes);
                           ^
  symbol:   class ByteBuf
  location: interface IPacketTestEnvironmentMod
2 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: 11.999 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 12947 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:extractMcpData UP-TO-DATE
:getVersionJson
:extractUserDev UP-TO-DATE
:genSrgs SKIPPED
:reobf
:assemble
:check UP-TO-DATE
:build
BUILD SUCCESSFUL
Total time: 18.779 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 19419 milliseconds
Task return code check OK!
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:163: error: not a statement
mcreator_VarListTestEnvironmentMod.Z + 1;
                                     ^
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:175: error: not a statement
mcreator_VarListTestEnvironmentMod.Y - 1;
                                     ^
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:193: error: not a statement
mcreator_VarListTestEnvironmentMod.X + 1;
                                     ^
3 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: 11.264 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 11900 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:163: error: not a statement
mcreator_VarListTestEnvironmentMod.Z + 1;
                                     ^
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:179: error: not a statement
mcreator_VarListTestEnvironmentMod.X == 0;
                                     ^
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:183: error: not a statement
mcreator_VarListTestEnvironmentMod.Z == 0;
                                     ^
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:193: error: not a statement
mcreator_VarListTestEnvironmentMod.X + 1;
                                     ^
4 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: 9.031 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 9719 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:189: error: no suitable constructor found for BlockPos(int)
world.setBlockToAir(new BlockPos(mcreator_VarListTestEnvironmentMod.Z));
                    ^
    constructor BlockPos.BlockPos(Vec3i) is not applicable
      (actual argument int cannot be converted to Vec3i by method invocation conversion)
    constructor BlockPos.BlockPos(Vec3) is not applicable
      (actual argument int cannot be converted to Vec3 by method invocation conversion)
    constructor BlockPos.BlockPos(Entity) is not applicable
      (actual argument int cannot be converted to Entity by method invocation conversion)
    constructor BlockPos.BlockPos(double,double,double) is not applicable
      (actual and formal argument lists differ in length)
    constructor BlockPos.BlockPos(int,int,int) is not applicable
      (actual and formal argument lists differ in length)
1 error
: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: 9.314 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 10120 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:189: error: cannot find symbol
world.setBlockToAir(BlockPos(mcreator_VarListTestEnvironmentMod.Z));
                    ^
  symbol:   method BlockPos(int)
  location: class BlockMiner
1 error
: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: 9.309 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 10061 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:189: error: no suitable constructor found for BlockPos(int)
world.setBlockToAir(new BlockPos(mcreator_VarListTestEnvironmentMod.Z));
                    ^
    constructor BlockPos.BlockPos(Vec3i) is not applicable
      (actual argument int cannot be converted to Vec3i by method invocation conversion)
    constructor BlockPos.BlockPos(Vec3) is not applicable
      (actual argument int cannot be converted to Vec3 by method invocation conversion)
    constructor BlockPos.BlockPos(Entity) is not applicable
      (actual argument int cannot be converted to Entity by method invocation conversion)
    constructor BlockPos.BlockPos(double,double,double) is not applicable
      (actual and formal argument lists differ in length)
    constructor BlockPos.BlockPos(int,int,int) is not applicable
      (actual and formal argument lists differ in length)
1 error
: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: 9.667 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 10452 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:189: error: ')' expected
world.setBlockToAir(mcreator_VarListTestEnvironmentMod.Z;
                                                        ^
1 error
: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: 9.554 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 10493 milliseconds
===================================================================================================================================
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator158>cd forge
C:\Pylo\MCreator158\forge>SET "JAVA_HOME=C:\Pylo\MCreator158\jdk\"
C:\Pylo\MCreator158\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator158\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator158\forge>SET "JAVA_OPTS=-Xmx514m -Xms200m"
C:\Pylo\MCreator158\forge>gradlew clean build
****************************
 Powered By MCP:             
 http://modcoderpack.com/    
 Searge, ProfMobius, Fesh0r, 
 R4wk, ZeuX, IngisKahn, bspkrs
 MCP Data version : snapshot_20141130
****************************
:clean
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
C:\Pylo\MCreator158\forge\build\sources\java\mod\mcreator\mcreator_miner.java:189: error: method setBlockToAir in class World cannot be applied to given types;
world.setBlockToAir(mcreator_VarListTestEnvironmentMod.Z);
     ^
  required: BlockPos
  found: int
  reason: actual argument int cannot be converted to BlockPos by method invocation conversion
1 error
: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: 9.232 secs
C:\Pylo\MCreator158\forge>
Task completed with return code 0 in 9968 milliseconds

 

 

I try manny times to fix it, but it wont give good result!