Hello, I cannot find a forum/chat room to ask questions about developing and modding this mod. So I shall ask here and re-paste this question to where ever I am pointed if needed.
I have just followed the instructions posted in the readme's for the mod on the GitHub page to setup the IntelliJ IDEA IDE, I am using the latest version as of writing, community 2019.3.
Having followed the instructions and fixing the class path issue (after a lot of googling) and making sure Scala is installed into the IDE at the right version (not sure if this matters) as the mod requires it, I then encounter a new issue upon trying to run Minecraft+Projectred from within the IDE.
IDEA gives me 2 errors upon trying to run the "Minecraft Client" from within it, they seem to be related to Scala and look like it might be some kind of version/depreciation conflict but I have made sure Scala in IDEA is set to the version ProjectRed lists in its .travis.yml file which is 2.11.1. I am assuming that is an important thing to do and also is not what is causing the issue.
I am also wondering if I am using too newer version of IDEA?
Having said all this, here are the 2 errors IDEA throws up on running the project, the file in which the conflicting code resides and the lines them selves:-
C:\Users\ME\IdeaProjects\ProjectRed\src\mrtjp\projectred\fabrication\proxies.scala
Error:(117, 81) missing parameter type
ModelLoader.setCustomMeshDefinition(Item.getItemFromBlock(icBlock), stack => if(stack.getMetadata == 1) wrappedLoc else normalLoc)
Error:(154, 66) type mismatch;
found : net.minecraft.item.ItemStack => net.minecraft.client.renderer.block.model.ModelResourceLocation
required: net.minecraft.client.renderer.ItemMeshDefinition
ModelLoader.setCustomMeshDefinition(item, (s: ItemStack) => new ModelResourceLocation(jsonLocation, "type=" + typeValue(s)))
Thankyou for any help you can give, even if it's just a better place to ask the question, I know this is related to ProjectRed/IDEA/Scala specifically and not Minecraft modding in general.
0
Hello, I cannot find a forum/chat room to ask questions about developing and modding this mod. So I shall ask here and re-paste this question to where ever I am pointed if needed.
I have just followed the instructions posted in the readme's for the mod on the GitHub page to setup the IntelliJ IDEA IDE, I am using the latest version as of writing, community 2019.3.
Having followed the instructions and fixing the class path issue (after a lot of googling) and making sure Scala is installed into the IDE at the right version (not sure if this matters) as the mod requires it, I then encounter a new issue upon trying to run Minecraft+Projectred from within the IDE.
IDEA gives me 2 errors upon trying to run the "Minecraft Client" from within it, they seem to be related to Scala and look like it might be some kind of version/depreciation conflict but I have made sure Scala in IDEA is set to the version ProjectRed lists in its .travis.yml file which is 2.11.1. I am assuming that is an important thing to do and also is not what is causing the issue.
I am also wondering if I am using too newer version of IDEA?
Having said all this, here are the 2 errors IDEA throws up on running the project, the file in which the conflicting code resides and the lines them selves:-
Thankyou for any help you can give, even if it's just a better place to ask the question, I know this is related to ProjectRed/IDEA/Scala specifically and not Minecraft modding in general.