I can't generate custom buildings in my dimensions!

Started by mcwiz on Wed, 02/10/2016 - 18:31
Last seen on 19:40, 11. Jan 2018
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I can't generate custom buildings in my dimensions!
Wed, 02/10/2016 - 18:38 (edited)

Help!

I tried to put 3 schematics in my dimension but this happens when compiling:

   
Executing gradle command: clean build
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator161>cd forge
C:\Pylo\MCreator161\forge>SET "JAVA_HOME=C:\Pylo\MCreator161\jdk64\"
C:\Pylo\MCreator161\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator161\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator161\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator161\forge>gradlew clean build
This set of MCP mappings was designed for MC 1.8. Use at your own peril.
#################################################
         ForgeGradle 2.1-SNAPSHOT-75bb646        
  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\MCreator161\forge\build\sources\main\java\mod\mcreator\mcreator_theFuture.java:1159: error: method getHeight in class Chunk cannot be applied to given types;
int j = world.getChunkFromChunkCoords(i, k).getHeight(i & 15, k & 15)-1;
                                           ^
  required: BlockPos
  found: int,int
  reason: actual and formal argument lists differ in length
C:\Pylo\MCreator161\forge\build\sources\main\java\mod\mcreator\mcreator_theFuture.java:1837: error: method getHeight in class Chunk cannot be applied to given types;
int j = world.getChunkFromChunkCoords(i, k).getHeight(i & 15, k & 15)-1;
                                           ^
  required: BlockPos
  found: int,int
  reason: actual and formal argument lists differ in length
C:\Pylo\MCreator161\forge\build\sources\main\java\mod\mcreator\mcreator_theFuture.java:2270: error: method getHeight in class Chunk cannot be applied to given types;
int j = world.getChunkFromChunkCoords(i, k).getHeight(i & 15, k & 15)-1;
                                           ^
  required: BlockPos
  found: int,int
  reason: actual and formal argument lists differ in length
3 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
BUILD FAILED
> Compilation failed; see the compiler error output * Try:
for details.
Total time: 12.12 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator161\forge>
Task completed with return code 0 in 12808 milliseconds

 

 

Edited by mcwiz on Wed, 02/10/2016 - 18:38
Last seen on 00:19, 22. Sep 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
You need to convert the int i
Wed, 02/10/2016 - 20:24

You need to convert the int i and int k to the BlockPos