Jump to content

Recommended Posts

Posted

If I use Eclipse export jar tells me error no such field ROCK

 

If I do gradlew build nothing compiles but says build successful.

 

debeof.jar file appears to be vanilla MC

 

SOLVED: change target from 1.6 to 1.8 to support lambda

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

Running the

build

Gradle task should compile and reobfuscate your code, outputting the JAR to build/libs. Gradle will skip a task if it doesn't need to be run (i.e. it already has a current and valid copy of the output file(s)).

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
  On 11/2/2016 at 2:44 PM, Choonster said:

Running the

build

Gradle task should compile and reobfuscate your code, outputting the JAR to build/libs. Gradle will skip a task if it doesn't need to be run (i.e. it already has a current and valid copy of the output file(s)).

 

There is no build/libs folder in my folder

 

Only taskLogs and tmp

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted
  On 11/2/2016 at 2:52 PM, trollworkout said:

  Quote

Running the

build

Gradle task should compile and reobfuscate your code, outputting the JAR to build/libs. Gradle will skip a task if it doesn't need to be run (i.e. it already has a current and valid copy of the output file(s)).

 

There is no build/libs folder in my folder

 

Only taskLogs and tmp

 

I'm not sure why the libs directory wouldn't be there.

 

Can you post the output from

gradlew build

and either your build.gradle file and a screenshot of your project's directory structure or a link to a complete repository of your project?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

width=800 height=566https://s17.postimg.org/tfzt00of3/Screen_Shot_2016_11_02_at_11_00_19_AM.png[/img]

 

TEST

 

here is my build gradle

 

  Reveal hidden contents

 

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

WTF now my build keeps failing and asks me to  run it with --stacktrace but when I do build succeeds. WTF

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

Can you post the output from Gradle with and without

--stacktrace

?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Here is the output. Is telling me something weird about lambdas and -8 something something.

 

 

  Reveal hidden contents

 

 

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

Here is my color handler class and aparently it's using lambdas which are not supported in 1.6.

 

 

  Reveal hidden contents

 

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

so I have changed this

 

sourceCompatibility = targetCompatibility = "1.8" // Need this here so eclipse task generates correctly.

compileJava {

    sourceCompatibility = targetCompatibility = "1.8"

}

 

from 1.6 to 1.8 and it compiled. Said use source 8 instead of 6 for lambda support. But will it work?

 

EDIT: wtf so many folders appeared now. And there's a libs now too.

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted

WORKED!!! All I had to do is use 1.8 instead of 1.6

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

Posted
  On 11/2/2016 at 3:23 PM, trollworkout said:

aparently it's using lambdas

Wait.... You didn't knew you were using lambda's?

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

I don't even know what lambdas are. I just followed a tutorial that told me to do it that way. I am not an expert developer in Java, I'm just advanced level. In fact part of the reason I wanna make a mod is to practice Java.  I got enough knowledge to get myself started. proof : I fixed my own issue in this post.

Disclaimer:  I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.

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.