Jump to content

Recommended Posts

Posted

Hey there!

 

Sorry for asking this on my first post, but why is there no forge/FML API documentation? I've searched the forums and looked around on google for some sort of documentation, but have turned up nothing. It kind of seems like a glaring misnomer to me, especially when modders should have some kind of unified documentation when working with an API.

 

At the moment, the code I'm working on steps on the toes of ItemBucket, ChunkProviderGenerator, World, and numerous WorldGen* files, and I know for a fact that isn't going to bode well for compatibility with other mods. Worse yet, I know there /are/ forge hooks around in the code, I've seen them, but they're scattered and undocumented. :| I'm really not sure what to make of this.

 

Is there some kind of documentation? Or is there some way to learn to ropes without needing to read through all of the forge code?

Posted

The code is documented, read the code.

It is not possible to generate good javadoc html because we are working with decompiled Minecraft code.

99% of the documentation generated by running javadocs over MC would be jibberish.

Your best is is to read the code inside the forge package.

 

If someone wants to take it upon themselves to go through the code and document it on our wiki, then they are more then welcome to.

I am not going to do it because I do not write good :P

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

Posted

i know how daunting moving to forge is as a modder and now that i have done quite a bit with it id like to help people make that jump

 

EDIT: where would i put it? or can someone with permissions add Javadoc under the Advanced Tutorials link

Posted
  On 6/20/2012 at 8:26 PM, jasonw749 said:

i know how daunting moving to forge is as a modder and now that i have done quite a bit with it id like to help people make that jump

 

EDIT: where would i put it? or can someone with permissions add Javadoc under the Advanced Tutorials link

 

I started modding with Forge included, so I never had to "move" to Forge. You should create a bunch of tutorials in the tutorial wiki from beginning on how to mod with Forge WITHOUT ModLoader. Your tutorials will get more views since it will be updated to the newest version of Forge which does not include ModLoader.

Posted

where would be the best place to post it? under beginner tutorials? or should i wait for someone with permission to add javadoc to the list?

Posted

Hey guys!

 

Are you open to edits for grammar, clarity and the like?

I'd be doing that while absorbing the contents.

 

(Perhaps this will make some people less shy about contributing. =)

Posted

Not particular, unless its a single commit that sweeps everything.

My spelling isn't THAT bad, you can understand all of my comments.

I typically don't accept grammar nazi PRs, esp if its just comments.

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

Posted

ive done another class (im not avoiding the classes in between, i just havent used them yet, so im gonna do them after ive done the ones that ive used)

Posted

i got the other classes in, people can fill in the information whenever, be sure to add your name to the authors at the bottom :)

 

im going to bed now but ill add some more tomorrow

Posted

LexManos =/

 

First of all, I'm not a grammar nazi.

Second, I enjoy well-written English the same way you enjoy well-written code. My intent isn't to make people feel miserable about having their writing corrected. It's to have a clear message on the Web. (For once of all places)

 

It's nothing personal. I don't care who the heck makes the mistakes, just that the result is neat.

Posted
  On 6/20/2012 at 10:56 PM, Geethebluesky said:

Hey guys!

 

Are you open to edits for grammar, clarity and the like?

I'd be doing that while absorbing the contents.

 

(Perhaps this will make some people less shy about contributing. =)

 

Also a grammar fix PR gave a compile error in the past. It's a case of 'if it aint broke, dont fix it'

  • 11 months later...
Posted

I know this is a really old thread but I want to say that I agree completely that there needs to be some sort of documentation.  C# coding is my job and I've produced and worked with many API's.  In any API, there is literally no way to know how to use it without documentation.  I mean sure, you can spend hours upon hours staring at each class but as it was stated earlier there is even stuff in the base minecraft classes like Item and Block that you don't see unless you know to look.  I am new to MC modding and I've been working at it for a couple of weeks now trying to cling to little bits of information I've gleamed from videos and tutorials that I've found here and other places but it isn't a substitute for real documentation.  I know it's a pain but it's also good coding practice.

 

My example of why:  I created several new ores and such and have added tools for each of them.  Well the only way I found before to add to the EnumToolMaterial was to create my own class that mimics the behavior of EnumToolMaterial and set my own values.  This of course means to make the sword I have to extend ItemSword, or ItemPickaxe for the pickaxe tools and so on.  If I had known about the EnumHelper class before I wouldn't have had to go through that pain.  Again though, I just saw this in the little bit of produced documentation and I haven't had a chance to look into it.  It may not even do what I think it does.  Who knows?

 

So please, don't think I'm saying you're doing a bad job in any way.  I think what you've provided here is invaluable for the modding community.  My message is just that producing an API should always mean producing documentation on using that API.  Do with that information what you will. ;)

Posted

1) Please don't necro YEAR old posts.

2) I am very bad at writing documentation. Tutorials, examples, etc..

Combine that with the fact that the Bulk of the code you're interacting with is decompiled Minecraft code. Nothing to do with Forge at all. Theres really no way I ca go through and document everything as 1) I don't know what some parts do exactly and 2) That would explode the patches so much for just documentation.

 

So, its up to the community. Make a nice place for resources to be posted. Those with the capability create good tutorials and point users in the right direction.

Almost everything that Forge adds directly is either documented fairly well, or self explanatory. But as I said i'm bad at it.

Yes I to have worked with many different APIs and codebases in my years of programming. On both sides of the spectrum, worse then we have and better then we have. I find that the best tool a programmer can have is his ability to understand code. Not his ability to read or write it, his ability to UNDERSTAND it. The mind that can consume the code and understand what its doing and how it's doing it. Being able to be your own documentation is good. Not an excuse for lacking documentation, but meh.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Short Term Loans Online: A Reliable Source of Fast Cash   If you are experiencing financial difficulties, you don't have to worry about this challenge. This is the quickest and best method for handling financial catastrophes. You can pick short term loans online without reluctance, and you can apply for the payday loan you want online and have it the same day without any issues. With two to four weeks to repay the loan, you may often borrow between $100 and $1000 without having to offer any collateral.   As implied by the title, those with bad credit histories—defaults, arrears, foreclosure, late or missed payments, judgments against you, insolvency or IVA, etc.—are welcome to apply for online short term loans without having to go through any challenging procedures. Interest rates are a bit high in comparison to other loans. A thorough internet search can be used to determine the greatest rate for a financed loan.   You don't have to waste your precious time searching the internet for short term funding payday loans. In just a few minutes, you can apply for the finance you desire by completing a brief online application. The lender will approve the loan once he has verified that you have provided accurate information on this brief form. This loan is carefully deposited into your bank account in the least amount of time. You can utilize the money in a number of ways without running into any problems. Usually, the money can be used to settle debts like credit card balances, overdue bank overdrafts, tuition or school fees for children, energy bills, housing costs, and more.   Loans Lucre makes it simple to apply for short term loans online, so there's no need to drive across town. Additionally, you won't have to wait weeks for a response from us. Additionally, having bad credit shouldn't be a deal-breaker. We evaluate your entire financial history rather than just your FICO score. We approve many debtors who had been rejected by banks.   Once you are approved, Loans Lucre puts your online installment loans directly into your bank account, giving you instant access to your funds. The repayment plan is broken down into simple, reasonably priced monthly installments. Loans Lucre also rejects rollovers. Instead, we help borrowers get back on track when they encounter difficulties with the repayment process. Borrowers who regularly make their payments on time are eligible for lower annual percentage rates (APRs) on their subsequent these loans. That is truly win-win!   You will be communicating with the lender whether you apply for online personal loans through a cash advance broker or directly from the lender. The cost and duration of the transaction will be increased by any third parties you deal with through the direct lender. This will lead to a faulty perception of the "instant approval" of your payday loan, in addition to raising the cost of your transaction. When asking for a payday loan, it is therefore essential that you work with a trustworthy direct lender; a lender with a solid online reputation and satisfied clients is a wise choice.   You can apply for a short term loans online through internet platforms in addition to conventional lenders. A quicker and more convenient application process is frequently provided by these platforms. In the end, it is feasible to get a $500 loan with low credit or no credit at all, but it will need effort and careful evaluation of your financial possibilities. The lender's requirements will always determine approval, so be careful to give accurate information and look into several lenders to determine which one best suit your needs. https://loanslucre.com/  
    • Apply For Fast Cash Loans Online Today To Get Money Right Away   Do you have to deal with your money issues right away? You don't need to go anywhere because you can get fast cash loans online with just a computer and an internet connection. This suggests that you don't need to waste any time applying for these loans. All you have to do is fill out the form accurately and submit it to the lender online. They will check it and determine whether to approve the loan within the specified time frame. The money is moved to your bank account shortly after approval.   The same-day financing loan facility offers the most beneficial cash assistance in quantities ranging from $100 to $1000, with a flexible payback period of 2-4 weeks from the date of acceptance. You can use the borrowed funds to cover your child's tuition or school fees, small vacation expenses, past credit card payments, laundry costs, minor house repairs, your mother's checkups, and other emergencies.   To be qualified for same day funding loans, you must meet specific conditions regardless of your credit score—fair or low. A valid proof of domicile and proof of residence for the last 12 months, a current bank account with an SSN, being employed permanently with a monthly wage of at least $1000, and being at least eighteen years of age are prerequisites. If you satisfy the qualifications, you can apply for same-day payday loans directly without undergoing a credit check if you have bankruptcy, CCJs, IVAs, foreclosure, arrears, or defaults. As a result, getting a loan is fairly easy in the current credit market.   You must complete an application with information about your bank account and job in order to apply for a fast cash loan online from a physical payday lender. You also need to provide the lender with postdated checks that will be deposited on the scheduled repayment date. In return, you get paid right away.   Applicants can apply for same day payday loans at any time, from the comfort of their homes, eliminating the need to travel across town to a payday loan outlet. However, online payday lenders do not frequently provide same-day loans. Instead, payouts are made straight into borrowers' bank accounts via the Automated Clearing House (ACH) system; processing for this method takes at least one business day.   You must think about if you can pay back the loan in full within the allotted time because same day payday loans may have payback periods as little as one week or ten days. If you are unable to pay the full amount due, the lender might accept a token payment from you. The remaining sum will be restructured as a rollover, which is a new loan with fresh interest and administrative costs and the same short payback period. After a few rollovers, a significant number of little payday loans accumulate to the point that debtors still owe more than they originally borrowed, even after making consistent payments for months or years.   You should be ready to submit the required paperwork and supporting proof when applying for a payday loans online same day with bad credit. Usually, lenders will evaluate your present financial state, work status, and loan-repayment capacity. Many lenders specialize in bad credit loans and are willing to take on the risk of lending to those with poor credit, despite the difficulties presented by a low credit score. This implies that you are not automatically denied a loan because of poor credit or no credit at all. https://nuevacash.com/
    • I have removed stevekunglib and it is still crashing again https://pastebin.com/9vE8pji0
    • It looks like an issue with stevekunglib or a mod requiring it
  • Topics

×
×
  • Create New...

Important Information

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