What's new

xentr_guest_message_title Asian Coderz

xentr_guest_message_description

[Minecraft Cilent Mod]

Status
Not open for further replies.

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
Whoever Plays Minecraft . And do want a Good Java Source code. Here it is . 

Code:
public class ReliantTorchAnnihilator implements Runnable{        private boolean running = true;               private boolean smash = false;        private int lpX;        private int lpY;        private int lpZ;     public void run()    {                lpX = (int)(Math.floor(ReliantWrapper.GetPlayerX()));                lpY = (int)(Math.floor(ReliantWrapper.GetPlayerY()));                lpZ = (int)(Math.floor(ReliantWrapper.GetPlayerZ()));                       while(running)                {                        if(smash == false)                        {                                this.Smash();                                smash = true;                        } else {                                int posX = (int)(Math.floor(ReliantWrapper.GetPlayerX()));                                int posY = (int)(Math.floor(ReliantWrapper.GetPlayerY()));                                int posZ = (int)(Math.floor(ReliantWrapper.GetPlayerZ()));                                                       if (ReliantMath.Distance(posX, posY, posZ, lpX, lpY, lpZ) >= 4)                                {                                        this.Smash();                                        smash = true;                                }                        }                                               try                        {                                Thread.sleep(150);                        }                        catch (java.lang.InterruptedException ex)                        {                                throw new RuntimeException(ex);                        }                }        }               public void Stop()        {                running = false;        }               public void Smash()        {                int posX = (int)(Math.floor(ReliantWrapper.GetPlayerX()));                int posY = (int)(Math.floor(ReliantWrapper.GetPlayerY()));                int posZ = (int)(Math.floor(ReliantWrapper.GetPlayerZ()));                int maxX = posX + GetBlockReachDistance();                int maxY = posY + GetBlockReachDistance();                int maxZ = posZ + GetBlockReachDistance();                int minX = posX - GetBlockReachDistance();                int minY = posY - GetBlockReachDistance();                int minZ = posZ - GetBlockReachDistance();                               for(int i = minX; i < maxX; i++)                {                        for(int j = minY; j < maxY; j++)                        {                                for(int k = minZ; k < maxZ; k++)                                {                                        if(ReliantMath.Distance(posX, posY, posZ, i, j, k) <= GetBlockReachDistance())                                        {                                                // mcref.world.getBlockId                                                int blockid = ReliantWrapper.mcref.e.a(i, j, k);                                                qk block = blockid <= 0 ? null : qk.m[blockid];                                                                                               if(block != null && block == qk.aq)                                                {                                                        ReliantWrapper.GetNetClientHandler().a(((hz) (new hp(0, i, j, k, 0))));                                                                                                               try                                                        {                                                                Thread.sleep(35);                                                        }                                                        catch (java.lang.InterruptedException ex)                                                        {                                                                throw new RuntimeException(ex);                                                        }                                                }                                        }                                }                        }                }        }               public static int GetBlockReachDistance()        {                return 6;        }}
 
Last edited by a moderator:

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
This is a little snippet of a Famous cilent called Reliant . Its worth 900 USD LOL

 

Caezer99

New member
Joined
Mar 21, 2014
Messages
4
Reaction score
0
Points
0
Is this from the real reliant ? I doubt Sirenfall would use such wrappers...

 

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
[QUOTE='Caezer99]Is this from the real reliant ? I doubt Sirenfall would use such wrappers...
[/QUOTE]Thats what i got . :) Its already pretty long .

 

bluefinn

New member
Joined
Mar 25, 2014
Messages
1
Reaction score
0
Points
0
can someone teach me what is that and how to use that pls??   :yahoo:

 

Caezer99

New member
Joined
Mar 21, 2014
Messages
4
Reaction score
0
Points
0
You will need Minecraft Coders Pack for Minecraft (MCP for short).

It is made by ocean-labs.

It is used to decompile Minecraft and see it's source codes.

You can use it to make your own custom hacked client.

Since Java is a OOP based language, I would recommend a module system.

Instead of putting everything in GuiIngame.

 

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
[QUOTE='xdultima]how ?
[/QUOTE]Google is everyone's best friend bro. Does not hurt to search it up.

 

Caezer99

New member
Joined
Mar 21, 2014
Messages
4
Reaction score
0
Points
0
Thanks for posting this man. This was an old school h4ck back in the alpha and beta days...

Making people rage when their torches are all missing xd
 

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
[QUOTE='Caezer99]Thanks for posting this man. This was an old school cheat back in the alpha and beta days...
Making people rage when their torches are all missing xd
[/QUOTE]Ermm  , Thank you i guess? :)

 

Random

New member
Joined
Mar 16, 2014
Messages
30
Reaction score
0
Points
0
Age
27
[QUOTE='MuzAidik]how to use that
[/QUOTE]Caezer99 has already explained :)  
Like what he said . You will need to download MCP .

For more infomation about MCP (Minecraft Coder Pack) , Google it or Read what caezer99 posted .

 
Status
Not open for further replies.
Top Bottom