Talk about absolutely anything here!
  • User avatar
  • User avatar
  • User avatar
  • User avatar
User avatar
By TechnoProdigy
#154462
I've been thinking of making custom minecraft plugins, but I know nothing about Java. If one of you could help me, point me in the direction of someone who does know Java/a simplistic guide on Java, or could program the plugin for me, that'd be great.
User avatar
By TechnoProdigy
#154464
This is a serious thread. If you have nothing to contribute, please do not post here.
By shaddowdemon
#154465
TechnoProdigy wrote:I've been thinking of making custom minecraft plugins, but I know nothing about Java. If one of you could help me, point me in the direction of someone who does know Java/a simplistic guide on Java, or could program the plugin for me, that'd be great.
The actual Sun Java tutorials have some useful information. I've never actually gone through them, but occasionally when I google something about Java, they will pop up.

They are located here: http://docs.oracle.com/javase/tutorial/

Specifically, it looks like this page would be highly useful: http://docs.oracle.com/javase/tutorial/java/index.html

How well you can learn it and how fast depends on if you've learned other languages and other general programming concepts (like data structures and basic algorithm construction). Specifically, Java is an object-oriented programming language, so if you've used other OO languages, you will be fine. Otherwise, the learning curve for actually understanding what your program does is probably a bit steep (as opposed to copying code and then trying to adapt it).

I use the Minecraft Coder Pack to decompile the Minecraft jar file and then manually inject my code into the source, calling functions in the API that I made. However, I would not recommend this approach. It is why my mod is not compatible with other mods. Modding APIs like ModLoader or MCForge do that part for you, and then you just fill in functions to do stuff (for the most part). They didn't seem to be able to do what I wanted when I first started shaddowcraft... I would use one of them if it didn't mean rewriting all of my code. I believe that is how Bukkit plugins work too... I've never coded one though.
User avatar
By FaeynHeart
#154470
What do you want exactly? Do you want to learn Java for Minecraft (client) or Minecraft (server) or just general Java?

If you already know how to code then it's just learning about the API :P
But if you don't, the OOP will might be hard for you (if you go straight to the Minecraft source).
User avatar
By TechnoProdigy
#154487
I want to learn how to code plug-ins for a Minecraft server, which to my knowledge requires knowledge of Java.
User avatar
By Ratta237
#154490
Tried to learn java once, I got a book at the library and it was 1000 pages long and the size of 3 bricks.
By mbilly333
#154491
A good place to start for you might be a guy called thenewboston. He has some pretty good tutorials and best of all, it's free. ;) Goodluck!

thenewboston.org
By alexrybicki
#154510
Java can be coded with a simple text editor, however people on the windows side of things seem to prefer notepad++. http://notepad-plus-plus.org/ If you want a solid free IDE, Eclipse http://eclipse.org/downloads/ is the de-facto standard. If you don't want to go thru the hassle of downloading an IDE, http://ideone.com/ is super-awesome, although your code may or may not run, depending on what libraries you're using.

The real question is are you familiar with object oriented programming? Java syntax is pretty cumbersome, but once you get it it's not too bad.


As far as textbooks go...my favorite is http://www.amazon.com/Introduction-Prog ... 0132936526 Although if you want to buy it, it's $117, which may or may not be worth it to you. You should be able to find a copy at a library. There's a lot of other cheaper books out there http://www.amazon.com/gp/bestsellers/books/3612/ But I can't really recommend any of them as I havn't read them ;)

There's thousands of java tutorials out there on youtube.
http://vimeo.com/user697355/videos
http://www.academicearth.org/courses/pr ... 1/show:500
https://www.youtube.com/user/bjhecker?feature=watch
https://www.youtube.com/user/thenewbost ... &flow=grid

There's a couple low-level forgecraft programming tutorial youtube channels, however I can't find them. I'll update once I do.
Hope that helps.
Last edited by alexrybicki on Wed Apr 10, 2013 5:43 pm, edited 2 times in total.
By Exekiel
#154519
That's the textbook I'm using at Uni while it isn't silly & irreverent like a 'head first' or 'for dummies' book, it manages to impart knowledge quickly and easily (despite being MUCH more in depth than the aforementioned) and it does it without being dry and boring. ^^

While I respect copyright & IP more than the average man, the other students in my course have spread the word that if you look you can find an Illegal PDF version of Edition 8 of this book floating around in cyberspace

Also, I would love to help, but i fear I don't know near enough about Java yet, this is only my third unit and while I'd love to have a look at it (As a learning excercise if nothing else) I fear I most likely wouldn't have time :(
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]