I want to develop my own server mod, but I don't know anything about programming.
All I've done is find code that I want from the Internet and write or edit some HTML and PHPs.
I'm running small community homepage and I want to connect my server with the homepage.
Here is the list that I want to add to my own server mod.
1. Connect to community's DB and use member's password to login
2. Use community point in Minecraft for shop items.
3. Chest security (maybe I should look other's source, right?)
I found some of function that I want is available if I get Bukkit server plugin and edit some YMLs, but Bukkit stopped development. (right?)
There is nice mod like 'ForgeMod' but problem is some of my server's user is so idiotic that they even can't install simple language chatting mod.(it just requires drag & drop with kind of program like WinRAR)
So, I want to develop for myself.
First, I downloaded Eclipse for Java developers, Minecraft 1.8 server jar file from Minecraft homepage and program named 'Java Decompiler'.
I decompiled with 'JD-GUI' from 'Java Decompiler's homepage and imported to Eclipse.
Now problem starts from this point.
I thought everything is okay but, Eclipse keep notice me '100 errors found' and I don't know what to do.
I don't know what is problem even I checked tooltips. (Maybe because English is not my native language.)
I tried to find other decompiler like MCP, but MCP for 1.8 is not yet released.
Are there any nice tutorial for me in 'Mapping and Modding Tutorials' forum or anywhere else?
I want to develop my own server mod, but I don't know anything about programming.
All I've done is find code that I want from the Internet and write or edit some HTML and PHPs.
I'm running small community homepage and I want to connect my server with the homepage.
Here is the list that I want to add to my own server mod.
1. Connect to community's DB and use member's password to login
2. Use community point in Minecraft for shop items.
3. Chest security (maybe I should look other's source, right?)
I found some of function that I want is available if I get Bukkit server plugin and edit some YMLs, but Bukkit stopped development. (right?)
There is nice mod like 'ForgeMod' but problem is some of my server's user is so idiotic that they even can't install simple language chatting mod.(it just requires drag & drop with kind of program like WinRAR)
So, I want to develop for myself.
First, I downloaded Eclipse for Java developers, Minecraft 1.8 server jar file from Minecraft homepage and program named 'Java Decompiler'.
I decompiled with 'JD-GUI' from 'Java Decompiler's homepage and imported to Eclipse.
Now problem starts from this point.
I thought everything is okay but, Eclipse keep notice me '100 errors found' and I don't know what to do.
I don't know what is problem even I checked tooltips. (Maybe because English is not my native language.)
I tried to find other decompiler like MCP, but MCP for 1.8 is not yet released.
Are there any nice tutorial for me in 'Mapping and Modding Tutorials' forum or anywhere else?
You're going about it all wrong. Do not use a decompiler such as JD-GUI or JAD to decompile Minecraft. There is a reason why MCP and Forge exist. Not only that, but you would also need to deobfuscate the game, which both MCP and Forge both do. Decompilers never give 1-to-1 100% accurate decompilations, only rough translations. You will always get errors here and there.
As sirre said, those language are ones you can sit down and learn at any time, Java takes more time and effort. Java is very conceptually heavy, in order to write efficient and working applications in Java, you need to understand what is going on in the background. I don't mean right down to what's going on in the VM, but I mean the base concepts, what a class is, what a package is, what a method is, inheritence, abstraction, etc. All those you need to know to be an efficient coder in Java. And more if you want to.
If you're wanting to make a 1.8 mod, you've hit a brick wall. There are no decompilers nor deobfuscaters for 1.8 out yet, so unless you plan on decompiling and deobfuscating and fixing all errors yourself, I'd either wait until they are released, or use an older version like 1.7.10.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
Thank you, guys.
I really appreciate.
By the way, should I use both MCP and Forge to decompile Minecraft jar?
I used MCP only, but a lot of errors are not solved.
One problem is solved...I think.
I added libraries from Minecraft client, and thousands errors in Eclipse is gone now.
Now I need to find out why there is 5583 warnings.
One problem is solved...I think.
I added libraries from Minecraft client, and thousands errors in Eclipse is gone now.
Now I need to find out why there is 5583 warnings.
Don't worry about warnings. They won't cause harm.
Thank you, guys.
I really appreciate.
By the way, should I use both MCP and Forge to decompile Minecraft jar?
I used MCP only, but a lot of errors are not solved.
No. Ever since 1.6, MCP and Forge are now two separate projects. MCP is basically for working with the Minecraft source code and only the Minecraft source code, you can use MCP to make a base-edit mod. ForgeGradle is for working with Forge and FML. ForgeGradle decompiles the game, but only gives you the source code as a read-only library you add to your projects build path. So with ForgeGradle, you code the mod, but never touch the Minecraft source code.
Rollback Post to RevisionRollBack
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
I want to develop my own server mod, but I don't know anything about programming.
All I've done is find code that I want from the Internet and write or edit some HTML and PHPs.
I'm running small community homepage and I want to connect my server with the homepage.
Here is the list that I want to add to my own server mod.
1. Connect to community's DB and use member's password to login
2. Use community point in Minecraft for shop items.
3. Chest security (maybe I should look other's source, right?)
I found some of function that I want is available if I get Bukkit server plugin and edit some YMLs, but Bukkit stopped development. (right?)
There is nice mod like 'ForgeMod' but problem is some of my server's user is so idiotic that they even can't install simple language chatting mod.(it just requires drag & drop with kind of program like WinRAR)
So, I want to develop for myself.
First, I downloaded Eclipse for Java developers, Minecraft 1.8 server jar file from Minecraft homepage and program named 'Java Decompiler'.
I decompiled with 'JD-GUI' from 'Java Decompiler's homepage and imported to Eclipse.
Now problem starts from this point.
I thought everything is okay but, Eclipse keep notice me '100 errors found' and I don't know what to do.
I don't know what is problem even I checked tooltips. (Maybe because English is not my native language.)
I tried to find other decompiler like MCP, but MCP for 1.8 is not yet released.
Are there any nice tutorial for me in 'Mapping and Modding Tutorials' forum or anywhere else?
You're going about it all wrong. Do not use a decompiler such as JD-GUI or JAD to decompile Minecraft. There is a reason why MCP and Forge exist. Not only that, but you would also need to deobfuscate the game, which both MCP and Forge both do. Decompilers never give 1-to-1 100% accurate decompilations, only rough translations. You will always get errors here and there.
As sirre said, those language are ones you can sit down and learn at any time, Java takes more time and effort. Java is very conceptually heavy, in order to write efficient and working applications in Java, you need to understand what is going on in the background. I don't mean right down to what's going on in the VM, but I mean the base concepts, what a class is, what a package is, what a method is, inheritence, abstraction, etc. All those you need to know to be an efficient coder in Java. And more if you want to.
If you're wanting to make a 1.8 mod, you've hit a brick wall. There are no decompilers nor deobfuscaters for 1.8 out yet, so unless you plan on decompiling and deobfuscating and fixing all errors yourself, I'd either wait until they are released, or use an older version like 1.7.10.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!
Thank you, guys.
I really appreciate.
By the way, should I use both MCP and Forge to decompile Minecraft jar?
I used MCP only, but a lot of errors are not solved.
I added libraries from Minecraft client, and thousands errors in Eclipse is gone now.
Now I need to find out why there is 5583 warnings.
Don't worry about warnings. They won't cause harm.
No. Ever since 1.6, MCP and Forge are now two separate projects. MCP is basically for working with the Minecraft source code and only the Minecraft source code, you can use MCP to make a base-edit mod. ForgeGradle is for working with Forge and FML. ForgeGradle decompiles the game, but only gives you the source code as a read-only library you add to your projects build path. So with ForgeGradle, you code the mod, but never touch the Minecraft source code.
Author of the Clarity, Serenity, Sapphire & Halcyon shader packs for Minecraft: Java Edition.
My Github page.
The entire Minecraft shader development community now has its own Discord server! Feel free to join and chat with all the developers!