Jump to content

Recommended Posts

Posted

Well I got a book on modding using JDK7 and Eclipse and Forge for 1.7.10 and I posted something earlier saying I needed help and somebody told me to use 1.10 and I don't know if it's the same to set up as 1.7.10 because it has a download for mdk not src and I don't know what that is I don't know what anything is please either send me a link or tell me how to setup forge for jdk7 and eclipse on windows 10 that would be amazing thanks. (p.s. don't be harsh I don't know anything about java and am just learning)

Posted

Thank you diesieben! I do have a book on modding, it's just setting up the stuff that I need help with, as I can sorta code with the help of the book. Thanks for the link though!

 

If you don't understand java, what you can do with modding will be limited to precisely what they show you in the modding book. To deviate even slightly from their examples will be over your head until you learn the ins and outs of basic java. I would advise text tutorials, and don't copy/paste code, type it all out. Otherwise you'll just be doing monkey-see-monkey-do, and not really learning anything. and when you come here with modding questions, it will be painfully obvious to the people that COULD help you that you don't know any java, and won't be willing to help you with modding, as their instructions will be over your head, and it's unrealistic to expect people here to solve all your problems line by line giving you code.

 

Not trying to be mean, just trying to make sure you understand how important it is to minecraft modding to learn java.

Posted

I see. I was hoping to learn java by programming mods, and I do still want to program them, but I feel like I will program some basic stuff and screw around with it a lot, even if I don't know java.  as we speak I am still trying to set up eclipse. I shall not give up! (Even if I break my laptop) I really want to code ok? thanks for the advice though!

Posted

http://tutorials.jenkov.com/java/index.html seems like it's a decent run of tutorials for learning the basics. It's important to understand things like (not in any specific order) classes, inheritance, interfaces, methods, getters/setters for properties/fields, packages, and an assortment of other things I should probably list, but take for granted.

 

Trying to learn java by starting right with modding is akin to trying to learn how to swim in the middle of the ocean. Do yourself a favor and learn how to at least doggie paddle first  ;)

Posted

I see. I was hoping to learn java by programming mods, and I do still want to program them, but I feel like I will program some basic stuff and screw around with it a lot, even if I don't know java.  as we speak I am still trying to set up eclipse. I shall not give up! (Even if I break my laptop) I really want to code ok? thanks for the advice though!

 

You need to know how to program (in at least one language, even if it isn't Java!) before you can mod.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Yeah, there are plenty of mods that are written entirely in scala, which is upsetting when I try to look at their source code. But for real, modded minecraft is probably the most complex java program I have ever seen, so I'd have to agree with Ugdhar.

 

Trying to learn java by starting right with modding is akin to trying to learn how to swim in the middle of the ocean. Do yourself a favor and learn how to at least doggie paddle first  ;)

- Just because things are the way they are doesn't mean they can't be the way you want them to be. Unless they're aspen trees. You can tell they're aspens 'cause the way they are.

Posted

I was hoping to learn java by programming mods...

I did exactly that, learning Java from scratch by setting up Forge and diving into modding. However, I come from a background with decades of professional coding experience in a dozen other languages including at least three object-oriented ones.

 

My advice is that if you want to dive into modding in order to learn Java, then first go get yourself 20 years' of professional programming experience as a foundation, and then come back and talk to us. Otherwise, you should listen to the 7 and get yourself some solid Java training that includes a thorough treatment O-O programming concepts. You can do that in two parts:

 

1) If you're not already an expert in O-O programming, take a semester-length course somewhere that teaches it. It may require an intro to programming course as a prereq.

 

2) Work through a Java tutorial online to translate the language used in your course into Java.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted

Ok, again, thanks for the advice, but I still need to know how to set up forge for eclipse and JDK7, the rest I know and the coding I know. A link, call, or message would be great. Thanks!

There are many tutorials out there for setting up JDK. And there is already a documentation for setting up forge.

http://www.minecraftforge.net/forum/index.php?topic=14048.0

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

I have some tips on setting up Eclipse, Java, and a git source code revision system for modding here: http://jabelarminecraft.blogspot.com/p/quick-tips-eclipse.html

 

Regarding learning Java, as JeffryFisher said you can only learn Java by modding if you're already good at several other programming languages. Otherwise, I actually recommend learning from a book. A book is better than online learning for programming because people tend to skip the fundamentals when they do online learning. A book makes sure that you learn the boring stuff which is actually often the important stuff.

 

However, most programming books are quite scary (very thick and easy to get lost and bored). So I recommmend a book called Java in Easy Steps. It is quite thin and friendly but still covers all the basic, important stuff to know.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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

    • Also check the worldsave / serverconfig folder If there is no such file, make a test without this mod  
    • Hi, I've been having trouble trying to use forge as it shows a black screen when I open the game, but I can still interact with it and hear the music.  I've done all of the step by steps and most common fixes like updating drivers, keeping up to date with Java, deleting and reinstalling minecraft, restarting my computer MANY times, even smaller things like splash.properties (I didn't have that file so I added it and set it to false thinking it would do something, definitely not) and making sure to prioritize my rtx 3070 in the settings but with no luck. Minecraft works as intended when I uninstall forge and I also don't have any mods currently, it just gives me this issue when I install forge. I also increased the ram usage, made sure my hardware isn't full or anything, and even changed the resolution in hopes it would fix things. I checked my antivirus and firewall but that isn't the issue either. Trust me, I've done everything I can think of. For some reason the black screen does flicker a little into the main menu, but obviously unplayable. I couldn't even make my way to the settings with how little it flickered. I'm not sure if it flickered randomly or if it was because I was messing around moving and clicking a bunch, I didn't really test it that much.  
    • I've had a really weird issue recently,  I wanted to add the Depper and Darker mod on my dedicated server (MC 1.21 with Fabric 0.16.9, hosted on nitroserv.com) but whenever I do add the mod the sever stops doing anything after listing the mods, and I get no crash or error or anything, just a stuck server. Here's a normal log of the server booting up: https://pastebin.com/JipFF2Eh and here's the log of the server doing the weird thing: https://pastebin.com/W4JBh3eX I just don't understand it. I've tried removing other mods (somewhat randomly) but deeper and darker still breaks my server whenever I add it. NitroServ support staff is about as confused as I am and I've had no response from the Deeper and Darker support staff... Now I know this is the Forge support not the Fabric support but I'm just trying to know if anyone has any kind of idea to fix this (aside from not using the mod obviously) Also I still have a bunch of errors and warnings whenever the server does start properly, are there any of them I should be worried about?
  • Topics

×
×
  • Create New...

Important Information

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