Jump to content

Recommended Posts

Posted (edited)
Spoiler

First thing first, i do try to make one forge mod and i get all of the information to start building my own mod is from MrCrayFish (maybe some of you know him already? the guy who created that Famous Furniture Mod) but then i'm stuck on how things supposed to work in Forge, MrCrayFish teach me that i should make 3 methods for my first class and that's preInit, init, and postInit. and what make me so confuse with just three of these?? it just make me blank.. from java, we all know that 'public static void main (String [] args) {}' method is supposed to be the "Laucher" for our all java application but with Forge, it make things different for me.. i have zero experience with gradle and github stuff but know what java library is.. So, don't expect me to fully understand things all by myself without proper documentation. i just not getting used by guessing how things works all by myself, i'm born at where there are tons of documentation to ease people who want to work with it.

 

Hello, i'm fairly new with forge and i don't get enough 'official' information about the minecraft forge itself..

I know this isn't Java School but at least give some introduction about the Forge 'framework' to us (modders).. i'm very blessed if you guys (Forge Developers) would spare your time to add documentation like the images i attached below...

 

"Where are we supposed to put all of these complex information?", maybe you can put them all on mcforge.readthedocs.io ? but i think there are supposed to be two domain for the forge docs, The Source Code infos (you can find objects or class information that are on the Forge Minecraft) and The Implementation infos (you can find tutorial on how forge objects should be implemented on this domain).

 

and again if you think that i want the Java Tutorial, you are completely wrong.. i mean is that there are the "hidden info" out there that we should know for the first time before we can use the Forge 'Framework' properly.

 

There are four images on the attachment and i'll give an information on how they should be applied:

[Image 1, java documentation home image] = You can find all of the classes that are included in the Minecraft Forge source code,

[Image 2, java documentation objects image] = You can see the objects or class information that gives you an idea what they are and how they are constructed (constructors, methods, child-class and parent-class, implements, etc),

[Image 3, codeigniter documentation image] = It's your first "Hello World!" mod, it contains pretty much a proper way to create a mod with Forge from start to packaging,

[Image 4, oracle documentation image] = It's some other forge tutorials that has it's own system to make things works and Absolutely not tutorial on how to create Integer variable.

 

The image 1 + image 2 is an illustration for 'The Source Code infos' and Image 3 + Image 4 is an illustration for 'The Implementation infos'. if you guys have any question regarding to my suggestion, just ask me but i can't promise you that i'll reply in any minutes as i don't check forge forum 24/7.

 

Well, if you want to see why this suggestion should be applied, here are several possible pros reasons below:

- It reduce the amount of people who ask for a help on how to code with forge,

- It makes community easier to explain as you can just refer what you mean with your explanation to the available documentation,

- It increases the interest to create a mod with forge (well, i have a little to not have a motivation to create one because of this),

- It does not restrict modders to certain forge knowledge anymore, the modders can finally use all of their ideas into their mod with ease,

- It also let modders only think and focus with their ideas only and push em to the max, and let the documentation explain how you do things,

- As the mods produced more and more and many minecraft players interest on playing with their lovely forge mods, Forge Developers indirectly get paid by the advertisement (harvesting ads from Forge Download).

 

maybe, if you guys are a pessimist kind of person, here are also several possible cons reasons below:

- It may take a lot of effort to make this happen depend to how many lines of code that need to be explained,

- There might be some explanation that people still don't understand what is that mean and may need some community help to improve that explanation (because i understand how pain it is to explain your code to people),

- There might be some typing mistakes as it's the first ever documentation that have a bunch of information you can get and may need some extra review from community to fix them all,

- (I'm not sure about this one but i think this will happen) As the Forge Developers source income are only from advertisement, it's unlikely that they get paid by their hardwork on creating these complex documentation immediatedly. We can only hope that forge developers will do this for us.. for the community.. for the future!

 

 

To be honest, i don't have any wish to make people offended (if there's one) in any way.. i don't pretend that i can do everything. i am just a normal person who's looking for a help to the masters or you can pretend me as a student who needs a help to the teacher. So, please don't throw me with hatred comments, i just want to be a nice person here..

 

Here are all of the pictures attachment below:

forge docs suggestion 1.png

forge docs suggestion 2.png

forge docs suggestion 3.png

forge docs suggestion 4.png

1n2u7l.jpg

Edited by firmansahita
some typing mistakes
Posted
29 minutes ago, diesieben07 said:

Doesn't this already exist with the Getting Started page? Please clarify what you are missing on that page.

That's not what i mean, i mean something like the URL i provide below.. if you follow the instruction, you get your first 'Hello World!' but on that page you refer, it's only explain you how you get around with forge and it doesn't include something like 'full code example'.

https://www.codeigniter.com/user_guide/tutorial/index.html

 

maybe if you don't know codeigniter, here's the java way to give people complete tutorial (tutorial that has both explanation and full source code)

http://docs.oracle.com/javafx/2/get_started/form.htm

and there, on the "Run the Application" section, there's a link called 'Login.java' and it redirect you to the full source code if you run into problems. (the link also pasted here for easyness)

http://docs.oracle.com/javafx/2/get_started/Login.java.html

 

29 minutes ago, diesieben07 said:

Your IDE does this. Your IDE can even generate the HTML Javadoc from the Forge code if you prefer that.

How'd you do that with eclipse? does that generate exactly like the illustration i provide? i'm not so friendly with eclipse anyway, i usually use netbeans PLUS even on netbeans i don't generate the HTML Javadoc, i still read from the site manually.

Posted

It is explicitly designed that we do NOT give out 'full code examples' because if you're a modder you shouldn't need copy paste code.

And we have a history of the community spouting copy pasta all over the place, we will not contribute to this.

 

As for the javadocs, due to how Minecraft is obfuscated and the mappings are crowdsourced, the javadocs are useless as you would have different functions and docs then someone else based on what snapshot you're using.

Your IDE is the way to go for javadocs.

 

As for everything else, as diesieben points out, the github is public and we rely on the community to develop tutorials/documents on things. So if you want them, start making them.

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

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

    • When I first heard about Bitcoin back in 2018, I was skeptical. The idea of a decentralized, digital currency seemed too good to be true. But I was intrigued as I learned more about the technology behind it and its potential. I started small, investing just a few hundred dollars, dipping my toes into the cryptocurrency waters. At first, it was exhilarating to watch the value of my investment grow exponentially. I felt like I was part of the future, an early adopter of this revolutionary new asset. But that euphoria was short-lived. One day, I logged into my digital wallet only to find it empty - my Bitcoin had vanished without a trace. It turned out that the online exchange I had trusted had been hacked, and my funds were stolen. I was devastated, both financially and emotionally. All the potential I had seen in Bitcoin was tainted by the harsh reality that with decentralization came a lack of regulation and oversight. My hard-earned money was gone, lost to the ether of the digital world. This experience taught me a painful lesson about the price of trust in the uncharted territory of cryptocurrency. While the technology holds incredible promise, the risks can be catastrophic if you don't approach it with extreme caution. My Bitcoin investment gamble had failed, and I was left to pick up the pieces, wiser but poorer for having placed my faith in the wrong hands. My sincere appreciation goes to MUYERN TRUST HACKER. You are my hero in recovering my lost funds. Send a direct m a i l ( muyerntrusted ( @ ) mail-me ( . )c o m ) or message on whats app : + 1 ( 4-4-0 ) ( 3 -3 -5 ) ( 0-2-0-5 )
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

×
×
  • Create New...

Important Information

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