ExtraMeteorP / Extra-Botany

A Botania Addon that adds some new flowers and stuffs
46 stars 30 forks source link

Compilation error from latest master #68

Closed smilodon79 closed 5 years ago

smilodon79 commented 5 years ago

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

ExtraMeteorP commented 5 years ago

im using forge2768

smilodon79 commented 5 years ago

I didn't change the forge version or anything. Simply checked out your code and ran the gradle build command; and got these compile errors.


From: ExtraMeteorP notifications@github.com Sent: Monday, July 22, 2019 11:33 AM To: ExtraMeteorP/Extra-Botany Extra-Botany@noreply.github.com Cc: Jayaram Veeraraghavan JayaramV2@hexaware.com; Author author@noreply.github.com Subject: Re: [ExtraMeteorP/Extra-Botany] Compilation error from latest master (#68)

im using forge2768

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ExtraMeteorP/Extra-Botany/issues/68?email_source=notifications&email_token=AHPFBQEHO6DUHKXD7ZRYVSLQAXHMFA5CNFSM4IFZFKCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QKARA#issuecomment-513843268, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHPFBQEWVKHY6P7S5LFJR2LQAXHMFANCNFSM4IFZFKCA.

This e-mail communication and any attachments to it are confidential and privileged to Hexaware and are strictly intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message, you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited and may be unlawful.

Please notify the sender immediately and destroy all copies of this message along with all attachments thereto.

smilodon79 commented 5 years ago

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? did the trick.