Jump to content

Recommended Posts

Posted (edited)

I've been developing a mod for 1.19.2 for a little while (months) now, and everything has been going well. The only issue I've suddenly encountered is that I can no longer run the client.

I haven't touched anything within gradle, maven, or intellij, and all of my system path/environment variables are fine. I can confirm that it is building with the correct java version (Adoptium 17.06.). It was working about 10 minutes ago, and now whenever I try to run the client, the build fails almost immediately, citing:

"Execution failed for task ':compileJava'.
> error: release version 17 not supported"

Full pastebin of what is given: PasteBin

 

I'm not super familiar with gradle as a whole, so I'm hoping this is just something simple that I don't quite understand due to lack of experience.

 

I've checked project sdk, module sdk, gradle sdk, etc., and everything seems fine. It's strange to me that this occurred so suddenly, and without making any actual changes. Once again, everything has been working completely fine up until right now.

 

Any help would be wonderful!

Edited by Splurpy_
Posted (edited)

It would seem it was something as simple as just rebuilding gradle . That fixed it, and its working well, now.

 

Worth noting for anyone who has a similar issue, just try rebuilding gradle. I'm not sure why I didn't think of that sooner.

Edited by Splurpy_
Posted

im completely BRAND NEW to this, in my intellij when i tru runclient it gives me non zero exitcode 1, and before that i see depreciated (something) will not work with gradle 8, i have no clue and i can not find any fixes for this, now what does rebuilding gradle even mean? im still watching java coding tutorials and just trying to make a simple mod for myself right now, any ideas???

 

Posted
  On 4/14/2023 at 9:32 PM, RedLunarFPS said:

also, do i NEED a github account for coding or is it optional??

 

Expand  

Entirely optional, but it’s nice to have for version control.
 

If you don’t know Java, I don’t think you’re going to be able to mod. Modding generally requires intermediate Java knowledge. That said, if you want a good place to start with modding, and also Java as a whole, check out Kaupenjoe on YouTube. Excellent source for getting started with modding.

Once again, you’re really not going to be able to do much without any sort of Java knowledge. It may not be as bad if you know another object-oriented language, but if not, it’s gonna be rough.

Posted

i did a little bit of java coding in highschool, and i was already watching kaupenjoes' tutorial on 1.19 modding, but i followed his video step by step but everytime i try runclient it always comes up with non zero exit code 1 and im just not sure how to fix it so the last 2 days i been trying to find a fix for it but its feeling like its just me that is having this problem (im tryig to make a simple mod for 1.19.2) and i used his tutorial steps while using forges latest update for 1.19.2)

Posted
  On 4/15/2023 at 12:23 AM, RedLunarFPS said:

but i followed his video step by step but everytime i try runclient it always comes up with non zero exit code 1 and im just not sure how to fix it so the last 2 days i been trying to find a fix for it but its feeling like its just me that is having this problem (im tryig to make a simple mod for 1.19.2) and i used his tutorial steps while using forges latest update for 1.19.2)

Expand  

It’s most likely to do with your SDK/JDK or an issue with your gradle. You’re going to need to rebuild your gradle, and then try again. It’s pretty simple, you should be able to easily find resources online for how to rebuild gradle.

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi everyone, I’m working on a Minecraft mod and encountering an issue with a custom sound not playing when triggered. Here’s the setup: Problem: * A custom sound (killstreak_music) should play when a milestone (5 kills) is reached, but it doesn’t trigger in-game. * The .ogg file is in the correct directory (assets/killstreaksword/sounds/) and registered in sounds.json. sounds.json: {   "killstreak_music": {     "sounds": ["Finale.ogg"]   } } The .ogg file plays fine in other media players, but the /playsound command doesn’t detect it. What I’ve Tried: * Confirmed file path and name match exactly. * Reloaded resources (F3 + T) and re-exported the file using Audacity. * Added debug logs to my code to verify if the sound event is being retrieved. Here’s the relevant part of my code where I attempt to play the sound:   private static final ResourceLocation SOUND_LOCATION = ResourceLocation.fromNamespaceAndPath("killstreaksword", "killstreak_music"); private void playKillstreakMusic(Level world, Player player) {     SoundEvent soundEvent = ForgeRegistries.SOUND_EVENTS.getValue(SOUND_LOCATION);     if (soundEvent == null) {         System.out.println("Sound event not found: " + SOUND_LOCATION);     } else {         world.playSound(null, player.getX(), player.getY(), player.getZ(), soundEvent, SoundSource.PLAYERS, 1.0F, 1.0F);     } }   Could this be a file encoding or registration issue? Are there additional steps I’m missing to ensure Minecraft detects the sound? Any guidance or suggestions would be greatly appreciated. Thanks in advance!
    • Hello everyone, friends and family, I hope this message finds you well. I’m writing to you from Alberton, Canada, and I feel it’s important to share my story with you, not just as a cautionary tale, but as a message of hope. As many of you know, I’m a doctor, and in 2024, I decided to try my hand at cryptocurrency trading. I had heard so much about how profitable it could be, and with a background in analytics and understanding of markets, I thought I could navigate the space safely. Unfortunately, things didn’t go as planned. I was targeted by scammers who posed as legitimate trading platforms, and I ended up losing a significant amount of money. It was a devastating experience, and at one point, I felt like there was no way to recover my funds. But by God’s grace, I was referred to Hackerzed Nemesis Recovery, who are among the best bitcoin recovery specialists in the world. Through their expertise, they used advanced forensic techniques to track down the fraudulent transactions and recover every penny I had lost. I can’t tell you how grateful I am for their help without them, I would still be in the dark, feeling helpless and defeated. This experience has taught me a valuable lesson that I want to pass on to you all: Be extremely cautious when it comes to investing in cryptocurrency, especially online. While the industry itself can offer opportunities, there are countless scams out there designed to prey on people’s hopes and investments. If you have already fallen victim to such schemes, whether in forex, cryptocurrency, or Ponzi schemes, I strongly urge you to seek professional help. That brings me to another point I want to highlight: if you've been defrauded, do not lose hope. There are dedicated recovery services, like Hackerzed Nemesis Recovery, who can assist you in reclaiming your lost funds. cryptocurrency is a complex and volatile market, and while it can be rewarding, it's essential to proceed with caution. I hope my experience serves as a reminder to stay vigilant and do thorough research before making any investment. Wishing you all safety and success in your financial endeavors!  
    • Yes it was the full log. I didnt remove or add anything and did just what you recommended me with AT launcher and it doesnt work still. It has the same problem. I attatched the log.  
    • Yes, I agree. Downloading bods         
    • When I open a world, it works fine. It only crashes when I place a create block down. It also crashes when I try to reopen the world that crashes. I already tried to reset the graphics drivers.
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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