Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Posts posted by jonathanpecany

  1. 17 hours ago, poopoodice said:

    There's a discussion a while ago


    I feel honored to be quoted in a new post.

    17 hours ago, Matthgeek said:

    I've just decided to start modding, and have an IDE set up with the example Forge pack. However, I'm struggling to find a comprehensive introductory tutorial for 1.17.1. Does such a thing exist? Or do I need to dig around for old tutorials and figure out what's changed in 1.17.1?

    But yes, I have asked this before, and got some replies of good resources, documents, etc.
    So you should probably check out my post as it may help.

    Here is a link to it.
    Hopefully it may help you.

  2. 9 hours ago, Ugdhar said:

    Not a problem, really the main thing people take offense to around here is not knowing basic Java (syntax, classes, inheritance, scope, etc), and not showing code/logs, especially after being asked. Besides that, I don't think people mind repeated requests for help. It also helps if you try something(s), so you show motivation, and also have some code to share. "I'm trying to do this, here's what I tried, here's what it does/doesn't do that I don't expect" will get way more help than "How do I do this?" with no attempt at all.

    Thanks. And any basic java code help, which might come up a few times, not much. I would ask on Stack Overflow.

  3. On 8/20/2021 at 5:39 AM, Ugdhar said:

    I'm with you on video tutorials, they're terrible, whoever thought videos were a good medium for coding tutorials was high AF. That's the generation we're in though, if it's not a video, no one cares. :(

    Don't get me wrong, if the video was a lot more easier to read (metaphorically) it would be a great tutorial. And when I say that, I mean make it easier on all people learning to code. Zoom in on the code, add it pop-ups of text of what each thing would/will do.  Make it describe more and help easier. Maybe make it a bit interactive. And less stressful on the eyes.

    It would take extra work to do, but a high quality educational video isn't easy to do. Plus, you can probably monetize and with the high quality work, they could make higher profit, making it worth it. Don't forget high quality microphone and screen recorder.

    Got to admit though, the worst modding tutorial is from TurtyWurty, he doesn't get to the point. And he is very hard to follow.


    On 8/20/2021 at 5:39 AM, Ugdhar said:

    More or less same deal as the other responders, but would also like to add, get a github account if you don't have one, and learn how to use your IDE with git. It makes managing your own code so much easier, you can roll back changes, create branches, etc. etc. and probably one of the more helpful, you can link to it here if you have a problem, and you get much more help with a working* codebase than just describing your problem, or copy/pasting a couple classes into a forums post. (*working - includes what is needed to be capable of being built/run, if there are errors you can't figure out, people can/will often help)

    I might think about it. I already have a github account though. And since I am still new, there would be a lot of posts from me on here. Lol

  4. 3 hours ago, Luis_ST said:

    i've learned minecraft modding with:
    the official forge doc
    the forge community wiki
    the most recommendable tutorial

    you also can search for threads here in the forum or create a new thread
    and there is the forge discord server

    I taught the rest myself through tests or vanilla examples
    I hope this is helpful

    Thanks, I have looked at the official forge docs. I read all the way to blocks and tried to start on the coding and was confused. I will try the other links here later and hopefully they will help.


    16 minutes ago, Danny and Son said:

    Ditto to nearly everything @Luis_ST said. McJty's tutorials are really helpful.

    Also, Minecraft by Example was super amazingly helpful for me! Currently, it's only up to 1.16 though. And, I found Silent Chaos's tutorials really helpful too. He moves much faster than McJty and assumes some background knowledge, so some people might find it harder to follow, but he takes you on a much faster path to getting a basic mod working.

    Overall though, the process involved a lot of searching, looking at other mod code, and digging into Minecraft and forge code. Sometimes it feels like the information you want isn't there, but then you find something, and it all comes together. It can be frustrating, and then exhilarating. Then, it gets easier.

    Thanks. I ain't that big of a fan of video tutorials as I don't have much of an attention span and the coding words are too small and I can't really zoom in on videos.

    But I guess I would need to learn a lot more on registries to get started as they seem to be a core part of modding.

  5. Hello, a very noob mod here. I asked questions in the past about documentation and what not. Got the Java Docs. But after reviewing the forge docs and some tutorials, it is confusing. Like with registries and what not. I learned Java and I understand Java quite well now, but I guess this is for creating my own Java stuff, with some api. I can easily code a Server plugins, that is easy. But for Modding, it's difficult.

    Lot's of steps, which makes sense.

    To the point:
    I want to know, for people who mods Minecraft, how did you learn and understand it, to make the game do want you want?

  6. 7 minutes ago, kiou.23 said:

    you don't need to read ALL the code, just the parts that concern your needs


    plus the forge docs has information on all the fundamentals that you need, such as registries, events, capabilities...

    from there you kind of have to figure things out for yourself... by reading the minecraft source code, or other mods source codes

    there are a lot of example mods out there aimed at helping begginers

    this is one that helped me a lot: https://github.com/TheGreyGhost/MinecraftByExample


    and if you can't figure out how to do something, you can always ask for help in the forum or in the discord

    Alright, thanks. I will do that. Still probably going to be a pain though, but I will. Can I add my own custom comments to the source, I really hope so. But I think I can do it.

    Also, what is the proper forge source at, I seen that forge decomp didn't include every source?

  7. 1 minute ago, diesieben07 said:

    Minecraft is not open source. In fact it is not even visible source. All we get from Mojang is the compiled jar file, which obviously does not contain any comments. On top of that the code is also obfuscated. In very recent versions Forge has switched to using Mojang's official mappings by default, so at least now fields and methods will have the same name as in Mojang's code. However you still don't get parameter names or comments.

    There is nothing you can do about this, although in theory you could ask Mojang for documentation... ;)

    So how does other madders that create awesome mods like GalacticCraft mod? I used GalacticCraft as an example as it uses a lot of neat features, like flag design, rocket, UI, Space UI, custom armor, adding tabs in Player Inventory, and more.

    What steps did they take to look at how they do this and that? That is what confuses me, like if it doesn't have any sort of comments then how do people mod? That always confused me.

    I could always ask Mojang for documentation, but why would they, lol. If it was that simple, I am about certain that if that was that easy, Forge would have access, but who knows though, they probably only asked once, so it might just work. Never hurts to ask, they can't sue you or anything for asking, lol. That would take away my first amendment of the USA.

  8. 12 minutes ago, diesieben07 said:

    It tells you how to set up a Forge modding workspace in Eclipse.

    Well, yeah. I have already done all of that. I have it open in eclipse and there are no errors. Only problem is, it will be hard to mod without some sort of docs. I have attached source to Forge in the Referenced Libraries from the .gradle cache (caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.16.4-35.1.4), I attached the decomp one. But problem is that there seems to be no comment docs inside any of them, making it harder to mod it.


    I did all of this right after running gradlew genEclipseRuns from cmd within the folder. I also did gradlew eclipse before that. Now, it is both build successful, I open it in eclipse and looked in reference libraries and in Forge snapshot, noticed no attached source so I added one that I think was it, which I think it was as it was working.

    And that was the full steps in what I did. I tried to be as specific as I can. I really want to mod Minecraft, but I don't want it to be a lot harder to find what it does exactly, that will take forever and I want to customize Minecraft to the full expense of my imagination.

  9. 17 minutes ago, diesieben07 said:

    It generates the run configurations for eclipse so you can start the game.

    If the game is not decompiled yet, it will do so.

    Well, your suggestion works. My computer run 3GBs of it quite easy. Guess I underestimated my computer, lol.
    Thanks again.

    Now, how do I get the forge source?

  10. 2 minutes ago, diesieben07 said:

    Decompiling is hard, especially if you want at least half-decent code to come out of it.

    Minecraft is a big codebase.

    Ergo: Decompiling Minecraft takes a lot of memory.

    Well, alright then. I'll report back with what will happen.

    Also, what is the main purpose of gradlew genEclipseRun?

  11. I really need help with Forge 1.16.4 in using gradlew genEclipseRun as it gets stuck at 88%, but the time continues. I have assigned about 2GBs to it and it does use that much, as well as all of my CPU usage, it is such a pig, XD. But it is stuck on 88%, even while using all of those resourced. I even left it for 7 Hours and no go, it is annoying and don't know what to do.

    The main reason why I am trying to run it is for the Forge Source as I heard that creates it, I think anyways. Unless anyone know where to get the forge source at, please say. I have tried looking at this post in how but doesn't exactly answer my question, actually, I don't know if it does answer my question as it hinted to running the command.

    Any help that leads to fixing the genEclipseRun command or help with getting the forge source in for attached docs to help with modding is very, very, very greatly appreciated. 

    This has been solved. Click here to see what solved my problem.

  12. 10 hours ago, diesieben07 said:

    Forge uses a large set of tools, all the necessary ones are open source as far as I know: https://github.com/MinecraftForge/


    There is no "MinecraftAPI", Minecraft is closed source and obfuscated. The rough process for development is this:

    1. Download Minecraft.
    2. Run it through a decompiler.
    3. Fix any decompilation issues.
    4. Rename the obfuscated names to something readable.

    Forge then uses a patching system to change the necessary part of the Minecraft code. During development these work on the source code level (changes in .java files), but at runtime they will be applied as binary patches to the .class files. To do this, Forge uses a custom class loader, which can transform any class as it is being loaded.


    As for how the launcher knows how to launch forge: The Minecraft launcher is configured through .json files in the versions folder. The Forge installer creates one.

    Thanks, and I can see the long process, how long did it take to create it.

  13. So, I have a question that is really bugging me a lot, but how was things such as Forge, Bukkit, Spigot, Optifine, etc created. Like what kind of resources did they use, did they use a Minecraft API or something, how did they manage to make it so the Minecraft launcher can detect it and run it. I kind of wanted to create my own someday but I don't know where to start, and I know I could ask when I wanna start but this question just really bugs me.

    === Skip this passage if you don't wanna know why I asked on Forge forums ===
    I know I could also ask on other forum websites, like Minecraft Forums and Bukkit forums but Minecraft Forums is pretty much dead and/or dead to me and people on Bukkit don't get to the point well enough, but I asked here since Forge is a part of my question, it is quite active, and people manage to get to the point when answer, as well as nice...well, kind of nice...okay, some people on here are a bit rude, but at least they get to the point. So that is why I am asking here. I just typed this part so you guys don't ask about other forums, just in case since I am talking about other things as well. And if you are about to recommend another forum, don't, any other ones, I won't truly know about and would rather not use any recommendation, too much work to ask a simple (Maybe complex) question.

    Any intel, documentation, etc, please share. I do know quite a bit of Java, so I will understand documentations and such. So just any intel you got, it will also be very nice if a Forge developer answered as well, like very nice as I know they will have an answer. I won't accept an indirect answer however, so I need some sort of sources, documentation, or/and examples. Hopefully this all

  14. 14 minutes ago, DaemonUmbra said:

    Then I don't know what you were saying, it sounded to me like you were complaining about not having all your saves and configs in once place anymore

    I already got my answer is what I am saying thereby don't really need further response. Plus don't know what you are saying really. Changing directory will add in new folders that the .minecraft folder has and thereby in a newer version of minecraft I'll have to move the save file which in my opinion is not safe as some files of mind are over 1 GBs which is using mods and take forever but I could changed the directory to that directory but than I would have to move mods around which includes lots of creating of folders and deleting to not be confused with it. It is too much work, too much possibilities and those two things added will cause confusion time wasted and more. Like to also mention thinking as well as some children, or maybe most children use mods and they probably used my method and hate it as well.


    But in shorter words, not user-friendly.

  15. 11 hours ago, DaemonUmbra said:

    The idea is that you shouldn't be carrying saves across packs, as this risks opening the save with the wrong pack or even vanilla (which, unlike Forge, doesn't have a mechanism to detect, warn the user about, and preserve what it sees as invalid data).

    That isn't what I was talking about.

  16. 14 minutes ago, diesieben07 said:

    The directory you specify there will become your "new .minecraft". It will be where the saves, mods, configs, etc. directories go.

    Okay, I think I know what you mean but I don't like the idea because with the previous saves and configs and stuff but I understand, I think.



  17. So, back in November I created my own forge icon for the forge profile in the Minecraft launcher. I would like to suggest it to be put it instead as it does look a bit friendlier in my opinion.


    I can't actually post the icon here because I of course used the forge anvil icon and I am not 100% sure if it is copyrighted, I use this personally and isn't publicly use to prevent me getting in trouble. So this thread is basically worthless to post you are probably saying, right? It isn't, I am posting this to ask for permission to post it by some sort of moderator before sharing it as an attachment here. To give you some insights of what the icon may look like, it was inspired by the optifine icon in the launcher which the designs will be slightly similar but not fully as some details are in fact different besides by color.


    If someone else know if the anvil icon is copyright or not than please share, I'll only trust the people with the best reputation though to prevent false accusations and stuff.

  18. 1 minute ago, diesieben07 said:


    Before Test:

    Oh, never really thought of that. I still don't like it. I'll try that and report back.


    After Test:

    After testing it, I think you might be confused now as it didn't work, just created the whole minecraft file service in the folder.

    Directory 1 = %appdata%/.minecraft/mods/1.12.2 - When placing mods for minecraft version 1.12.2 in this directory it works.

    Directory 2 = %appdata%/.minecraft/mods/1.7.10 - When placing the mods with version 1.7.10 in this folder, it works when still having the 1.12.2 mods in Directory 1.

    Directory 3 = %appdata%/.minecraft/mods/1.15.2 - Now when I place the 1.15.2 mods in here, it doesn't seem to like to find them in this specific folder, I have to place them in the %appdata%/.minecraft/mods directory for it to work. I even tried 1.15 to see if it works but no.

    Hopefully this clears things out more. 


    Unless you think you know what I meant and said to add them in different directories, if that is the case, worst feature ever and too frustration just to do that for every minecraft version. That will take too long, most players will just wanna play and not set all of this up. But this opinion is towards if you know what I meant.

  19. 1 minute ago, Ugdhar said:

    I am not completely sure to be honest, I've always kept my installations separate to avoid potential world corruption, so that wasn't a feature I myself used, sorry!

    Okay than, thanks anyway for at least answering. I was sure hoping it could of been a bug.


    1 minute ago, diesieben07 said:

    Make separate installations in the launcher and choose a separate game directory for each. Voila.

    How do you do that as I actually never did that, I always used folders.
    Also, your lucky number must be number 7, isn't it?

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.