Jump to content

cubicoder

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by cubicoder

  1. Learning at least the basics of Java first is definitely necessary, although it will be easier if you have other programming knowledge. After that, just a few things I've picked up recently:

     

    Tutorials: Looking at some tutorials/example mods will get you the basics of modding. A few good resources that I've found:

    Spoiler

    https://cubicoder.wordpress.com: My tutorials. They don't go too far into things yet, and they do need a bit of reworking to reflect better practices.

    http://jabelarminecraft.blogspot.com: Good explanations for more advanced topics. Jabelar's also got an example mod on GitHub.

    https://wiki.mcjty.eu/modding/index.php?title=Main_Page: Minimal explanation, but good code.

    https://github.com/Choonster-Minecraft-Mods/TestMod3 and https://github.com/Cadiboo/Example-Mod: More "example mods." These won't have as much explanation, but will be more complete code-wise.

     

    I've also found it to be very beneficial to join modding Discord servers. You can ask questions and get help from some of the best modders out there. A few good servers would be the official Forge server or the MMD server.

     

    Above all, the Forge docs should be your #1 source, since they are official. After that, just be smart about what you do, and don't get mad if people seem rude when helping you. Chances are, they're not trying to be.

  2. Yeah, there will be more eventually. I'd rather wait until 1.13 to make any new ones because of all the changes, but I might do a few more 1.12.2 tutorials because 1.13 is taking longer than I thought it would. Either way though, I'm really busy with school right now so I don't know when I'll have time to make more tutorials.

    • Thanks 1
  3. Looking at the code for the /give command, it looks like you have to have the player drop the item stack using player.dropItem(itemstack, false). Then make the resulting EntityItem have no pickup delay and set the owner to the player (entityitem.setNoPickupDelay() and entityitem.setOwner(entityplayer.getName()), respectively). I've never messed with commands before, though, so I may be wrong.

  4. Fixed (hopefully).

     

    You know, maybe you should make your own tutorials. It seems like you're the only one around here that knows what you're doing. Looking at the source of mods like Tinker's Construct and Iron Chests, even those mods are doing things like using common proxies. I feel like there needs to be somewhere where people can look to find how to do this the right way, and the official Forge documentation just doesn't tell you that much.

  5. Thanks for the feedback! Everything should be updated now to be a little more correct. This is why I wanted to make tutorials in the first place, because nobody ever tells new modders the correct way of doing things. They just have to figure it out for themselves, and usually they figure it out wrong. Hopefully, people will start learning things right now that I've gotten some help.

  6. https://cubicoder.github.io/

     

    These tutorials are meant to help others learn how to mod Minecraft using Forge, as well as learn the concepts behind the code. If you don’t know any Java, please go learn some and come back! There are lots of great Java tutorials online, and trying to mod Minecraft without a good understanding of Java is very confusing.

     

    Any *constructive* feedback is welcome, as I'm trying to make these tutorials as accurate as possible to the "correct" way of doing things!

     

    EDIT: Please note that the website has moved! I have decided to move to GitHub Pages as my host. All of the previous tutorials have been moved over.

    The purpose of this change is to make it easier for people other than myself to contribute to these tutorials, as all it takes is a simple pull request to contribute a tutorial. I am open to contributions at this time; however please make sure you know what you’re talking about and explain the concepts thoroughly. Also, please keep tutorials to Minecraft versions 1.12.2 and above. More contributing guidelines should be available on the GitHub repo soon.

×
×
  • Create New...

Important Information

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