ExtraBotany

ExtraBotany

2M Downloads

Compilation error from latest master

smilodon79 opened this issue · 3 comments

commented

I was trying to build extra botany on my local to play with it and find that there are a few compilation errors right now. Request you to please take a look:

E:\svn\MinecraftMods\Extra-Botany\build\sources\main\java\com\meteor\extrabotany\common\block\subtile\generating\SubTileGeminiOrchid.java:36: error: method getTemperature in class BlockFluidBase cannot be applied to given types; tempMax = Math.max(tempMax, ((BlockFluidClassic) block).getTemperature()); ^ required: IBlockAccess,BlockPos found: no arguments reason: actual and formal argument lists differ in length E:\svn\MinecraftMods\Extra-Botany\build\sources\main\java\com\meteor\extrabotany\common\block\subtile\generating\SubTileGeminiOrchid.java:37: error: method getTemperature in class BlockFluidBase cannot be applied to given types; tempMin = Math.min(tempMin, ((BlockFluidClassic) block).getTemperature()); ^ required: IBlockAccess,BlockPos found: no arguments reason: actual and formal argument lists differ in length E:\svn\MinecraftMods\Extra-Botany\build\sources\main\java\com\meteor\extrabotany\common\block\tile\TileInventoryBase.java:40: error: method does not override or implement a method from a supertype @Override ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors :compileJava FAILED

commented

im using forge2768

commented
commented

Changing the forge version in gradle did the trick. I think you might have forgotten to commit the modified build.gradle with the correct forge version? <version = "1.12.2-14.23.5.2768"> did the trick.