fail to decompile when i add structuer in dimension

Started by Puff3n on Tue, 01/19/2016 - 20:45
Last seen on 13:39, 23. Feb 2017
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
fail to decompile when i add structuer in dimension
Tue, 01/19/2016 - 20:45

C:\Pylo\MCreator161\forge\build\sources\main\java\mod\mcreator\mcreator_caveWorld.java:1157: error: method getHeight in class Chunk cannot be applied to given types;
int j = Math.abs(random.nextInt(Math.abs(world.getChunkFromChunkCoords(i, k).getHeight(i & 15, k & 15))));
                                                                            ^
  required: BlockPos
  found: int,int
  reason: actual and formal argument lists differ in length
Note: C:\Pylo\MCreator161\forge\build\sources\main\java\mod\mcreator\mcreator_cavegost.java uses or overrides a deprecated API.
1 error

FAILURE: Build failed with an exception.

 

does enyone know how to fix this?