Posted February 5, 201510 yr So i get this error when I try to build my mod. 36 errors 1 warning :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. The warning is : warning: [options] bootstrap class path not set in conjunction with - source 1.6 http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr Author Your source code contains errors... Yeah but the errors are from files that I have excluded. So they dont interest me for now. This :compileJava FAILED is my main problem. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr Author How did you exclude the files? i selected the files in eclipse and there was an Exclude option. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr i selected the files in eclipse and there was an Exclude option. I don't use eclipse my self, but I don't think that exclude options excludes the files from the build. Correct me if I'm wrong I require Java, both the coffee and the code
February 5, 201510 yr i selected the files in eclipse and there was an Exclude option. I don't use eclipse my self, but I don't think that exclude options excludes the files from the build. Correct me if I'm wrong This is correct. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 5, 201510 yr Author Well thanks for the help. I removed all the rails that are excluded from the mod and now it worked. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr My guess is that your current build configuration is not taking into account the excluded files I require Java, both the coffee and the code
February 5, 201510 yr Author So now my assets aren't working. I don't know what I did wrong. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr So now my assets aren't working. I don't know what I did wrong. Any error logs? I require Java, both the coffee and the code
February 5, 201510 yr So now my assets aren't working. I don't know what I did wrong. Have you tried making contingency plans? ("Its not working" is not sufficient information) Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 5, 201510 yr Author Ok so when i build the mod with "gradlew.bat build" I get this warning. warning: [options] bootstrap class path not set in conjunction with -source 1.6 Note: C:\Users\BlazeAxtrius\Desktop\Minecraft\finallllll8\build\sources\java\com\expanded\rails\mod\ERMBase.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. in the build/libs folder I get a jar file that has : folders : META-INF, com, assets files: META-INF, com, assets and the mcmod.info Also in eclipse I dont get any errors related to the models or textures. When I close minecraft I get this error : Using incremental CMS is deprecated and will likely be removed in a future release Which is because of this line : LanguageRegistry.addName(whiteWoolRail, "White Wool Rail"); http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr Which is because of this line : LanguageRegistry.addName(whiteWoolRail, "White Wool Rail"); Stop using the Language Registry and use a lang file like a normal person. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 5, 201510 yr Author Which is because of this line : LanguageRegistry.addName(whiteWoolRail, "White Wool Rail"); Stop using the Language Registry and use a lang file like a normal person. Ok I made the lang file and the rails have their names but still don't have textures. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr Well I don't see any code, so I'm going to refridgerate my leftovers. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 5, 201510 yr Author Well I don't see any code, so I'm going to refridgerate my leftovers. What code? In eclipse everything works. I can't give you any code. Here is an example of a rail if it will even help. public static Block monorailWhite whiteWoolRail = new AllRails(3081).setUnlocalizedName("whiteWoolRail");//setBlockTextureName("expandedrails:WhiteWoolRail"); GameRegistry.registerBlock(whiteWoolRail, "whiteWoolRail"); whiteWoolRail.setCreativeTab(this.tabNormalRails); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(net.minecraft.item.Item.getItemFromBlock(whiteWoolRail), 0,new ModelResourceLocation(modid+":"+"whiteWoolRail", "inventory")); public class AllRails extends BlockRail { public AllRails (int par1) { super(); setHardness(0.7F); setStepSound(Block.soundTypeMetal); } http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr ModelResourceLocation(modid+":"+"whiteWoolRail", "inventory")); Ah there we go. You have Capital Letters in your file request. You need to make sure it Matches Exactly with your File Name, because while Windows doesn't give a shit about capitalization, a zip file sure as hell does. Which is why I always recommend to people to use all lower case (both for the modID / folder name and for the file names). Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
February 5, 201510 yr Author ModelResourceLocation(modid+":"+"whiteWoolRail", "inventory")); Ah there we go. You have Capital Letters in your file request. You need to make sure it Matches Exactly with your File Name, because while Windows doesn't give a shit about capitalization, a zip file sure as hell does. Which is why I always recommend to people to use all lower case (both for the modID / folder name and for the file names). Thank you very much. They are now working properly. http://i1130.photobucket.com/albums/m537/Smokesick/expandedBanner3.png[/img]
February 5, 201510 yr Oh good, you didn't press this button. (Spaceteam has such silly controls, took me forever to find that one and was the one I wanted to put behind my first link). Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.