Minecraft / Blogs

Minecraft Modding for Advanced Modders [1.6.2/1.6.4 - 1.7.10 =WIP=]

  • 16
  • 11
  • comment45
  • playlist_add
  • share
  • more_horiz
avatar JavaBuckets
Level 78 : Legendary Programmer
1,020
vVIigpng



Greetings JavaLearners And welcome back! So as you are here you must've completed the beginners series right? Or maybe you are just a modder who feels experienced enough to take it to the next level? Well if so, then you've come to the right place!

In these tutorials I will be going into depth about how Minecraft works, how Java works and how you can create whatever you want without having to look at stupid reference pictures or look at a tutorial while coding your own furnace.
Basically when we are done with these tutorials, You will be an experienced Java Coder (hopefully xD). 

The 1.7.10 Tutorials will begin being uploaded when the Beginners series is done! 
So have patience fellow Coders!

1.6.2 / 1.6.4 Tutorials (This series was never completed and will not be updated)

Video Tutorials

Minecraft Modding for Advanced Modders: Tutorial 1 Block Special's nr.1

Link: http://www.youtube.com/watch?v=v74n_s4hGiA

Description: public void onEntityWalking() Allows code to be executed when an entity walks on the block

Minecraft Modding for Advanced Modders: Tutorial 2 Block Special's nr.2

Link: http://www.youtube.com/watch?v=CkjgyVaJI88

Description: public void onBlockActivated() Allows code to be executed when the block is being right clicked

Minecraft Modding for Advanced Modders: Tutorial 3 Item Special's nr.1

Link: http://www.youtube.com/watch?v=hEEUUr4c7Rk

Description: public void onItemUse() Allows code to be executed when you right click the ground with the Item e.g. the FlintAndSteel.java

Minecraft Modding for Advanced Modders: Tutorial 4 Item Special's nr.2

Link: http://www.youtube.com/watch?v=LLucIiwJQDg

Description: public void addInformation() Allows item description for, well... items :S (shows up when hovered over) & public boolean onDroppedByPlayer() Allows code to be executed when the Item dropped



Text Tutorials

Minecraft Modding for Advanced Modders: Tutorial 1 Block Special's nr.1



Description: public void onEntityWalking() Allows code to be executed when an entity walks on the block

Coding it:
BlockBLOCKNAME

package package.path.goeshere;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.world.World;

public class BlockBLOCKNAME extends Block
{
public BlockBLOCKNAME(int par1, String par2)
{
super(par1, Material.cloth);
this.setCreativeTab(TabPath.GoesHere);
}

public void onEntityWalking(World par1World, int par2, int par3, int par4, Entity par5Entity)
{
//Code goes here
}

public void registerIcons(IconRegister par1)
{
blockIcon = par1.registerIcon("modid:texturename");
}
}


BlockBLOCKNAME = the name of you Block***.java

package package.path.goeshere; = e.g. "package casperandco.caspersmods.trampolinemod;"

TabPath.GoesHere = e.g. "MainClass.CaspersTab"

//Code goes here = Whatever code you want to be executed when an entity walks on the Block.

blockIcon = par1.registerIcon("modid:texturename"); = Your texture path e.g. ("casper:trampolineblock");

Here are some of the things that are often used within methods like onEntityWalking:
  • ModLoader.getMinecraftInstance().thePlayer.FUNCTION;
  • ModLoader.getMinecraftInstance(),theWorld.FUNCTION; or just: par1World.FUNCTION;
  • par5Entity.FUNCTION; (e.g. "par5Entity.motionY += 2F;")
  • And many many more xD

Minecraft Modding for Advanced Modders: Tutorial 1 Block Special's nr.2


Everything should be easy to understand here, if you don't understand all this then... no but really, you're not ready for these tutorials if you don't understand basic items and blocks! so make sure everything from the beginner tutorials is in mastered!

Try it out and let me know if I missed something!



LbBinpng
Tags

5 Update Logs

Update #5 : 08/10/2014 5:33:13 amAug 10th, 2014

Fixed up the description and made it ready for all the 1.7.10 tutorials that will begin to be added weekly, with maybe 1-3 videos a week. (AFTER THE BEGINNERS SERIES IS DONE FOR 1.7.10!)

- Minecraft Modding For Advanced Modders , brought to you by:

- Thom, Head Developer and Leader of JavaBuckets
- Seb, Video Editer, Youtube Maintainer and Member of JavaBuckets
LOAD MORE LOGS

Comments : 45

star Login or register to post a comment.

Show Comments

1 - 45 of 45

  • MOTA
  • Level 1
  • New Miner
  • August 10, 2014, 5:39 am
Thank you for the insite
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • August 10, 2014, 5:42 am
You're very welcome xD
  • gabe4356
  • Level 50
  • Grandmaster Nerd
  • November 29, 2013, 7:12 pm
:D Updated! awesome!
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • December 27, 2013, 5:57 am
Thanks alot mate, we really appreciate the feedback we get from you guys here :D

-Seb (Community and Video Editor)
when will you show us how to add in achievments, or how to add items that shoot eg; guns
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • March 2, 2014, 12:34 pm
soon my friend, soon :3 ill get to recording loads of videos tomorrow, k? then seb needs to edit them which he does like, 1 per day ? 1 per week? idk yet, depends on how motivated he is. Hopefully we can get an episode up atleast once per second day!

- Thom, Head Developer and Leader of JavaBuckets
nice
  • gabe4356
  • Level 50
  • Grandmaster Nerd
  • December 29, 2013, 9:45 am
Your welcome. lol
  • X_pilot
  • Level 50
  • Grandmaster Necromancer
  • November 23, 2013, 9:39 pm
I need some help with Custom Biomes in Custom Worlds (dimensions). I followed your "Simple Biome" tutorial and it lead the game to crash...
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 24, 2013, 4:41 am
hmm, that's weird :S call me on Skype or send me the crash log on pastebin along with your code in the Biome and how you declared and initialized it, in your main class.

- Thom, Head Developer and Leader of JavaBuckets
  • Nosrack
  • Level 1
  • New Explorer
  • November 19, 2013, 2:31 pm
[size=12px][color=rgb(37,37,37)]You probably dont have enough time but if you could please try to make a percy jackson mod that would be amazing! I love all of your mods and tutorials and was thinking about how a lightsaber could use the same basic program of riptide with different textures. If you think that would be a good idea because there is a lot of Percy Jackson fans then please reply. If so I have a lot of ideas.[/color][/size]
  • Cyentw
  • Level 55
  • Grandmaster Programmer
  • November 10, 2013, 12:59 pm
Ok, I tried your public void addInformation() thingy. I get no errors, but the info doesn't pop up. Halp! (I can PM you the class contents if you would like)
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 11, 2013, 9:17 am
Uhm that's weird, did you make sure it was an Item? Also let me just give you an example:

public void addInformation(some parameters in here I cant remember)

{

par3List.add("This should work for you " + par#EntityPlayer.username);

}

# = I cant remember what nr to put there :S look in your parameters above. If its still not working then add me on Skype or pm to me (Skype: Kingofamager)

- Thom, Head Developer and Leader of JavaBuckets
  • Cyentw
  • Level 55
  • Grandmaster Programmer
  • November 11, 2013, 2:53 pm
ah, it turned out that I just imported the wrong .list. Thanks anyhow :)
  • Cyentw
  • Level 55
  • Grandmaster Programmer
  • November 8, 2013, 1:04 pm
Wondering if you could include a MC 1.6 mod loader setup (I see that these tuts are mod loader)? I never actually figured it out, but I want to go back to mod loader :) thanks.
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 8, 2013, 1:13 pm
No these are for Minecraft Forge since ModLoader is dead :S Dude, just telling you "Don't go back to Risugami's ModLoader! It's dead" Use Minecraft Forge or if you don't want to use that, use BlazeLoader, a fairly good API but I got no tuts on that :S So forge all the way dude, else you are getting nowhere!

- Thom, Head Developer and Leader of JavaBuckets
  • Cyentw
  • Level 55
  • Grandmaster Programmer
  • November 8, 2013, 1:17 pm
Lol, not everyday java buckets tells you that you're going nowhere. And ok fine. And oh, I just saw a modloader.sonething method and I figured that it as a molasses tut :D
  • Cyentw
  • Level 55
  • Grandmaster Programmer
  • November 9, 2013, 6:00 am
Did I seriously not notice that typo until now. Not molasses, modloader xD
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 8, 2013, 1:21 pm
ahh well, As Minecraft Forge DOES include Risugami's ModLoader that means that the methods are still useable, so yea xD that's why you should use Forge xD
Does this work for 1.5.1? I've heard there was an update with the textures...
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 8, 2013, 12:19 pm
but it's back up with1.6.2/1.6.4 tutorials!
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • April 24, 2013, 11:32 am
no, this does not work with 1.5 (yet) and since i JUST came back from a vacation i will first BEGIN to update them tommorow one by one :D so stay tuned, by either looking at our profile everyday or subscribe :D
  • Kosmokiller
  • Level 50
  • Grandmaster Batman
  • March 29, 2013, 4:18 pm
hey guys making a walking block is easy, just copy the soul sand code, and put it in your block, then change the 0.5s into a number over 1.
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • April 24, 2013, 11:33 am
good for you... (not trying to be evil but yes i know...)
  • Kosmokiller
  • Level 50
  • Grandmaster Batman
  • April 27, 2013, 9:36 pm
I know you do .. :p
  • fragmen52
  • Level 43
  • Master Modder
  • February 26, 2013, 12:32 pm
Lol I love how if u look at the links here thers only 1 but there's 3 videos for this on ur channel
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 26, 2013, 12:50 pm
lol, i havent updated the blog yet...
  • XZOzerTY
  • Level 21
  • Expert Caveman
  • February 24, 2013, 6:26 pm
Hey, im coding with forge and i cant get my sound files to work, see im making a new bow (i know that this isnt related the to thetopic by much but..) but i need it to use the sound i want. so i put the lighting bow sound into jarsresourcesnewsoundrandom then i go to the lightningbow.class and change the shoot sound to random.lightingbow nothing but that.
and then i test it and it doesnt work
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 24, 2013, 10:50 pm
ThTs because you have to do some advanced coding first.
  • XZOzerTY
  • Level 21
  • Expert Caveman
  • February 25, 2013, 1:53 pm
Kay, wich tut of yours? im pretty good at coding now unlike the last time we talked. even tho i havnt posted a mod ive been working on two. i would say im advanced+
  • taa1taa
  • Level 64
  • High Grandmaster Blob
  • February 26, 2013, 5:14 am
since you are lvl 5 i wouldnt say that you can be advanced+
have you made any dimension mods?
have you added new biomes?
have you coded new models for your custom mobs?
have you added generating structures?
have you made any custom ores generating in nether / the end / custom dimension?

thats what i would ask. thats about a half what an advanced modder can do (not advanced+) i could barely say im advanced, tho i have made the Jupiter Dimension mod what includes everything i asked up there.
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 25, 2013, 2:17 pm
well to be advanced you would have to know JavaCode, if i fx asked you to make a GUI with all the recipes in minecraft in it, would you be able to do it?
  • XZOzerTY
  • Level 21
  • Expert Caveman
  • February 25, 2013, 3:00 pm
Ok no. but i know quite a bit of other stuff and i have been following of your tuts, but since u haven't posted a new one i don't really know how. like i can create armor Items/swords/bows/food/ um mobs/biomes AND grenades/cars. trust me im not lieing about the grenades and cars. So i guess im not advanced but i dont think i need to use tuts for the basic stuff anymore, exept for particles, and pretty much everything you tutorialing about.
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • November 11, 2013, 9:19 am
sorry for the 8 moths reply :P but there is a tutorial up on how to doo everything for beginners!

- Thom, Head Developer and Leader of JavaBuckets
  • Extran
  • Level 1
  • New Miner
  • February 24, 2013, 1:25 am
I want to make more advanced mods, but I just cant learn the Advanced Coding! I also forget many of the Basics, I only use the old Coding I made earlier, so I need a refresh of Basics and Advanced!

PLZ help me!
Skype: Kevinzuman22
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 24, 2013, 1:34 am
request sended
  • Kosmokiller
  • Level 50
  • Grandmaster Batman
  • March 29, 2013, 4:19 pm
sent* :3
  • dof12345
  • Level 65
  • High Grandmaster Modder
  • February 17, 2013, 11:13 am
Great, really looking forward to the GUI tutorial! Also the particles one!
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 17, 2013, 11:30 am
theyre soon up ;D
lol im new... not to minecraft but coding, skype: op.http
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 14, 2013, 1:57 pm
added you :D so i can give you some teachings :D if you want to learn, the way of modding :O :D :P :S (random smileys)
Thanks!
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 14, 2013, 1:33 pm
no problem, dont forget to have a look at the Minecraft modding for Beginners forst if you are new

 
  • taa1taa
  • Level 64
  • High Grandmaster Blob
  • February 18, 2013, 12:01 am
first*

xD
  • JavaBuckets
  • Level 78
  • Legendary Programmer
  • February 18, 2013, 12:56 am
Lol

1 - 45 of 45

Show Comments

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome