Jump to content

jonathanpecany

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by jonathanpecany

  1. I managed to fix it. I luckily had a backup from a while back, which isn't current. However, I did something smart. Since that was still working I simply copied the registry from that one and pasted it into the current one and it worked-ish. There are some shader bugs, minor block NBT not loading properly, and some missing blocks. I may be able to fix the NBT ones. Luckily most of them were from the backup and I could copy and paste those.

  2. I am using 1.12.2, which is unsupported but I can't update to the newest Forge version as about 66% () of all the mods I use stopped being updated after 1.12.2. If it weren't for that, I would.

     

    I haven't touched on this world for a year now and completely forgot what happened. I then remembered what happened. About a year ago or 2, I was playing on my modded 1.12.2 world when Minecraft suddenly stopped responding and I had to force-stop it. Which was a mistake as now when joining the world, it throws this error. (I am using mclo.gs as it formats it better and makes it easier to read). This error I managed to fix this by editing the Minecraft world directly and removing the tileEntity errors, however, another problem arose. That would be blocks being mismatched and not in the correct location.

     

    I did report an issue about the crash on the More Planets Github. This shows images of the scrambled blocks

     

    Anyway to fix this in any way. I need that world back as this is my masterpiece modded survival world. I do not want to lose it. Even though I have touched it in a while, it's still a masterpiece.

    Is there anyway I can override the IDs to fix everything. I'll do anything to recover my world.

     

     

     

  3. I seen tons of tutorials on YouTube on modding such as just setting up workspaces and creating block. But never the basis of Forge, I do mea  basis, not basic. Those tutorials about creating blocks and such is not very useful. Those kinds of tutorials are more useful in plugin developing since it is simpler.

    I should probably also mention that I am using Mcreator to create my Minecraft mods. As I realize it may be easier. I want to mainly learn the basis of Forge so I could edit code, while understanding everything and learning stuff like making blocks of modding tutorials isn't really useful.

  4. 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.

  5. 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.

  6. 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

  7. 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.

  8. 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?

  9. 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?

  10. 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.

  11. 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.

  12. 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?

  13. 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?

  14. 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.

  15. 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.

  16. 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

×
×
  • Create New...

Important Information

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