Skip to content

Instantly share code, notes, and snippets.

@th3mccoder
th3mccoder / gist:144fba6e70ed77a47bc2
Created November 1, 2014 11:36
Minecraft 1.7.10 Hacked Client Coding - Nice Menu (V2)
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("HP: " + ( this.mc.thePlayer.getHealth( ) * 5 ) + "%", 2, 2, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("Armor: " + ( this.mc.thePlayer.getTotalArmorValue( ) * 5 ) + "%", 2, 12, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("Air: " + ( this.mc.thePlayer.getAir( ) / 3 ) + "%", 2, 22, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("Level: " + this.mc.thePlayer.experienceLevel, 2, 32, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("XP: " + ( this.mc.thePlayer.experience * 100 ), 2, 42, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("Next level: " + ( 100 - ( this.mc.thePlayer.experience * 100 ) ), 2, 52, 0xFFFFFF);
Minecraft.getMinecraft().fontRenderer.drawStringWithShadow("X: " + ((int) this.mc.thePlayer.posX ), 2, 62, 0xFFFFFF);
Minecraft.getMinecraft().fontRender
@th3mccoder
th3mccoder / gist:5fb7ec815f5027f415be
Last active December 4, 2017 01:09
Minecraft 1.7.10 Hacked Client Coding - Jesus Hack
Simple Jesus Tutorial.
Goto BlockLiquid.java
Search for: public AxisAlignedBB getCollisionBoundingBoxFromPool(World p_149668_1_, int p_149668_2_, int p_149668_3_, int p_149668_4_)
The return statement should be null
Replace it with an if statement and if it's not true, set it to null.
@th3mccoder
th3mccoder / gist:e9e2eb04d9343a31cb75
Last active March 20, 2023 22:50
Minecraft 1.7.10 Hacked Client Coding - Creative Nuker
From Source.
if(isEnabled()){
if(mc.thePlayer.capabilities.isCreativeMode){
int size = 5; for(int x = -size; x < size + 3; x++)
{
for(int z = -size; z < size + 3; z++)
{
for(int y = -size; y < size + 3; y++)
{
@th3mccoder
th3mccoder / gist:dcead1d709c6dbaf5438
Last active June 25, 2016 12:58
Minecraft 1.7.10 Hacked Client Coding - Killaura + Extras
Copied from source.
Killaura:
if(isEnabled()){ //or other toggle
for(Object o: mc.theWorld.loadedEntityList){
if(o instanceof EntityPlayer){
EntityPlayer ep = (EntityPlayer)o;
if(!(ep instanceof EntityPlayerSP) && !ep.isDead && ep.canEntityBeSeen(mc.thePlayer) && mc.thePlayer.getDistanceToEntity(ep) <+ 5){
mc.thePlayer.setSprinting(false);
@th3mccoder
th3mccoder / gist:0c5b327d36e3d506f5c9
Created November 1, 2014 01:05
Minecraft 1.7.10 Hacked Client Coding - Derp (Packets)
Copied from source.
Good, Reliable code.
if(isEnabled()) //or other toggle
{
Random rand = new Random();
float yaw = rand.nextFloat() * 360.0F;
float pitch = rand.nextFloat() * 90.0F;
boolean invertPitch = rand.nextBoolean();
boolean shouldSwing = rand.nextBoolean();
@th3mccoder
th3mccoder / gist:493ca82e3e9179ffe8ec
Last active August 29, 2015 14:08
Minecraft 1.7.10 Hacked Client Coding - NoFall Hack
Copied from source.
if (isEnabled()) //or other toggle
{
if (!mc.thePlayer.onGround)
{
if (mc.thePlayer.motionY <= -3)
{
mc.thePlayer.motionY = -3D;
}
@th3mccoder
th3mccoder / gist:5a21ba3f34b58db45379
Created November 1, 2014 01:00
Minecraft 1.7.10 Hacked Client Coding - Fly Hack (Non crappy)
Copied from my old source.
//put this before everything
float speed = 1.25F;
//if the hack is enabled
mc.thePlayer.capabilities.isFlying = false;
mc.thePlayer.isInWeb = false; //have to change web to static, easy to do.