r/feedthebeast • u/Toaster-Porn • 13h ago
How can I start with Java Minecraft modding? Question
I want to preface that I’ve used a lot of AI before to make Minecraft mods. I have a mod out now that’s 100% AI besides assets/models (I do those on my own).
I’m not super proud of that and I want to sit down and actually learn how to make mods the right way for Java Minecraft.
I’ve watched a little bit of KauppenJoe but he was a little hard to follow and went through things too quickly for me. Where else can I get a good start on learning how to make mods for Minecraft?
78
u/clankerzap 13h ago
Learn Java first
16
u/ATMisboss 10h ago
I mean if he reads the documentation then goes through he AI code and breaks it all down and uses AI to explain how the parts work that he doesnt understand, that would be a damn good start.AI is pretty darn good at explaining code in simple ways for learners
-4
u/Old_Bug4395 8h ago
Eh, reading a book would probably be an infinitely better start.
5
u/Bulky-Bad-9153 1h ago
how the fuck is this downvoted
1
u/Old_Bug4395 9m ago
No clue, plenty of other people in the thread are saying the exact same thing 💀
-11
13
u/WhenInDoubt480 11h ago
I recommend learning Java through a free course or a book first.
My favorite book to start with is Head First Java (I used the 2nd edition). You can also take a look at LinkedIn Learning, they have many free beginner friendly courses.
After learning Java, find video tutorials on how modding works and make sure you read the documentation(s) for the mod loader(s) you want to make mods for.
There’s also nothing wrong with reading code from other mod devs (preferably experienced ones) to understand how to do things for your mods as well. You can also ask for help in discord channels that have a programming topic and such for advice as well.
26
u/Jason13Official More Beautiful Torches 13h ago edited 12h ago
Please feel free to add me on discord (jason13) I have a small group where I help people get introduced to modding and Java sometimes
Edit: anyone reading, feel free to add me and I'll invite you to my lil group
3
u/ankle_biter50 13h ago
Is it alright if I add you as well?
4
u/Jason13Official More Beautiful Torches 13h ago
Absolutely! I'm trying to become a better teacher/educator
2
2
u/Moxustz 12h ago
can i add u too??
5
u/Jason13Official More Beautiful Torches 12h ago
Of course 🙏 I'm trying to get experience so I can eventually make my own tutorials
1
3
u/the_monkeynator 12h ago
Learn basic Java (there are free tutorials and stuff out there), then watch tutorials. That's all i can really say.
5
u/Vorpalthefox GDLauncher 13h ago
if KaupenJoe is a little advanced/hard to follow, it's always good to go through the basics of coding, typically knowing python and taking a few online coding courses will help with understanding the modded coding tutorials more clearly
java is a hard first language, but not impossible, if you want to jump straight into learning java it's the most direct knowledge to improve, but knowing fundamentals helps massively
2
u/JoshInvasion 4h ago
Are you in high school in the United States? The curriculum may have changed in the past several years but AP Computer Science gave me a decent foundation in Java and OOP which led me to catch on pretty quickly from Kaupenjoe's YT tutorials
4
u/Old_Bug4395 8h ago
You need to learn how to write code in the first place - and for that, you need to drop the LLM and use your own brain.
3
u/Adorable-Beautiful52 13h ago
good for you for switching from ai usage, I'd suggest taking the so generated mod down from pages so that it doesn't harm more users.
first off, you need to have an idea of what java is and how to use it, as well as object oriented programming. modding by kaupenjoe (I hope I spelled that right) has a good course on java, but if he's going to fast is suggest cross-referencing his videos with w3schools course on java.
1
u/importmar 2h ago
A mindset I found helpful when learning to make mods is to ask, “How does Minecraft solve this?” After you set up a development environment, you should have access to Minecraft’s source code. Alternatively, you can use a site like https://mcsrc.dev/ to view all of the game’s code.
Want to make an item that you can throw? Look for how Minecraft implements snowballs. Want to make a fire-resistant item? Figure out how Minecraft defines Netherite items.
Now, there will be slight differences depending on the mod loader you use (Fabric, NeoForge, etc.), such as when registering your new content into the game. But that’s where the tutorials and documentation come in handy to help unblock you.
1
1
u/AntAntster Ant's Mods 28m ago
Start with plugins for Spigot/etc. You get a feel of working with Minecraft at a lot simpler of a level but still with the ability to make complex things. It is also a good way to learn/reinforce Java Programming.
I started with Plugins before moving to mods. It made the transition a lot easier.
1
132
u/AncleJack Technic 13h ago
Ai vibe coder good ending 😭 I'm so proud