You are viewing our Forum Archives. To view or take place in current topics click here.
#21. Posted:
Status: Offline
Joined: Aug 11, 201014Year Member
Posts: 1,250
Reputation Power: 48
Status: Offline
Joined: Aug 11, 201014Year Member
Posts: 1,250
Reputation Power: 48
Nice topic -Afro-! You have my vouch!
- 0useful
- 0not useful
#22. Posted:
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
-Afro- im jealous of you, you make a topic and it could have nothing in it and you would get more views/replies than anybody else in this forum but when i make a post nobody but the same 3 people post on it...
- 0useful
- 0not useful
#23. Posted:
Status: Offline
Joined: Dec 11, 201113Year Member
Posts: 29
Reputation Power: 1
Status: Offline
Joined: Dec 11, 201113Year Member
Posts: 29
Reputation Power: 1
I vouch for it nice post afro
- 0useful
- 0not useful
#24. Posted:
Status: Offline
Joined: Aug 11, 201113Year Member
Posts: 2,028
Reputation Power: 111
Status: Offline
Joined: Aug 11, 201113Year Member
Posts: 2,028
Reputation Power: 111
sackorice wrote -Afro- im jealous of you, you make a topic and it could have nothing in it and you would get more views/replies than anybody else in this forum but when i make a post nobody but the same 3 people post on it...
Not true, I actually highly respect you because of your HQ thread on mod loader.
Also I will be making a tutorial on button mods soon.
- 0useful
- 0not useful
#25. Posted:
Status: Offline
Joined: Feb 07, 201212Year Member
Posts: 152
Reputation Power: 6
Nice post -afro-
- 0useful
- 0not useful
#26. Posted:
Status: Offline
Joined: Aug 11, 201113Year Member
Posts: 2,028
Reputation Power: 111
Status: Offline
Joined: Aug 11, 201113Year Member
Posts: 2,028
Reputation Power: 111
-Aleeex wrote Nice post -afro-
Thank you very much
- 0useful
- 0not useful
#27. Posted:
Status: Offline
Joined: Sep 20, 201113Year Member
Posts: 1,340
Reputation Power: 76
Vouch Sexy thread afro This Needs a sticky ! :pharte:
- 0useful
- 0not useful
#28. Posted:
Status: Offline
Joined: Feb 12, 201212Year Member
Posts: 57
Reputation Power: 2
Status: Offline
Joined: Feb 12, 201212Year Member
Posts: 57
Reputation Power: 2
sick post -Afro- vouch
- 0useful
- 0not useful
#29. Posted:
Status: Offline
Joined: Feb 13, 201212Year Member
Posts: 65
Reputation Power: 2
Status: Offline
Joined: Feb 13, 201212Year Member
Posts: 65
Reputation Power: 2
-Afro- wrote
Welcome!
[ Register or Signin to view external links. ]
Welcome!
Welcome to the brand new place to get everything you need on how to do pretty much anything you would ever need to do in Minecraft to do with modding!
This thread is broken down into several main points.
-Tutorial's-
-Video's-
-How To's-
[ Register or Signin to view external links. ]
This is our tutorial section, here you can see our wide array of tutorials.
There is only one tutorial as the moment as I am currently writing out more.
Custom Variable Class:
Okay, first make a new class called Variable.java (This can be called anything this is just an example)
Once you have created this file you will want to set it up like this.
Import these into the file, you will most likely need them at some point.
package net.minecraft.src;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.net.*;
import java.io.*;
import java.util.*;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Random;
import net.minecraft.client.Minecraft;
import org.lwjgl.opengl.GL11;
import org.lwjgl.input.Keyboard;
import java.util.List;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
Now we have that setup lets make the actual class.
Put this, note where it says public class Variable you have to call this the name of the file.
public class Variable
{
}
From here you can put your boolean's in there.
I suggest making your code nice and tidy like so.
//PvP Booleans
public static boolean Aimbot = false; //Done
public static boolean Aura = false; //Done
public static boolean Speed = false; //Done
public static boolean Norender = false; //Done
public static boolean Noswing = false; //Done
public static boolean Nocheat = false; //Done
public static boolean Punch = false; //Done
public static boolean GuiRadar = false; //Done
public static boolean Tracer = false; //Done
//Xray
public static boolean Opacity = false; //Done
public static boolean Enchant = false; //Done
public static boolean Chest = false; //Done
public static boolean Mob = false; //Done
And that concludes the tutorial on your own class.
Simple chat commands:
Hello, in this tutorial I will be showing you how to create a custom .help or -help command.
First navigate your way to EntityClientPlayerMP.java from there on search for this code:
public void sendChatMessage(String s)
This is what we need to change...
First you will need to write out this, note that the - can be replaced with any prefix you would like.
if(s.startsWith("-help"))
Now you will want to make it look something like this, you can add more lines or take them away it makes no difference...
if(s.startsWith("-help"))
{
mc.thePlayer.addChatMessage("\2474(|-----\2476Help Commands\2474-----|)");
mc.thePlayer.addChatMessage("\2474(|\247f-up Go up");
mc.thePlayer.addChatMessage("\2474(|\247f-down Go down");
mc.thePlayer.addChatMessage("\2474(|-----\2476Help Commands\2474-----|)");
}
This basically means that it will display the chat messages client side and not server side so only you will be able to read them.
X-Ray:
In this tutorial I shall show you how to make a quick X-ray hack for your client.
First navigate your way to Block.java and get to this line:
public boolean renderAsNormalBlock()
Here you will need to put this code, note to have your variable set up.
public boolean renderAsNormalBlock()
{
return !Variable.Xray;
}
Once you have done this find this next line.
public float getBlockBrightness(IBlockAccess iblockaccess, int i, int j, int k)
In this you need to add this code:
public float getBlockBrightness(IBlockAccess iblockaccess, int i, int j, int k)
{
if(Variable.Xray)
{
return 1000F;
}else
return iblockaccess.getBrightness(i, j, k, lightValue[blockID]);
}
And do the same for the next...
public int getMixedBrightnessForBlock(IBlockAccess iblockaccess, int i, int j, int k)
{
if(Variable.Xray)
{
return 1000;
}else
return iblockaccess.getLightBrightnessForSkyBlocks(i, j, k, lightValue[blockID]);
}
Dont worry, not long to go and under that you need to put yet more...
In here:
public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l)
Put this, note you can add or take away block id's:
if(Variable.Xray)
{
return blockID == 54 || blockID == 14 || blockID == 15 || blockID == 16 || blockID == 21 || blockID == 22 || blockID == 56 || blockID == 57 || blockID == 42 || blockID == 41 || blockID == 73 || blockID == 74 || blockID == 52 || blockID == 61 || blockID == 48 || blockID == 49;
}
Almost done, now when you are writing out your GUI etc make sure to use this code:
mc.renderGlobal.loadRenderers();
When ever you toggle it so that it will reload the chunks for the hack to work.
FullBright:
Make your way to the file called EntityRenderer.java and find this line:
float f12 = mc.gameSettings.gammaSetting;
We are going to change this so that when our variable is turned on it forces the gamma setting's all the way to the max.
To do this you will need to use GuiIngame.java or create a custom class.
float f12 = Variables.FullBright? 10000F: mc.gameSettings.gammaSetting;
I shall add more tutorials later as I said earlier, if you would like a specific one just post.
[ Register or Signin to view external links. ]
This is the video section, here we post video's of all sorts of different mods and client's.
Client's:
Mod's:
If there is a youtube video you would like other's to see just post in the thread.
[ Register or Signin to view external links. ]
This is where you can find little things to help you out when creating mods!
Picking your color's:
When choosing what colors look best together for making a mod or client I tend
to use this website as you can easily select which color you would like.
[ Register or Signin to view external links. ]
Just be sure to use the color like so, for example red would be this:
0xFF0000
As apposed to this:
#FF0000
Thank you for reading this tutorial!
[ Register or Signin to view external links. ]
TimeLapse wrote 100% sticky needed, we need this sticky, everyone contact staff and tell them to sticky this ! this is what we hae been waiting for !
DeadLizard wrote I'll defiantly be checking back at this thread every so often, helped greatly. Very organized and neat, Thank you.
MrDroid wrote Obvious hax are obvious.
Nice job afro
[ Register or Signin to view external links. ]
Do you want your video or tutorial to be featured in this thread?
If you do fill out this application!
App:
1: Tut or Video?:
2: What is the video or tutorial about?:
3: Do you think the section will benefit from this?:
4: Is the tutorial or video detailed?
Thank you for reading this thread, if you like this or think it helped feel free to thank the topic or rep or even vouch.
-Afro-
Nice topic bro sticky much? Keep updating it and it might just become one
- 0useful
- 0not useful
#30. Posted:
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
BliiTzCraft wrote Nice topic bro sticky much? Keep updating it and it might just become one
don't quote his entire post...
-Afro- Check out my tutorial on how to make a dimension with the Dimension API mod, you should make a video tutorial for all the noobies
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.