About
Not sure if ive seen this but i want to give back to this community for helping with my first shitty client. , if this was posted, here's my way that i find easier to understand,enjoy.
First, open PlayerControllerMP.java
Then find the following string.
[spoiler]
Code:
Block block = Block.blocksList[i1];
[/spoiler]
Then we add a toggle
Add your toggle, mine goes though hacks.java.
[spoiler][/spoiler]
Adding the actual function
Now we add the function, so when our hack is "active" it will change the block strength
[spoiler]
Code:
curBlockDamageMP += block.blockStrength(mc.thePlayer) * 2.0;
else
curBlockDamageMP += block.blockStrength(mc.thePlayer);
[/spoiler]
The whole function
Heres the whole function so you know you didnt screw it up
[spoiler]
Code:
if(hacks.mine)
curBlockDamageMP += block.blockStrength(mc.thePlayer) * 2.0;
else
curBlockDamageMP += block.blockStrength(mc.thePlayer);
[/spoiler]
Credits
I think a Youtube tutorial by the name of "MrMossy" help me out on this one, so i decided to follow in an easier and quicker way.
Enjoy.