Jump to content

Recommended Posts

Posted

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

Posted

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 :)

Posted

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.

Posted

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.

Posted

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");

Posted

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.

Posted

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.

Posted

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);
    }

Posted

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.

Posted

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.

Posted

Oh good, you didn't press this button. :P

disobey.png

 

(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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.