Posted May 20, 201411 yr Everything worked perfectly in a test run and when building earlier. But then I added models to my mod. First off, they DO all work perfectly when running the test client in Eclipse so I know there's nothing wrong with my coding. After adding them I run gradle build like always but I get this error. What's wrong with it?: **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn MCP Data version : unknown **************************** :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava :compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6 C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasamune.java:11: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelMasamune; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasamune.java:19: error: cannot find symbol protected ModelMasamune modelMasamune; ^ symbol: class ModelMasamune location: class ItemRendererMasamune C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasterSword.java:11: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelMasterSword; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasterSword.java:20: error: cannot find symbol protected ModelMasterSword modelMasterSword; ^ symbol: class ModelMasterSword location: class ItemRendererMasterSword C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBluePot.java:5: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelPot; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBluePot.java:17: error: cannot find symbol private ModelPot model; ^ symbol: class ModelPot location: class RenderBluePot C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBrownPot.java:5: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelPot; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBrownPot.java:17: error: cannot find symbol private ModelPot model; ^ symbol: class ModelPot location: class RenderBrownPot C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderCuttingBoard.java:9: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelCuttingBoard; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderCuttingBoard.java:17: error: cannot find symbol private ModelCuttingBoard model; ^ symbol: class ModelCuttingBoard location: class RenderCuttingBoard C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPC.java:5: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelPC; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPC.java:17: error: cannot find symbol private ModelPC model; ^ symbol: class ModelPC location: class RenderPC C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPlant.java:9: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelPlant; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPlant.java:17: error: cannot find symbol private ModelPlant model; ^ symbol: class ModelPlant location: class RenderPlant C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderSkillet.java:6: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelSkillet; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderSkillet.java:18: error: cannot find symbol private ModelSkillet model; ^ symbol: class ModelSkillet location: class RenderSkillet C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\main\ClientProxy.java:8: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelBlueChu; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\main\ClientProxy.java:9: error: package assets.pixelmoncore.models does not exist import assets.pixelmoncore.models.ModelCuccoo; ^ C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasamune.java:23: error: cannot find symbol modelMasamune = new ModelMasamune(); ^ symbol: class ModelMasamune location: class ItemRendererMasamune C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\ItemRendererMasterSword.java:25: error: cannot find symbol modelMasterSword = new ModelMasterSword(); ^ symbol: class ModelMasterSword location: class ItemRendererMasterSword C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBluePot.java:20: error: cannot find symbol this.model = new ModelPot(); ^ symbol: class ModelPot location: class RenderBluePot C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderBrownPot.java:20: error: cannot find symbol this.model = new ModelPot(); ^ symbol: class ModelPot location: class RenderBrownPot C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderCuttingBoard.java:20: error: cannot find symbol this.model = new ModelCuttingBoard(); ^ symbol: class ModelCuttingBoard location: class RenderCuttingBoard C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPC.java:20: error: cannot find symbol this.model = new ModelPC(); ^ symbol: class ModelPC location: class RenderPC C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderPlant.java:20: error: cannot find symbol this.model = new ModelPlant(); ^ symbol: class ModelPlant location: class RenderPlant C:\Users\Erika\Desktop\SRC1\Forge\build\sources\java\com\pixelmoncore\entity\RenderSkillet.java:21: error: cannot find symbol this.model = new ModelSkillet(); ^ symbol: class ModelSkillet location: class RenderSkillet 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. 26 errors 1 warning FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 17.763 secs
May 21, 201411 yr It's saying it can't find all of this stuff. As it appears that you aren't using the src/main/java folders, make sure your build.gradle is pointed to the folders that you are using for sources and resources.
May 21, 201411 yr Author I AM using those folders. As I said, it's always built perfectly before and I didn't change the directory.
May 21, 201411 yr Run a clean and try again, but it seems it cant find pixelmoncore. import assets.pixelmoncore.models.ModelPot; As a note.. why is your folder called assets.pixelmoncore? You put assets in assets not code. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.