Jump to content

Recommended Posts

Posted

I am having some of the most insane bit of trouble setting up dependencies from other mods.

I want to be able to use my mod as a base & include it as a resource for other mods I am making.    I am flat out having an insane trouble setting it up, much less getting any other mod setup as a dependency.

(I am able to get Ones like JEI & Patchouli to work, but they have already set it up so it's REALLY easy with gradle importing)

 

The documentation is a minimium of 4 years out of date & is flat out not valid for current versions of forge gradle projects.   The section I would LOVE to actually work because it flat out says how to do exactly what I want done Testing with Existing Mods - Outdated & still included in 1.18.x& 1.19.x - 

I do feel behind on the 8ball as it where, but the official gradle sources are very general & do not cover what's properly needed (because MC & forge are a bit different), and the forge documents .... require outdated software to run properly & that's assuming newer gradle would run on those versions anyways.

Posted

To use your mod as a dependency in a different project, your mod needs to be published to a maven repository. This can just be a local maven repository on your computer.

There is a template at the bottom of the example mdk mod, but the relevant docs are the gradle ones.

https://docs.gradle.org/current/userguide/publishing_maven.html

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted (edited)

I just, want to be clear on the steps.

On the project I want to be a dependency for my other project I Use the gradle command [ publish / publishtomavenlocal ]
--  I'm having alittle bit of issue finding where it put the files & move/store them on my system for local use.

I was able to find build/publish/pom-default.xml  & build/libs/zyx.jar file sharing the same timestamps.

Just to be clear I link the xml as a new maven in repositories & put the jar file in the ./libs folder?

Sorry to be exceptionally confused & confusing about this.  It's a hurdle.

-----------------------

*Edit

I can not seem to get it to be added & load correctly.

It will build correctly with my mod, but can not seem to load correctly & I'm flat out not sure what's wrong.

All my calls for vanilla blocks are obfuscated & I've array lists that crashing because are coming off as null with the client runs.

 

I honestly need A bit more of a spotlight, I am absolutely failing to see what's going wrong.   
-- I am trying to download sources (as intellij suggests, but I am not sure that's going to help). 

I swear I'm losing my mind >.>

Edited by DePhoegon
failure
Posted

Look at the examples in the mdk, in particular the comment above the dependencies that have fg.deobf that remaps the mod back into your choice of deobfuscation mapping

You also need to specify the dependency in the mods.toml of the using mod, otherwise forge won't know the order to load the mods.

https://forge.gemwire.uk/wiki/Mods.toml

 

It is very hard to help you. I can tell you don't understand what is going is on, but the "random" and incomplete information you post means I have to try to guess what the problem is.

If you have a problem, show what is not working, not your (probably wrong) description of what you think is happening.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted (edited)
  On 7/22/2022 at 5:59 AM, warjort said:

Look at the examples in the mdk, in particular the comment above the dependencies that have fg.deobf that remaps the mod back into your choice of deobfuscation mapping

You also need to specify the dependency in the mods.toml of the using mod, otherwise forge won't know the order to load the mods.

https://forge.gemwire.uk/wiki/Mods.toml

 

It is very hard to help you. I can tell you don't understand what is going is on, but the "random" and incomplete information you post means I have to try to guess what the problem is.

If you have a problem, show what is not working, not your (probably wrong) description of what you think is happening.

Expand  

It's fairly 'incomplete' because alot of it does feel exactly like guess work.   
I don't know to get it to spit into the correct format, where to place the files or 'which files'.
I don't even know how to get it said files to load correctly, with what appears to be critically mising information about some things seemed to be written up to common sense when it's not mentioned anywhere.

I'm going to 'retry' it, because I honestly had forgotten about the mods.toml  (but I suspect some missing details about setting up for deobf )

I can tell you what happened, it got added in as a library & I could see the code, but it failed to test the client correctly because a bunch of arrays came back null Like they were not created correctly still had obfuscated names & methods & could not be resolved.

 

OneDrive TS_screenshots folder 

 

Pretty damn sure I some how didn't set it up correctly or some how grabbed the wrong files.  Every time I attemptted to use fg.deobf, it failed, outright.

==============================

Intended target to be made into a dependency

I've not git posted the mod that was intended to use it.  Though a version of it is on my github.  ATM I am just working out and doing what it takes to get it to a functional enough state for a 1.18.2.

Edited by DePhoegon
Additional Links
Posted

Just ...  Lock this if you kindly would.

I got pointed at using 'curseforge' from dependencies (which really should be an upfront resource) & it's just flat out easier.
-Yes i was going to use curseforge to spread my mod anyways which was the intent, so this just makes it 100x easier.

Good *****   I'm beyond frustrated.. but w/e  I'll get over it & just be willing to use cursemaven.    Thanks for your time. 

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

    • The exclusive acw696499 Temu coupon code unlocks the best deals for users in the USA, Canada, and European nations. This amazing deal includes the Temu coupon $100 off and Temu 100 off coupon code, giving you multiple ways to save instantly. What Is The Coupon Code For Temu $100 Off? Both new and existing customers can unlock exceptional savings using our Temu coupon $100 off on the Temu website and app. This exclusive $100 off Temu coupon makes shopping more rewarding than ever. acw696499: Flat $100 off on select orders for all eligible users. acw696499: $100 coupon pack usable over multiple transactions for maximum value. acw696499: New customers get a $100 flat discount upon signup and first purchase. acw696499: Existing users get an extra $100 promo discount to boost their savings. acw696499: $100 worth of coupons valid for users in the USA, Canada, and Europe. Temu Coupon Code $100 Off For New Users In 2025 If you're a first-time shopper on Temu, you're in luck. New users can claim the highest discounts using our Temu coupon $100 off and Temu coupon code $100 off. acw696499: Enjoy a flat $100 discount on your first-ever Temu order. acw696499: Unlock a $100 coupon bundle tailored for new customers. acw696499: Receive up to $100 in coupons for use over several transactions. acw696499: Benefit from free shipping to 68 countries worldwide. acw696499: First-time users get an extra 30% off any purchase. How To Redeem The Temu Coupon $100 Off For New Customers? To use the Temu $100 coupon and Temu $100 off coupon code for new users, follow this easy guide: Download the Temu app or visit the official Temu website. Sign up using your email or mobile number as a new user. Add your desired items to the cart. At checkout, enter the code acw696499 in the promo field. Your discount will be applied instantly and reflected in the total amount. Temu Coupon $100 Off For Existing Customers Already a Temu shopper? Good news鈥攅xisting users can still enjoy big savings with our Temu $100 coupon codes for existing users and Temu coupon $100 off for existing customers free shipping offers. acw696499: Get an extra $100 discount on your next Temu order. acw696499: Receive a $100 coupon bundle for use on multiple purchases. acw696499: Free express shipping with a complimentary gift for USA/Canada customers. acw696499: Save an additional 30% on top of your $100 coupon. acw696499: Enjoy free shipping to 68 countries including the USA and Europe. How To Use The Temu Coupon Code $100 Off For Existing Customers? To apply the Temu coupon code $100 off and Temu coupon $100 off code as a returning customer: Log in to your Temu account on the app or website. Browse products and add them to your cart. Head to checkout and enter acw696499 in the promo code field. Instantly see your $100 discount and any additional savings. Complete your purchase and enjoy your exclusive deal. Latest Temu Coupon $100 Off First Order Your first Temu order can come with major perks. Use our Temu coupon code $100 off first order, Temu coupon code first order, and Temu coupon code $100 off first time user to get incredible deals. acw696499: Flat $100 discount for the first order. acw696499: Unlock a $100 Temu coupon code for your first purchase. acw696499: Get up to $100 in coupons usable multiple times. acw696499: Enjoy free shipping to 68 countries with your first order. acw696499: First-time users receive an extra 30% off any purchase. How To Find The Temu Coupon Code $100 Off? Finding a working Temu coupon $100 off or Temu coupon $100 off Reddit code is easier than ever. Just sign up for the Temu newsletter to get exclusive, verified offers sent directly to your inbox. You can also follow Temu on their social media platforms to stay updated with flash deals and seasonal promos. Or simply visit our trusted coupon site to get the latest, working Temu coupon codes every day. Is Temu $100 Off Coupon Legit? Absolutely, our Temu $100 Off Coupon Legit and Temu 100 off coupon legit offers are real and verified. The code acw696499 is officially tested and approved for Temu users. Any customer can safely use this code to receive $100 off on both first-time and repeat purchases. Best of all, this coupon code is valid worldwide and comes with no expiration date. How Does Temu $100 Off Coupon Work? The Temu coupon code $100 off first-time user and Temu coupon codes 100 off promotions are designed to reward both new and returning customers. Simply apply the code during checkout, and the discount will be deducted from your total amount. This code can be used in combination with other seasonal deals, flash sales, and free shipping offers. It's a straightforward and effective way to save big while shopping your favorite products on Temu. How To Earn Temu $100 Coupons As A New Customer? New customers can easily earn the Temu coupon code $100 off and 100 off Temu coupon code by signing up on the Temu app or website. Once registered, apply the promo code acw696499 to activate your $100 in coupon savings. These rewards often come bundled as part of a welcome package, which includes multiple-use coupons, a 30% bonus discount, and free shipping. The process is simple, fast, and ensures maximum value for new shoppers. What Are The Advantages Of Using The Temu Coupon $100 Off? Here are the top benefits of using the Temu coupon code 100 off and Temu coupon code $100 off: $100 discount on your first order. $100 coupon bundle for multiple transactions. Save up to 70% on trending products. Extra 30% off for returning customers. Up to 90% off on selected items. Free gift for new users. Free shipping to 68 countries globally. Temu $100 Discount Code And Free Gift For New And Existing Customers Our Temu $100 off coupon code and $100 off Temu coupon code offer many great perks for both first-time and returning customers. acw696499: Enjoy a $100 discount on your very first Temu order. acw696499: Save an additional 30% on any item in the app. acw696499: Get a free welcome gift exclusively for new users. acw696499: Receive up to 70% discount on top-rated items. acw696499: Free gift plus shipping to 68 countries including the USA and UK. Pros And Cons Of Using The Temu Coupon Code $100 Off This Month Here are the pros and cons of using the Temu coupon $100 off code and Temu 100 off coupon: Pros Flat $100 discount on your order. Extra 30% off on any item. Free shipping to 68 countries. No minimum purchase requirement. Exclusive gifts for both new and existing users. Cons Not valid on third-party seller items. Cannot be combined with some limited-time flash sales. Terms And Conditions Of Using The Temu Coupon $100 Off In 2025 Please review the following terms for using the Temu coupon code $100 off free shipping and latest Temu coupon code $100 off: No expiration date; use it anytime. Valid for both new and existing users. Usable in 68 countries worldwide. No minimum purchase requirement. Code: acw696499 is valid across all platforms. Not applicable on third-party or reseller items. Final Note: Use The Latest Temu Coupon Code $100 Off To wrap it up, don't miss the chance to save with the Temu coupon code $100 off. Whether you鈥檙e a new or returning customer, this deal is designed to maximize your savings. Use the Temu coupon $100 off today and enjoy additional perks like free shipping, discounts, and welcome gifts. The time to save is now! FAQs Of Temu $100 Off Coupon  Is the Temu $100 coupon available for everyone? Yes, the coupon is available for both new and existing customers who use code acw696499 during checkout.  Can I combine the Temu $100 off code with other promos? In most cases, yes! You can use the code with seasonal deals and free shipping offers. How many times can I use the $100 coupon on Temu? The coupon pack includes multiple-use vouchers, so you can spread out your savings across several orders.  Does the Temu $100 off coupon have an expiry date? No, our code acw696499 has no expiry date and can be used anytime.  Is the $100 Temu coupon code legit and safe? Absolutely! The coupon is tested and verified regularly to ensure it鈥檚 safe and valid for all users.
    • Delete the tensura-reincarnated/common.toml file (config folder)
    • Jesus Christ is God's Son, Jesus died for our sins and rose from the dead to Give us eternal life. Ask Him to also heal your body.
    • Jesus Christ is God's Son, Jesus died for our sins and rose from the dead to Give us eternal life. Ask Him to also heal your body.
  • Topics

  • Create New...

Important Information

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