Jump to content

Recommended Posts

Posted

Hello, everyone!

 

I had a problem:

I use java 7 feature (String in switch) in my Minecraft mod. It's OK when i'm running it in Eclipse but when I compile it throws an error.

 

If you have the same problem, don't worry I found a solution:

1. Open mcp/conf/mcp.cfg file

2. Change "-source 1.6 -target 1.6" in line 160 to "-source 1.7 -target 1.7".

3. Run "recompile"

 

I posted this because I didn't find solution on forums and probably it'll help someone.

 

~CatDany~

 

P.S. Sorry for my bad English.

Posted

You shouldn't be using the python scripts and MCP if you're developing for 1.6.4 and above, use the gradle ones.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Posted

Developing mods for 1.7 java will alienate roughly 1/2 of the minecraft community. I advise against it.

However, as luacs says, this python is the old methods, and as such is not supported.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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