Jump to content

Recommended Posts

Posted

Hey, i using JDA (Java Discord API) in my mod.
My question is how compile mod with JDA?

 

I readed posts and tried but this not helped me, I not have more ideas.

 

Thank you for help and sorry for my English

 

//I using Intellij Idea

Posted

https://github.com/DV8FromTheWorld/JDA#download

If you add JDA to your dependencies using Gradle, it will compile using it as well.

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

The only thing you have to do to add Gradle dependencies:

  • Add the repository (jcenter() is already added in the default Forge build.gradle)
  • Add the dependencies (the compile: line)
  • Refresh Gradle in your IDE

You don't have to manually place libraries in folders, Gradle does that all for you.

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 (edited)
  Reveal hidden contents

^ this is my build.gradle
i compile mod but it isn't finding library...

Edited by DarkKazi
Repair Spoiler
Posted

I do this maybe it's because you haven't added the full location (if it is local).

dependencies {
	compile files("C:/Users/user/ModEnviroment/Modding1.12.2/r2s-Core/bin"){
		 builtBy 'compile'
	}
}

 

Always looking for new challenges, and happy to help the people where ever I can

Posted (edited)

i tried many combination, moving Library, changing src but that doesn't work.
so this is my Project src Screen and build.gradle and how i can add library to mod?

Gradle:

  Reveal hidden contents

src:
 

  Reveal hidden contents

and current error:

  Reveal hidden contents


 

Edited by DarkKazi
Current Error

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

    • Title: Understanding ASM, Coremods, and Why Some Mods Break on Refactoring Post text: Hey everyone! I’ve been learning Minecraft modding for a while and ran into a question that I can’t figure out on my own. Hoping someone more experienced can help or give me some guidance. Here’s my issue: With most “normal” Forge mods — for example, those that just add new blocks or items — it’s fairly straightforward to refactor them. I can rename packages, move classes around, or reorganize the project without too much trouble. But as soon as I look at more complex cheat-style mods that use ASM, coremods, or deep game hooks — like Xray or Entity Xray — even a simple refactor breaks everything. For instance, just renaming classes or changing the package structure is enough to stop these kinds of mods from working at all. My question is: What’s fundamentally different about the architecture of these kinds of mods that makes them so fragile when refactoring? Is it the way they use bytecode manipulation, classloading tricks, or mappings that ties them to their original structure? And how can I better understand these kinds of mods so that I can reorganize or refactor them without breaking the core functionality? I’d really appreciate any insights into ASM, coremods, or classloaders — or any guides/resources that could help me understand this better. If you’ve successfully refactored or dissected mods like Xray or Entity Xray before, I’d love to hear your thoughts! Thanks in advance for any advice — I’m looking to deepen my understanding of these kinds of mods. ✌️
    • I can't figure out if you're looking for help trying to steal someone elses work, or cheat at the game....
    • Title: Why Is It So Hard to Rename and Restructure Mods Like Xray or AntiXray? 🤔 Post text: Hey everyone! I’ve been digging into Minecraft modding for a while and have one big question that I can’t figure out on my own. Maybe someone with more experience could help or give me some advice. Here’s the issue: When I take a “normal” Minecraft mod — for example, one that just adds some blocks or new items — I can easily change its structure, package names, or even rebrand it entirely. It’s straightforward. But as soon as I try this with cheat-type mods like XrayMod or AntiXray, everything falls apart. Even if I just rename the classes, refactor the packages, or hide its identity somehow, the mod either breaks or stops working properly. XrayMod in particular is proving to be a nightmare to modify without losing its core function. So my question is — why is this so much harder with cheat mods like Xray? Is there something fundamentally different about how they’re coded, loaded, or protected that prevents simple renaming or restructuring? And if so, how can I actually learn to understand someone else’s cheat mod enough to safely refactor it without breaking the core features? I’ve already been spending over two months trying to figure this out and haven’t gotten anywhere. It feels like there must be some trick or knowledge I’m missing. Would really appreciate any thoughts, tips, or references — maybe there are guides or techniques for understanding cheat-mod internals? Or if you’ve successfully “disguised” a cheat mod like Xray before, I’d love to hear how you did it. Thanks in advance for any help or discussion. ✌️
    • just started making cinamatic contect check it out on my channel or check out my facebook page    Humbug City Minecraft Youtube https://www.youtube.com/watch?v=v2N6OveKwno https://www.facebook.com/profile.php?id=61575866982337  
    • Where did you get the schematic? Source/Link? And do use an own modpack or a pre-configured from curseforge? If yes, which one On a later time, I can make some tests on my own - but I need the schematic and the modpack name
  • Topics

×
×
  • Create New...

Important Information

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